Commit
·
3342ea7
1
Parent(s):
5780d16
Update README.md
Browse files
README.md
CHANGED
|
@@ -52,7 +52,8 @@ with torch.no_grad():
|
|
| 52 |
|
| 53 |
prediction_ids = torch.argmax(logits, dim=-1)
|
| 54 |
transcription = processor.batch_decode(prediction_ids)
|
| 55 |
-
# => '
|
|
|
|
| 56 |
```
|
| 57 |
|
| 58 |
## Evaluation
|
|
@@ -103,7 +104,7 @@ out = ds.map(decode, remove_columns=ds.column_names)
|
|
| 103 |
per = wer.compute(predictions=out["prediction"], references=out["target"])
|
| 104 |
|
| 105 |
print("per", per)
|
| 106 |
-
# -> should give per 0.06685252146070828
|
| 107 |
```
|
| 108 |
|
| 109 |
# Contribution
|
|
@@ -114,6 +115,8 @@ The model was contributed by [cywang](https://huggingface.co/cywang) and [patric
|
|
| 114 |
|
| 115 |
The official license can be found [here](https://github.com/microsoft/UniSpeech/blob/main/LICENSE)
|
| 116 |
|
|
|
|
|
|
|
| 117 |
See *UniSpeeech-L^{+}* - *it*:
|
| 118 |
|
| 119 |

|
|
|
|
| 52 |
|
| 53 |
prediction_ids = torch.argmax(logits, dim=-1)
|
| 54 |
transcription = processor.batch_decode(prediction_ids)
|
| 55 |
+
# => 'm ɪ a n n o f a tː o ʊ n o f f ɛ r t a k e n o n p o t e v o p r ɔ p r i o r i f j ʊ t a r e'
|
| 56 |
+
# for "Mi hanno fatto un\'offerta che non potevo proprio rifiutare."
|
| 57 |
```
|
| 58 |
|
| 59 |
## Evaluation
|
|
|
|
| 104 |
per = wer.compute(predictions=out["prediction"], references=out["target"])
|
| 105 |
|
| 106 |
print("per", per)
|
| 107 |
+
# -> should give per 0.06685252146070828 - compare to results below
|
| 108 |
```
|
| 109 |
|
| 110 |
# Contribution
|
|
|
|
| 115 |
|
| 116 |
The official license can be found [here](https://github.com/microsoft/UniSpeech/blob/main/LICENSE)
|
| 117 |
|
| 118 |
+
# Official Results
|
| 119 |
+
|
| 120 |
See *UniSpeeech-L^{+}* - *it*:
|
| 121 |
|
| 122 |

|