Update README.md
Browse files
README.md
CHANGED
|
@@ -1,102 +1,105 @@
|
|
| 1 |
-
---
|
| 2 |
-
library_name: ctranslate2
|
| 3 |
-
license: apache-2.0
|
| 4 |
-
base_model: openai/whisper-small
|
| 5 |
-
tags:
|
| 6 |
-
- audio
|
| 7 |
-
- automatic-speech-recognition
|
| 8 |
-
- ctranslate2
|
| 9 |
-
- faster-whisper
|
| 10 |
-
- generated_from_trainer
|
| 11 |
-
- whisper
|
| 12 |
-
metrics:
|
| 13 |
-
- wer
|
| 14 |
-
model-index:
|
| 15 |
-
- name: whisper-small-jp
|
| 16 |
-
results: []
|
| 17 |
-
---
|
| 18 |
-
|
| 19 |
-
> **This repository contains the CTranslate2 export of the fine-tuned model.**
|
| 20 |
-
>
|
| 21 |
-
> • Base Transformers model: [drepic/whisper-small-jp](https://huggingface.co/drepic/whisper-small-jp)
|
| 22 |
-
> • Use with `faster-whisper`:
|
| 23 |
-
>
|
| 24 |
-
> ```python
|
| 25 |
-
> from faster_whisper import WhisperModel
|
| 26 |
-
> model = WhisperModel("drepic/whisper-small-jp-ct2", device="cuda", compute_type="float16")
|
| 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 |
-
| 0.
|
| 79 |
-
| 0.
|
| 80 |
-
| 0.
|
| 81 |
-
| 0.
|
| 82 |
-
| 0.
|
| 83 |
-
| 0.
|
| 84 |
-
| 0.
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
- **
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: ctranslate2
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
base_model: openai/whisper-small
|
| 5 |
+
tags:
|
| 6 |
+
- audio
|
| 7 |
+
- automatic-speech-recognition
|
| 8 |
+
- ctranslate2
|
| 9 |
+
- faster-whisper
|
| 10 |
+
- generated_from_trainer
|
| 11 |
+
- whisper
|
| 12 |
+
metrics:
|
| 13 |
+
- wer
|
| 14 |
+
model-index:
|
| 15 |
+
- name: whisper-small-jp
|
| 16 |
+
results: []
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
> **This repository contains the CTranslate2 export of the fine-tuned model.**
|
| 20 |
+
>
|
| 21 |
+
> • Base Transformers model: [drepic/whisper-small-jp](https://huggingface.co/drepic/whisper-small-jp)
|
| 22 |
+
> • Use with `faster-whisper`:
|
| 23 |
+
>
|
| 24 |
+
> ```python
|
| 25 |
+
> from faster_whisper import WhisperModel
|
| 26 |
+
> model = WhisperModel("drepic/whisper-small-jp-ct2", device="cuda", compute_type="float16")
|
| 27 |
+
> ```
|
| 28 |
+
|
| 29 |
+
# OTHER FINETUNES
|
| 30 |
+
- Want better accuracy? Try [drepic/whisper-medium-jp-ct2](https://huggingface.co/drepic/whisper-medium-jp-ct2)
|
| 31 |
+
|
| 32 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 33 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 34 |
+
|
| 35 |
+
# whisper-small-jp
|
| 36 |
+
|
| 37 |
+
This model is a fine-tuned version of [openai/whisper-small](https://huggingface.co/openai/whisper-small) on an unknown dataset.
|
| 38 |
+
It achieves the following results on the evaluation set:
|
| 39 |
+
- Loss: 0.6168
|
| 40 |
+
- Wer: 0.2600
|
| 41 |
+
- Cer: 0.2600
|
| 42 |
+
|
| 43 |
+
## Model description
|
| 44 |
+
|
| 45 |
+
Better suited for transcribing japanese youtube content.
|
| 46 |
+
|
| 47 |
+
## Intended uses & limitations
|
| 48 |
+
|
| 49 |
+
More information needed
|
| 50 |
+
|
| 51 |
+
## Training and evaluation data
|
| 52 |
+
|
| 53 |
+
More information needed
|
| 54 |
+
|
| 55 |
+
## Training procedure
|
| 56 |
+
|
| 57 |
+
### Training hyperparameters
|
| 58 |
+
|
| 59 |
+
The following hyperparameters were used during training:
|
| 60 |
+
- learning_rate: 5e-06
|
| 61 |
+
- train_batch_size: 8
|
| 62 |
+
- eval_batch_size: 4
|
| 63 |
+
- seed: 42
|
| 64 |
+
- distributed_type: multi-GPU
|
| 65 |
+
- num_devices: 2
|
| 66 |
+
- total_train_batch_size: 16
|
| 67 |
+
- total_eval_batch_size: 8
|
| 68 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 69 |
+
- lr_scheduler_type: linear
|
| 70 |
+
- lr_scheduler_warmup_steps: 300
|
| 71 |
+
- num_epochs: 10
|
| 72 |
+
- mixed_precision_training: Native AMP
|
| 73 |
+
|
| 74 |
+
### Training results
|
| 75 |
+
|
| 76 |
+
| Training Loss | Epoch | Step | Validation Loss | Wer | Cer |
|
| 77 |
+
|:-------------:|:-----:|:-----:|:---------------:|:------:|:------:|
|
| 78 |
+
| 0.6589 | 1.0 | 7154 | 0.6615 | 0.2735 | 0.2735 |
|
| 79 |
+
| 0.6273 | 2.0 | 14308 | 0.6457 | 0.2699 | 0.2699 |
|
| 80 |
+
| 0.6251 | 3.0 | 21462 | 0.6359 | 0.2660 | 0.2660 |
|
| 81 |
+
| 0.6427 | 4.0 | 28616 | 0.6283 | 0.2642 | 0.2642 |
|
| 82 |
+
| 0.6389 | 5.0 | 35770 | 0.6243 | 0.2631 | 0.2631 |
|
| 83 |
+
| 0.6078 | 6.0 | 42924 | 0.6242 | 0.2615 | 0.2615 |
|
| 84 |
+
| 0.5788 | 7.0 | 50078 | 0.6195 | 0.2603 | 0.2603 |
|
| 85 |
+
| 0.5801 | 8.0 | 57232 | 0.6180 | 0.2596 | 0.2596 |
|
| 86 |
+
| 0.5866 | 9.0 | 64386 | 0.6145 | 0.2598 | 0.2598 |
|
| 87 |
+
| 0.6052 | 10.0 | 71540 | 0.6168 | 0.2600 | 0.2600 |
|
| 88 |
+
|
| 89 |
+
|
| 90 |
+
### Framework versions
|
| 91 |
+
|
| 92 |
+
- Transformers 4.56.1
|
| 93 |
+
- Pytorch 2.8.0+cu128
|
| 94 |
+
- Datasets 4.0.0
|
| 95 |
+
- Tokenizers 0.22.0
|
| 96 |
+
|
| 97 |
+
|
| 98 |
+
## Evaluation Results
|
| 99 |
+
|
| 100 |
+
### mozilla-foundation/common_voice_17_0 (ja) — split: test
|
| 101 |
+
|
| 102 |
+
- **CER**: 0.2302
|
| 103 |
+
- **Dataset**: mozilla-foundation/common_voice_17_0
|
| 104 |
+
- **Language/Subset**: ja
|
| 105 |
+
- **Split**: test
|