patrickvonplaten commited on
Commit
cf31dbf
1 Parent(s): 5af67a2

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -5
README.md CHANGED
@@ -32,11 +32,11 @@ Wav2Vec2 Conformer with relative position embeddings, pretrained and fine-tuned
32
 
33
  [Paper (TODO)](https://arxiv.org/abs/2006.11477)
34
 
35
- Authors: Alexei Baevski, Henry Zhou, Abdelrahman Mohamed, Michael Auli
36
 
37
  **Abstract**
38
 
39
- We show for the first time that learning powerful representations from speech audio alone followed by fine-tuning on transcribed speech can outperform the best semi-supervised methods while being conceptually simpler. wav2vec 2.0 masks the speech input in the latent space and solves a contrastive task defined over a quantization of the latent representations which are jointly learned. Experiments using all labeled data of Librispeech achieve 1.8/3.3 WER on the clean/other test sets. When lowering the amount of labeled data to one hour, wav2vec 2.0 outperforms the previous state of the art on the 100 hour subset while using 100 times less labeled data. Using just ten minutes of labeled data and pre-training on 53k hours of unlabeled data still achieves 4.8/8.2 WER. This demonstrates the feasibility of speech recognition with limited amounts of labeled data.
40
 
41
  The original model can be found under https://github.com/pytorch/fairseq/tree/master/examples/wav2vec#wav2vec-20.
42
 
@@ -51,8 +51,8 @@ To transcribe audio files the model can be used as a standalone acoustic model a
51
  import torch
52
 
53
  # load model and processor
54
- processor = Wav2Vec2Processor.from_pretrained("facebook/wav2vec2-large-960h-lv60-self")
55
- model = Wav2Vec2ConformerForCTC.from_pretrained("facebook/wav2vec2-large-960h-lv60-self")
56
 
57
  # load dummy dataset and read soundfiles
58
  ds = load_dataset("patrickvonplaten/librispeech_asr_dummy", "clean", split="validation")
@@ -70,7 +70,7 @@ To transcribe audio files the model can be used as a standalone acoustic model a
70
 
71
  ## Evaluation
72
 
73
- This code snippet shows how to evaluate **facebook/wav2vec2-large-960h-lv60-self** on LibriSpeech's "clean" and "other" test data.
74
 
75
  ```python
76
  from datasets import load_dataset
 
32
 
33
  [Paper (TODO)](https://arxiv.org/abs/2006.11477)
34
 
35
+ Authors: ...
36
 
37
  **Abstract**
38
 
39
+ ...
40
 
41
  The original model can be found under https://github.com/pytorch/fairseq/tree/master/examples/wav2vec#wav2vec-20.
42
 
 
51
  import torch
52
 
53
  # load model and processor
54
+ processor = Wav2Vec2Processor.from_pretrained("facebook/wav2vec2-conformer-rel-pos-large-960h-ft")
55
+ model = Wav2Vec2ConformerForCTC.from_pretrained("facebook/wav2vec2-conformer-rel-pos-large-960h-ft")
56
 
57
  # load dummy dataset and read soundfiles
58
  ds = load_dataset("patrickvonplaten/librispeech_asr_dummy", "clean", split="validation")
 
70
 
71
  ## Evaluation
72
 
73
+ This code snippet shows how to evaluate **facebook/wav2vec2-conformer-rel-pos-large-960h-ft** on LibriSpeech's "clean" and "other" test data.
74
 
75
  ```python
76
  from datasets import load_dataset