lucio commited on
Commit
320a6a7
1 Parent(s): 60c54fb

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -23,7 +23,7 @@ model-index:
23
  metrics:
24
  - name: Test WER
25
  type: wer
26
- value: 38.29
27
  ---
28
 
29
  # Wav2Vec2-Large-XLSR-53-lg
@@ -56,7 +56,7 @@ def speech_file_to_array_fn(batch):
56
  return batch
57
 
58
  test_dataset = test_dataset.map(speech_file_to_array_fn)
59
- inputs = processor(test_dataset["speech"][:2], sampling_rate=16_000, return_tensors="pt", padding=True)
60
 
61
  with torch.no_grad():
62
  logits = model(inputs.input_values, attention_mask=inputs.attention_mask).logits
@@ -117,7 +117,7 @@ result = test_dataset.map(evaluate, batched=True, batch_size=8)
117
  print("WER: {:2f}".format(100 * wer.compute(predictions=result["pred_strings"], references=result["sentence"])))
118
  ```
119
 
120
- **Test Result**: 38.29 %
121
 
122
  ## Training
123
 
 
23
  metrics:
24
  - name: Test WER
25
  type: wer
26
+ value: 30.23
27
  ---
28
 
29
  # Wav2Vec2-Large-XLSR-53-lg
 
56
  return batch
57
 
58
  test_dataset = test_dataset.map(speech_file_to_array_fn)
59
+ inputs = processor(test_dataset[:2]["speech"], sampling_rate=16_000, return_tensors="pt", padding=True)
60
 
61
  with torch.no_grad():
62
  logits = model(inputs.input_values, attention_mask=inputs.attention_mask).logits
 
117
  print("WER: {:2f}".format(100 * wer.compute(predictions=result["pred_strings"], references=result["sentence"])))
118
  ```
119
 
120
+ **Test Result**: 30.23 %
121
 
122
  ## Training
123