Update README.md
Browse files
README.md
CHANGED
@@ -73,27 +73,6 @@ The model used in this project is the **Whisper-V3-Turbo**. Whisper is a multili
|
|
73 |
|
74 |
To use the fine-tuned model, follow the steps below:
|
75 |
|
76 |
-
1. **Clone the repository**:
|
77 |
-
```bash
|
78 |
-
git clone https://github.com/your-repository-name
|
79 |
-
cd your-repository-name
|
80 |
-
```
|
81 |
-
|
82 |
-
2. **Install dependencies**:
|
83 |
-
```bash
|
84 |
-
pip install -r requirements.txt
|
85 |
-
```
|
86 |
-
|
87 |
-
3. **Load the model**:
|
88 |
-
You can load the fine-tuned model using the following code:
|
89 |
-
```python
|
90 |
-
from whisper import load_model
|
91 |
-
|
92 |
-
model = load_model("whisper-v3-turbo-vn")
|
93 |
-
```
|
94 |
-
|
95 |
-
4. **Transcribe audio**:
|
96 |
-
To transcribe an audio file, use the following command:
|
97 |
```python
|
98 |
import torch
|
99 |
from transformers import AutoModelForSpeechSeq2Seq, AutoProcessor, pipeline
|
|
|
73 |
|
74 |
To use the fine-tuned model, follow the steps below:
|
75 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
```python
|
77 |
import torch
|
78 |
from transformers import AutoModelForSpeechSeq2Seq, AutoProcessor, pipeline
|