patrickvonplaten
commited on
Commit
•
e80389d
1
Parent(s):
a362d43
Update README.md
Browse files
README.md
CHANGED
@@ -76,7 +76,7 @@ from jiwer import wer
|
|
76 |
librispeech_eval = load_dataset("librispeech_asr", "clean", split="test")
|
77 |
|
78 |
model = Wav2Vec2ForCTC.from_pretrained("facebook/wav2vec2-large-960h").to("cuda")
|
79 |
-
tokenizer = Wav2Vec2Tokenizer.from_pretrained("facebook/wav2vec2-
|
80 |
|
81 |
def map_to_array(batch):
|
82 |
speech, _ = sf.read(batch["file"])
|
|
|
76 |
librispeech_eval = load_dataset("librispeech_asr", "clean", split="test")
|
77 |
|
78 |
model = Wav2Vec2ForCTC.from_pretrained("facebook/wav2vec2-large-960h").to("cuda")
|
79 |
+
tokenizer = Wav2Vec2Tokenizer.from_pretrained("facebook/wav2vec2-large-960h")
|
80 |
|
81 |
def map_to_array(batch):
|
82 |
speech, _ = sf.read(batch["file"])
|