Update README.md
Browse files
README.md
CHANGED
|
@@ -31,7 +31,7 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 31 |
|
| 32 |
# Whisper Small Da - WasuratS
|
| 33 |
|
| 34 |
-
This model is a fine-tuned version of [openai/whisper-small](https://huggingface.co/openai/whisper-small) on the Common Voice 13 dataset
|
| 35 |
It achieves the following results on the evaluation set:
|
| 36 |
- Loss: 0.6393
|
| 37 |
- Wer Ortho: 29.0926
|
|
@@ -62,34 +62,6 @@ The following hyperparameters were used during training:
|
|
| 62 |
- training_steps: 4000
|
| 63 |
- mixed_precision_training: Native AMP
|
| 64 |
|
| 65 |
-
``` %python
|
| 66 |
-
from transformers import Seq2SeqTrainingArguments
|
| 67 |
-
|
| 68 |
-
training_args = Seq2SeqTrainingArguments(
|
| 69 |
-
output_dir="./whisper-small-da",
|
| 70 |
-
per_device_train_batch_size=16,
|
| 71 |
-
gradient_accumulation_steps=1,
|
| 72 |
-
learning_rate=1e-5,
|
| 73 |
-
lr_scheduler_type="linear",
|
| 74 |
-
warmup_steps=50,
|
| 75 |
-
max_steps=4000,
|
| 76 |
-
gradient_checkpointing=True,
|
| 77 |
-
fp16=True,
|
| 78 |
-
fp16_full_eval=True,
|
| 79 |
-
evaluation_strategy="steps",
|
| 80 |
-
per_device_eval_batch_size=16,
|
| 81 |
-
predict_with_generate=True,
|
| 82 |
-
generation_max_length=225,
|
| 83 |
-
save_steps=500,
|
| 84 |
-
eval_steps=500,
|
| 85 |
-
logging_steps=25,
|
| 86 |
-
report_to=["tensorboard"],
|
| 87 |
-
load_best_model_at_end=True,
|
| 88 |
-
metric_for_best_model="wer",
|
| 89 |
-
greater_is_better=False,
|
| 90 |
-
push_to_hub=True,
|
| 91 |
-
)
|
| 92 |
-
```
|
| 93 |
|
| 94 |
### Training results
|
| 95 |
|
|
|
|
| 31 |
|
| 32 |
# Whisper Small Da - WasuratS
|
| 33 |
|
| 34 |
+
This model is a fine-tuned version of [openai/whisper-small](https://huggingface.co/openai/whisper-small) on the Common Voice 13 dataset on Danish language
|
| 35 |
It achieves the following results on the evaluation set:
|
| 36 |
- Loss: 0.6393
|
| 37 |
- Wer Ortho: 29.0926
|
|
|
|
| 62 |
- training_steps: 4000
|
| 63 |
- mixed_precision_training: Native AMP
|
| 64 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 65 |
|
| 66 |
### Training results
|
| 67 |
|