Instructions to use thorhojhus/whisper-large-v3-turbo-danish with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use thorhojhus/whisper-large-v3-turbo-danish with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="thorhojhus/whisper-large-v3-turbo-danish")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("thorhojhus/whisper-large-v3-turbo-danish") model = AutoModelForSpeechSeq2Seq.from_pretrained("thorhojhus/whisper-large-v3-turbo-danish", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Style model card
Browse files
README.md
CHANGED
|
@@ -21,12 +21,48 @@ tags:
|
|
| 21 |
|
| 22 |
# whisper-large-v3-turbo-danish
|
| 23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
This is a Danish continuation of
|
| 25 |
[`openai/whisper-large-v3-turbo`](https://huggingface.co/openai/whisper-large-v3-turbo).
|
| 26 |
The architecture and tokenizer are unchanged. The released weights are an
|
| 27 |
exponential moving average taken after 200,000 optimizer steps.
|
| 28 |
|
| 29 |
-
##
|
| 30 |
|
| 31 |
```python
|
| 32 |
import torch
|
|
@@ -59,7 +95,7 @@ result = transcribe(
|
|
| 59 |
print(result["text"])
|
| 60 |
```
|
| 61 |
|
| 62 |
-
##
|
| 63 |
|
| 64 |
Training used the Danish portions of CoRal v3, Common Voice 26.0, FLEURS,
|
| 65 |
FTSpeech and NST together with filtered pseudo-labelled data. The pseudo-labels
|
|
@@ -100,7 +136,7 @@ repeated sampling and are not unique dataset durations.
|
|
| 100 |
|
| 101 |
Additional recipe details are recorded in `training_recipe.json`.
|
| 102 |
|
| 103 |
-
##
|
| 104 |
|
| 105 |
The checkpoint was evaluated against the public
|
| 106 |
[Danish ASR Leaderboard](https://github.com/Rye-A1/danish-asr-leaderboard)
|
|
@@ -119,18 +155,18 @@ leaderboard normalizer was applied, including Danish numeral normalization.
|
|
| 119 |
|
| 120 |
Exact revisions and decoding settings are recorded in `training_recipe.json`.
|
| 121 |
|
| 122 |
-
##
|
| 123 |
|
| 124 |
- Accuracy in languages other than Danish may be reduced.
|
| 125 |
- Long-form behavior was not directly trained and should be validated separately.
|
| 126 |
|
| 127 |
-
##
|
| 128 |
|
| 129 |
The model weights are released under the MIT License. Training data are not
|
| 130 |
redistributed and remain subject to their source terms. See
|
| 131 |
`THIRD_PARTY_NOTICES.md`.
|
| 132 |
|
| 133 |
-
##
|
| 134 |
|
| 135 |
```bibtex
|
| 136 |
@article{radford2022robust,
|
|
|
|
| 21 |
|
| 22 |
# whisper-large-v3-turbo-danish
|
| 23 |
|
| 24 |
+
```text
|
| 25 |
+
░▒▓█╔════════════════════════════════════════════════════════════════════╗█▓▒░
|
| 26 |
+
░▒▓█│ │█▓▒░
|
| 27 |
+
░▒▓█│ ██╗ ██╗██╗ ██╗██╗███████╗██████╗ ███████╗██████╗ │█▓▒░
|
| 28 |
+
░▒▓█│ ██║ ██║██║ ██║██║██╔════╝██╔══██╗██╔════╝██╔══██╗ │█▓▒░
|
| 29 |
+
░▒▓█│ ██║ █╗ ██║███████║██║███████╗██████╔╝█████╗ ██████╔╝ │█▓▒░
|
| 30 |
+
░▒▓█│ ██║███╗██║██╔══██║██║╚════██║██╔═══╝ ██╔══╝ ██╔══██╗ │█▓▒░
|
| 31 |
+
░▒▓█│ ╚███╔███╔╝██║ ██║██║███████║██║ ███████╗██║ ██║ │█▓▒░
|
| 32 |
+
░▒▓█│ ╚══╝╚══╝ ╚═╝ ╚═╝╚═╝╚══════╝╚═╝ ╚══════╝╚═╝ ╚═╝ │█▓▒░
|
| 33 |
+
░▒▓█│ │█▓▒░
|
| 34 |
+
░▒▓█│ ░░▒▒▓▓ D A N I S H S P E E C H ▓▓▒▒░░ │█▓▒░
|
| 35 |
+
░▒▓█│ │█▓▒░
|
| 36 |
+
░▒▓█├────────────────────────────────────────────────────────────────────┤█▓▒░
|
| 37 |
+
░▒▓█│ R E L E A S E I N F O [ MODEL / WEIGHTS ] │█▓▒░
|
| 38 |
+
░▒▓█├────────────────────────────────────────────────────────────────────┤█▓▒░
|
| 39 |
+
░▒▓█│ │█▓▒░
|
| 40 |
+
░▒▓█│ EDITION .......... LARGE-V3-TURBO │█▓▒░
|
| 41 |
+
░▒▓█│ LANGUAGE ......... DANISH │█▓▒░
|
| 42 |
+
░▒▓█│ STATUS ........... SOTA-ish │█▓▒░
|
| 43 |
+
░▒▓█│ LAYERS ........... 32 ENCODER / 4 DECODER │█▓▒░
|
| 44 |
+
░▒▓█│ MODEL WIDTH ...... 1280 │█▓▒░
|
| 45 |
+
░▒▓█│ AUDIO INPUT ...... 16 kHz MONO / 128 MEL BINS │█▓▒░
|
| 46 |
+
░▒▓█│ TRAIN WINDOW ..... 30 SECONDS │█▓▒░
|
| 47 |
+
░▒▓█│ VOCABULARY ....... 51,866 TOKENS │█▓▒░
|
| 48 |
+
░▒▓█│ OPTIMIZER ........ MUON + ADAMW │█▓▒░
|
| 49 |
+
░▒▓█│ TRAINING ......... 200,000 OPTIMIZER STEPS │█▓▒░
|
| 50 |
+
░▒▓█│ TRAINED ON ....... NVIDIA GEFORCE RTX 4090 │█▓▒░
|
| 51 |
+
░▒▓█│ │█▓▒░
|
| 52 |
+
░▒▓█├────────────────────────────────────────────────────────────────────┤█▓▒░
|
| 53 |
+
░▒▓█│ 01 USAGE / 02 TRAINING / 03 EVALUATION │█▓▒░
|
| 54 |
+
░▒▓█│ 04 LIMITATIONS / 05 LICENSE / 06 CREDITS │█▓▒░
|
| 55 |
+
░▒▓█│ │█▓▒░
|
| 56 |
+
░▒▓█╚════════════════════════════════════════════════════════════════════╝█▓▒░
|
| 57 |
+
░░▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒▒░░
|
| 58 |
+
```
|
| 59 |
+
|
| 60 |
This is a Danish continuation of
|
| 61 |
[`openai/whisper-large-v3-turbo`](https://huggingface.co/openai/whisper-large-v3-turbo).
|
| 62 |
The architecture and tokenizer are unchanged. The released weights are an
|
| 63 |
exponential moving average taken after 200,000 optimizer steps.
|
| 64 |
|
| 65 |
+
## 01 / USAGE
|
| 66 |
|
| 67 |
```python
|
| 68 |
import torch
|
|
|
|
| 95 |
print(result["text"])
|
| 96 |
```
|
| 97 |
|
| 98 |
+
## 02 / TRAINING
|
| 99 |
|
| 100 |
Training used the Danish portions of CoRal v3, Common Voice 26.0, FLEURS,
|
| 101 |
FTSpeech and NST together with filtered pseudo-labelled data. The pseudo-labels
|
|
|
|
| 136 |
|
| 137 |
Additional recipe details are recorded in `training_recipe.json`.
|
| 138 |
|
| 139 |
+
## 03 / EVALUATION
|
| 140 |
|
| 141 |
The checkpoint was evaluated against the public
|
| 142 |
[Danish ASR Leaderboard](https://github.com/Rye-A1/danish-asr-leaderboard)
|
|
|
|
| 155 |
|
| 156 |
Exact revisions and decoding settings are recorded in `training_recipe.json`.
|
| 157 |
|
| 158 |
+
## 04 / LIMITATIONS
|
| 159 |
|
| 160 |
- Accuracy in languages other than Danish may be reduced.
|
| 161 |
- Long-form behavior was not directly trained and should be validated separately.
|
| 162 |
|
| 163 |
+
## 05 / LICENSE
|
| 164 |
|
| 165 |
The model weights are released under the MIT License. Training data are not
|
| 166 |
redistributed and remain subject to their source terms. See
|
| 167 |
`THIRD_PARTY_NOTICES.md`.
|
| 168 |
|
| 169 |
+
## 06 / CREDITS
|
| 170 |
|
| 171 |
```bibtex
|
| 172 |
@article{radford2022robust,
|