marma commited on
Commit
6a2760b
1 Parent(s): 7446449

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
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-voxpopuli-sv-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.
 
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.