Baybars commited on
Commit
52ce928
1 Parent(s): 56c3efb

evaluation results

Browse files
README.md CHANGED
@@ -73,6 +73,19 @@ The following hyperparameters were used during training:
73
  | 0.019 | 100.0 | 5500 | 0.4164 | 0.3098 | 0.0764 |
74
 
75
 
 
 
 
 
 
 
 
 
 
 
 
 
 
76
  ### Framework versions
77
 
78
  - Transformers 4.17.0.dev0
73
  | 0.019 | 100.0 | 5500 | 0.4164 | 0.3098 | 0.0764 |
74
 
75
 
76
+ ## Evaluation Commands
77
+ Please install [unicode_tr](https://pypi.org/project/unicode_tr/) package before running evaluation. It is used for Turkish text processing.
78
+ 1. To evaluate on `mozilla-foundation/common_voice_7_0` with split `test`
79
+ ```bash
80
+ python eval.py --model_id Baybars/wav2vec2-xls-r-300m-cv8-turkish --dataset mozilla-foundation/common_voice_8_0 --config tr --split test
81
+ ```
82
+
83
+ 2. To evaluate on `speech-recognition-community-v2/dev_data`
84
+
85
+ ```bash
86
+ python eval.py --model_id Baybars/wav2vec2-xls-r-300m-cv8-turkish --dataset speech-recognition-community-v2/dev_data --config tr --split validation --chunk_length_s 5.0 --stride_length_s 1.0
87
+ ```
88
+
89
  ### Framework versions
90
 
91
  - Transformers 4.17.0.dev0
log_mozilla-foundation_common_voice_8_0_tr_test_predictions.txt ADDED
The diff for this file is too large to render. See raw diff
log_mozilla-foundation_common_voice_8_0_tr_test_targets.txt ADDED
The diff for this file is too large to render. See raw diff
mozilla-foundation_common_voice_8_0_tr_test_eval_results.txt ADDED
@@ -0,0 +1,2 @@
 
 
1
+ WER: 0.32167655888351626
2
+ CER: 0.07570061459502155
preprocessor_config.json CHANGED
@@ -5,5 +5,6 @@
5
  "padding_side": "right",
6
  "padding_value": 0,
7
  "return_attention_mask": true,
8
- "sampling_rate": 16000
 
9
  }
5
  "padding_side": "right",
6
  "padding_value": 0,
7
  "return_attention_mask": true,
8
+ "sampling_rate": 16000,
9
+ "processor_class":"Wav2Vec2ProcessorWithLM"
10
  }