Automatic Speech Recognition
Transformers
Safetensors
Hebrew
whisper
yoad commited on
Commit
9fa1aba
·
verified ·
1 Parent(s): 36c2b16

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +34 -147
README.md CHANGED
@@ -1,7 +1,10 @@
1
  ---
2
  library_name: transformers
 
3
  datasets:
4
  - ivrit-ai/crowd-transcribe-v5
 
 
5
  language:
6
  - he
7
  metrics:
@@ -13,183 +16,67 @@ pipeline_tag: automatic-speech-recognition
13
 
14
  # Model Card for Model ID
15
 
16
- <!-- Provide a quick summary of what the model is/does. -->
17
-
18
 
19
 
20
  ## Model Details
21
 
22
  ### Model Description
23
 
24
- <!-- Provide a longer summary of what this model is. -->
25
-
26
- This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
27
-
28
- - **Developed by:** [More Information Needed]
29
- - **Funded by [optional]:** [More Information Needed]
30
- - **Shared by [optional]:** [More Information Needed]
31
- - **Model type:** [More Information Needed]
32
- - **Language(s) (NLP):** [More Information Needed]
33
- - **License:** [More Information Needed]
34
- - **Finetuned from model [optional]:** [More Information Needed]
35
-
36
- ### Model Sources [optional]
37
-
38
- <!-- Provide the basic links for the model. -->
39
-
40
- - **Repository:** [More Information Needed]
41
- - **Paper [optional]:** [More Information Needed]
42
- - **Demo [optional]:** [More Information Needed]
43
-
44
- ## Uses
45
-
46
- <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
47
-
48
- ### Direct Use
49
-
50
- <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
51
-
52
- [More Information Needed]
53
-
54
- ### Downstream Use [optional]
55
-
56
- <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
57
-
58
- [More Information Needed]
59
-
60
- ### Out-of-Scope Use
61
-
62
- <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
63
-
64
- [More Information Needed]
65
 
66
  ## Bias, Risks, and Limitations
67
 
68
- <!-- This section is meant to convey both technical and sociotechnical limitations. -->
 
69
 
70
- [More Information Needed]
71
-
72
- ### Recommendations
73
-
74
- <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
75
-
76
- Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
77
 
78
  ## How to Get Started with the Model
79
 
80
- Use the code below to get started with the model.
81
-
82
- [More Information Needed]
83
 
84
  ## Training Details
85
 
86
  ### Training Data
87
 
88
- <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
89
 
90
- [More Information Needed]
 
 
91
 
92
  ### Training Procedure
93
 
94
- <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
95
-
96
- #### Preprocessing [optional]
97
-
98
- [More Information Needed]
99
-
100
-
101
- #### Training Hyperparameters
102
-
103
- - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
104
-
105
- #### Speeds, Sizes, Times [optional]
106
-
107
- <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
108
-
109
- [More Information Needed]
110
-
111
- ## Evaluation
112
-
113
- <!-- This section describes the evaluation protocols and provides the results. -->
114
 
115
- ### Testing Data, Factors & Metrics
116
 
117
- #### Testing Data
 
118
 
119
- <!-- This should link to a Dataset Card if possible. -->
120
 
121
- [More Information Needed]
122
 
123
- #### Factors
124
 
125
- <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
126
-
127
- [More Information Needed]
128
-
129
- #### Metrics
130
-
131
- <!-- These are the evaluation metrics being used, ideally with a description of why. -->
132
-
133
- [More Information Needed]
134
-
135
- ### Results
136
-
137
- [More Information Needed]
138
-
139
- #### Summary
140
-
141
-
142
-
143
- ## Model Examination [optional]
144
-
145
- <!-- Relevant interpretability work for the model goes here -->
146
-
147
- [More Information Needed]
148
-
149
- ## Technical Specifications [optional]
150
-
151
- ### Model Architecture and Objective
152
-
153
- [More Information Needed]
154
-
155
- ### Compute Infrastructure
156
-
157
- [More Information Needed]
158
-
159
- #### Hardware
160
-
161
- [More Information Needed]
162
-
163
- #### Software
164
-
165
- [More Information Needed]
166
-
167
- ## Citation [optional]
168
-
169
- <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
170
-
171
- **BibTeX:**
172
-
173
- [More Information Needed]
174
-
175
- **APA:**
176
-
177
- [More Information Needed]
178
-
179
- ## Glossary [optional]
180
-
181
- <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
182
-
183
- [More Information Needed]
184
-
185
- ## More Information [optional]
186
 
