Update README.md
Browse files
README.md
CHANGED
@@ -45,7 +45,7 @@ import torchaudio
|
|
45 |
from datasets import load_dataset
|
46 |
from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor
|
47 |
test_dataset = load_dataset("common_voice", "sv-SE", split="test[:2%]").
|
48 |
-
processor = Wav2Vec2Processor.from_pretrained("KBLab/wav2vec2-large-
|
49 |
model = Wav2Vec2ForCTC.from_pretrained("KBLab/wav2vec2-large-voxpopuli-sv-swedish")
|
50 |
resampler = torchaudio.transforms.Resample(48_000, 16_000)
|
51 |
# Preprocessing the datasets.
|
|
|
45 |
from datasets import load_dataset
|
46 |
from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor
|
47 |
test_dataset = load_dataset("common_voice", "sv-SE", split="test[:2%]").
|
48 |
+
processor = Wav2Vec2Processor.from_pretrained("KBLab/wav2vec2-large-voxrex-swedish")
|
49 |
model = Wav2Vec2ForCTC.from_pretrained("KBLab/wav2vec2-large-voxpopuli-sv-swedish")
|
50 |
resampler = torchaudio.transforms.Resample(48_000, 16_000)
|
51 |
# Preprocessing the datasets.
|