File size: 3,311 Bytes
149e005
 
 
 
c11c55c
149e005
c11c55c
 
 
 
 
 
 
 
 
149e005
 
c11c55c
149e005
c11c55c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
149e005
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
---
license: apache-2.0
base_model: openai/whisper-medium
tags:
- hf-asr-leaderboard
- generated_from_trainer
datasets:
- mozilla-foundation/common_voice_16_0
language:
- hu
widget:
- example_title: Sample 1
  src: https://huggingface.co/datasets/Hungarians/samples/resolve/main/Sample1.flac
- example_title: Sample 2
  src: https://huggingface.co/datasets/Hungarians/samples/resolve/main/Sample2.flac
metrics:
- wer
pipeline_tag: automatic-speech-recognition
model-index:
- name: Whisper Medium Hungarian
  results:
  - task:
      name: Automatic Speech Recognition
      type: automatic-speech-recognition
    dataset:
      name: Common Voice 16.0 - Hungarian
      type: mozilla-foundation/common_voice_16_0
      config: hu
      split: test
      args: hu
    metrics:
    - name: Wer
      type: wer
      value: 5.55
      verified: true

---

<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->

# Whisper medium Hu

This model is a fine-tuned version of [openai/whisper-medium](https://huggingface.co/openai/whisper-medium) on the Common Voice 16.0 dataset.
It achieves the following results on the evaluation set:
- Loss: 0.0875
- Wer Ortho: 6.6934
- Wer: 5.5500

## Model description

More information needed

## Intended uses & limitations

More information needed

## Training and evaluation data

More information needed

## Training procedure

### Training hyperparameters

The following hyperparameters were used during training:
- learning_rate: 6.25e-06
- train_batch_size: 8
- eval_batch_size: 8
- seed: 42
- gradient_accumulation_steps: 2
- total_train_batch_size: 16
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: constant_with_warmup
- lr_scheduler_warmup_steps: 500
- training_steps: 15000
- mixed_precision_training: Native AMP

### Training results

| Training Loss | Epoch | Step  | Validation Loss | Wer     | Wer Ortho |
|:-------------:|:-----:|:-----:|:---------------:|:-------:|:---------:|
| 0.1877        | 0.33  | 1000  | 0.2104          | 17.8832 | 20.5799   |
| 0.136         | 0.67  | 2000  | 0.1561          | 13.4717 | 16.2140   |
| 0.1117        | 1.0   | 3000  | 0.1245          | 13.4198 | 10.9487   |
| 0.0673        | 1.34  | 4000  | 0.1148          | 12.0107 | 9.7836    |
| 0.0657        | 1.67  | 5000  | 0.1006          | 10.3547 | 8.4702    |
| 0.0264        | 2.01  | 6000  | 0.0905          | 9.0931  | 7.2250    |
| 0.0284        | 2.34  | 7000  | 0.0916          | 8.7137  | 7.2221    |
| 0.0311        | 2.68  | 8000  | 0.0879          | 8.0242  | 6.6914    |
| 0.0177        | 3.01  | 9000  | 0.0841          | 7.6960  | 6.3860    |
| 0.0177        | 3.35  | 10000 | 0.0844          | 7.2173  | 6.0125    |
| 0.0126        | 3.68  | 11000 | 0.0848          | 7.2052  | 5.9739    |
| 0.0078        | 4.02  | 12000 | 0.0865          | 7.1179  | 6.0629    |
| 0.0113        | 4.35  | 13000 | 0.0863          | 6.9312  | 5.7990    |
| 0.0115        | 4.69  | 14000 | 0.0853          | 7.0185  | 5.8968    |
| 0.0071        | 5.02  | 15000 | 0.0875          | 6.6934  | 5.5500    |


### Framework versions

- Transformers 4.36.2
- Pytorch 2.1.0+cu121
- Datasets 2.16.1
- Tokenizers 0.15.0