Spaces:
Running
Running
Steven Zheng
commited on
Commit
·
34fb163
1
Parent(s):
6ee85be
Explainations of demo.md
Browse files
demo.md
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
# Evaluate ASR models
|
2 |
|
|
|
|
|
3 |
## 0. Import the necessary libraries
|
4 |
|
5 |
```python
|
@@ -14,20 +16,6 @@ from collections import defaultdict
|
|
14 |
import json
|
15 |
```
|
16 |
|
17 |
-
Requirements:
|
18 |
-
|
19 |
-
```txt
|
20 |
-
transformers==4.44.0
|
21 |
-
torch
|
22 |
-
jiwer
|
23 |
-
soundfile
|
24 |
-
numpy
|
25 |
-
datasets
|
26 |
-
gradio
|
27 |
-
librosa
|
28 |
-
evaluate
|
29 |
-
```
|
30 |
-
|
31 |
|
32 |
## 1. Pick a speech dataset (English)from the Hugging Face hub and create a small subset of this dataset (100 rows) by streaming the data
|
33 |
|
|
|
1 |
# Evaluate ASR models
|
2 |
|
3 |
+
This is a breakdown of the steps to evaluate ASR models on a small subset of the Librispeech dataset based on the script in the `evaluate_asr.py` file.
|
4 |
+
|
5 |
## 0. Import the necessary libraries
|
6 |
|
7 |
```python
|
|
|
16 |
import json
|
17 |
```
|
18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
|
20 |
## 1. Pick a speech dataset (English)from the Hugging Face hub and create a small subset of this dataset (100 rows) by streaming the data
|
21 |
|