TKU410410103
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -80,7 +80,7 @@ The training hyperparameters remained consistent throughout the fine-tuning proc
|
|
80 |
### How to evaluate the model
|
81 |
|
82 |
```python
|
83 |
-
from transformers import
|
84 |
from datasets import load_dataset
|
85 |
import torchaudio
|
86 |
import librosa
|
@@ -90,7 +90,7 @@ import MeCab
|
|
90 |
import pykakasi
|
91 |
from evaluate import load
|
92 |
|
93 |
-
model =
|
94 |
processor = Wav2Vec2Processor.from_pretrained("TKU410410103/wav2vec2-base-japanese-asr")
|
95 |
|
96 |
# load dataset
|
|
|
80 |
### How to evaluate the model
|
81 |
|
82 |
```python
|
83 |
+
from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor
|
84 |
from datasets import load_dataset
|
85 |
import torchaudio
|
86 |
import librosa
|
|
|
90 |
import pykakasi
|
91 |
from evaluate import load
|
92 |
|
93 |
+
model = Wav2Vec2ForCTC.from_pretrained('TKU410410103/wav2vec2-base-japanese-asr')
|
94 |
processor = Wav2Vec2Processor.from_pretrained("TKU410410103/wav2vec2-base-japanese-asr")
|
95 |
|
96 |
# load dataset
|