patrickvonplaten
commited on
Commit
·
2fc3b97
1
Parent(s):
8a84f07
Update README.md
Browse files
README.md
CHANGED
@@ -13,7 +13,7 @@ widget:
|
|
13 |
- example_title: Librispeech sample 2
|
14 |
src: https://cdn-media.huggingface.co/speech_samples/sample2.flac
|
15 |
model-index:
|
16 |
-
- name: patrickvonplaten/
|
17 |
results:
|
18 |
- task:
|
19 |
name: Automatic Speech Recognition
|
@@ -25,17 +25,17 @@ model-index:
|
|
25 |
metrics:
|
26 |
- name: Test WER
|
27 |
type: wer
|
28 |
-
value: 1.
|
29 |
---
|
30 |
|
31 |
# Wav2Vec2-Base-960h + 4-gram
|
32 |
|
33 |
-
This model is identical to [Facebook's
|
34 |
augmented with an English 4-gram. The `4-gram.arpa.gz` of [Librispeech's official ngrams](https://www.openslr.org/11) is used.
|
35 |
|
36 |
## Evaluation
|
37 |
|
38 |
-
This code snippet shows how to evaluate **patrickvonplaten/
|
39 |
|
40 |
```python
|
41 |
from datasets import load_dataset
|
@@ -43,7 +43,7 @@ from transformers import AutoModelForCTC, AutoProcessor
|
|
43 |
import torch
|
44 |
from jiwer import wer
|
45 |
|
46 |
-
model_id = "patrickvonplaten/
|
47 |
|
48 |
librispeech_eval = load_dataset("librispeech_asr", "other", split="test")
|
49 |
|
@@ -71,4 +71,4 @@ print(wer(result["text"], result["transcription"]))
|
|
71 |
|
72 |
| "clean" | "other" |
|
73 |
|---|---|
|
74 |
-
| 1.
|
|
|
13 |
- example_title: Librispeech sample 2
|
14 |
src: https://cdn-media.huggingface.co/speech_samples/sample2.flac
|
15 |
model-index:
|
16 |
+
- name: patrickvonplaten/hubert-xlarge-ls960-ft-4-gram
|
17 |
results:
|
18 |
- task:
|
19 |
name: Automatic Speech Recognition
|
|
|
25 |
metrics:
|
26 |
- name: Test WER
|
27 |
type: wer
|
28 |
+
value: 1.71
|
29 |
---
|
30 |
|
31 |
# Wav2Vec2-Base-960h + 4-gram
|
32 |
|
33 |
+
This model is identical to [Facebook's hubert-xlarge-ls960-ft](https://huggingface.co/facebook/hubert-xlarge-ls960-ft), but is
|
34 |
augmented with an English 4-gram. The `4-gram.arpa.gz` of [Librispeech's official ngrams](https://www.openslr.org/11) is used.
|
35 |
|
36 |
## Evaluation
|
37 |
|
38 |
+
This code snippet shows how to evaluate **patrickvonplaten/hubert-xlarge-ls960-ft-4-gram** on LibriSpeech's "clean" and "other" test data.
|
39 |
|
40 |
```python
|
41 |
from datasets import load_dataset
|
|
|
43 |
import torch
|
44 |
from jiwer import wer
|
45 |
|
46 |
+
model_id = "patrickvonplaten/hubert-xlarge-ls960-ft-4-gram"
|
47 |
|
48 |
librispeech_eval = load_dataset("librispeech_asr", "other", split="test")
|
49 |
|
|
|
71 |
|
72 |
| "clean" | "other" |
|
73 |
|---|---|
|
74 |
+
| 1.71 | 3.06 |
|