187
- [More Information Needed]
 
 
188
 
189
- ## Model Card Authors [optional]
190
 
191
- [More Information Needed]
 
192
 
193
- ## Model Card Contact
194
 
195
- [More Information Needed]
 
1
  ---
2
  library_name: transformers
3
+ license: apache-2.0
4
  datasets:
5
  - ivrit-ai/crowd-transcribe-v5
6
+ - ivrit-ai/crowd-recital-whisper-training
7
+ - ivrit-ai/knesset-plenums-whisper-training
8
  language:
9
  - he
10
  metrics:
 
16
 
17
  # Model Card for Model ID
18
 
19
+ This model is a Hebrew finetune (continued training) of the OpenAI Whisper Large v3 Turbo model.
 
20
 
21
 
22
  ## Model Details
23
 
24
  ### Model Description
25
 
26
+ - **Developed by:** ivrit-ai
27
+ - **Language(s) (NLP):** Hebrew
28
+ - **License:** Apache-2.0
29
+ - **Finetuned from model** openai/whisper-large-v3-turbo
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30
 
31
  ## Bias, Risks, and Limitations
32
 
33
+ Language detection capability of this model has been degraded during training - it is intended for mostly-hebrew audio transcription.
34
+ Language token should be explicitly set to Hebrew.
35
 
36
+ Additionally, the tanslation task was not trained and also degraded. This model would not be able to translate in any reasonable capacity.
 
 
 
 
 
 
37
 
38
  ## How to Get Started with the Model
39
 
40
+ Please follow the original [model card](https://huggingface.co/openai/whisper-large-v3-turbo#usage) for usage details - replacing with this model name.
41
+ You can also fine other weight formats ad quantizations on the [ivrit ai](https://huggingface.co/ivrit-ai) HF page.
 
42
 
43
  ## Training Details
44
 
45
  ### Training Data
46
 
47
+ This model was trained on the following datasets:
48
 
49
+ - [ivrit-ai/crowd-transcribe-v5](https://huggingface.co/datasets/ivrit-ai/crowd-transcribe-v5) - Publicly accessible audio sources have beem crowd-transcribed segment-by-segment - ~300h
50
+ - [ivrit-ai/crowd-recital-whisper-training](https://huggingface.co/datasets/ivrit-ai/crowd-recital-whisper-training) - Crowd-sourced recording of Wikipedia atricle snippets. ~50h
51
+ - [ivrit-ai/knesset-plenums-whisper-training](https://huggingface.co/datasets/ivrit-ai/knesset-plenums-whisper-training) - A subset of a Knesset (Israeli house of representitives) plenum protocols. ~325h
52
 
53
  ### Training Procedure
54
 
55
+ This model is a weighted-average of the lowest eval loss checkpoints (From around the end of epoch 2) from two seprate runs with the same setup.
56
+ Training code can be found on the ivrit-ai Github [here](https://github.com/ivrit-ai/asr-training)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57
 
58
+ #### Preprocessing
59
 
60
+ The "Crowd Recital" and "Knesset" datasets contain timestamps and previous text following the Whisper expected inputs.
61
+ Timestamps were used from 40% of samples from those datasets, and 50% of the previous text was used.
62
 
63
+ The "Crowd Transcribe" datasets has no timestamps or previous text and this preprocessing only included melspec feature extraction and text encoding.
64
 
65
+ Preprocessing code can be found within the training code [repository](https://github.com/ivrit-ai/asr-training).
66
 
67
+ Datasets were interleaved with 0.15:0.8:0.05 ratio (knesset:crowd-transcribe:crowd-recital).
68
 
69
+ #### Training Hyperparameters
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70
 
71
+ - **Training regime:** bf16 mixed precision with sdpa
72
+ - **Learning Rate:** 1e-5, Linear decay, 800 steps warmup for 3 epochs
73
+ - **Batch Size:** 32
74
 
75
+ #### Training Hardward / Duration
76
 
77
+ - **GPU Type:** 8 x Nvidia A40 machine
78
+ - **Duration:** ~9h run, stopped at 3 epochs
79
 
80
+ ## Evaluation
81
 
82
+ Please refer to the [ivrit-ai/hebrew-transcription-leaderboard](https://huggingface.co/spaces/ivrit-ai/hebrew-transcription-leaderboard)