Update eval.py
Browse files
eval.py
CHANGED
@@ -11,7 +11,7 @@ from slugify import slugify
|
|
11 |
from transformers import AutoFeatureExtractor, AutoModelForCTC, pipeline, Wav2Vec2Processor, Wav2Vec2ProcessorWithLM, Wav2Vec2FeatureExtractor
|
12 |
# from pyctcdecode import BeamSearchDecoderCTC
|
13 |
|
14 |
-
from
|
15 |
|
16 |
|
17 |
def log_results(result: Dataset, args: Dict[str, str]):
|
|
|
11 |
from transformers import AutoFeatureExtractor, AutoModelForCTC, pipeline, Wav2Vec2Processor, Wav2Vec2ProcessorWithLM, Wav2Vec2FeatureExtractor
|
12 |
# from pyctcdecode import BeamSearchDecoderCTC
|
13 |
|
14 |
+
from cardinal_numbers import convert_nums
|
15 |
|
16 |
|
17 |
def log_results(result: Dataset, args: Dict[str, str]):
|