Instructions to use greenw0lf/exp4-whisper-all-jasmin with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use greenw0lf/exp4-whisper-all-jasmin with PEFT:
Task type is invalid.
- Transformers
How to use greenw0lf/exp4-whisper-all-jasmin with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("greenw0lf/exp4-whisper-all-jasmin", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse files- README.md +98 -0
- adapter_config.json +39 -0
- adapter_model.safetensors +3 -0
- adapter_model/adapter_config.json +39 -0
- adapter_model/adapter_model.safetensors +3 -0
- preprocessor_config.json +15 -0
- training_args.bin +3 -0
README.md
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: peft
|
| 3 |
+
language:
|
| 4 |
+
- nl
|
| 5 |
+
license: apache-2.0
|
| 6 |
+
base_model: openai/whisper-large-v2
|
| 7 |
+
tags:
|
| 8 |
+
- base_model:adapter:openai/whisper-large-v2
|
| 9 |
+
- lora
|
| 10 |
+
- transformers
|
| 11 |
+
datasets:
|
| 12 |
+
- jasmin
|
| 13 |
+
- jasmin-cgn
|
| 14 |
+
metrics:
|
| 15 |
+
- wer
|
| 16 |
+
model-index:
|
| 17 |
+
- name: Dutch Whisper - all JASMIN
|
| 18 |
+
results:
|
| 19 |
+
- task:
|
| 20 |
+
type: automatic-speech-recognition
|
| 21 |
+
name: Automatic Speech Recognition
|
| 22 |
+
dataset:
|
| 23 |
+
name: JASMIN-CGN
|
| 24 |
+
type: jasmin
|
| 25 |
+
metrics:
|
| 26 |
+
- type: wer
|
| 27 |
+
value: 54.56220199393152
|
| 28 |
+
name: Wer
|
| 29 |
+
---
|
| 30 |
+
|
| 31 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 32 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 33 |
+
|
| 34 |
+
# Dutch Whisper - all JASMIN
|
| 35 |
+
|
| 36 |
+
This model is a fine-tuned version of [openai/whisper-large-v2](https://huggingface.co/openai/whisper-large-v2) on the JASMIN-CGN dataset.
|
| 37 |
+
It achieves the following results on the evaluation set:
|
| 38 |
+
- Loss: 1.1430
|
| 39 |
+
- Wer: 54.5622
|
| 40 |
+
|
| 41 |
+
## Model description
|
| 42 |
+
|
| 43 |
+
More information needed
|
| 44 |
+
|
| 45 |
+
## Intended uses & limitations
|
| 46 |
+
|
| 47 |
+
More information needed
|
| 48 |
+
|
| 49 |
+
## Training and evaluation data
|
| 50 |
+
|
| 51 |
+
More information needed
|
| 52 |
+
|
| 53 |
+
## Training procedure
|
| 54 |
+
|
| 55 |
+
### Training hyperparameters
|
| 56 |
+
|
| 57 |
+
The following hyperparameters were used during training:
|
| 58 |
+
- learning_rate: 1e-05
|
| 59 |
+
- train_batch_size: 48
|
| 60 |
+
- eval_batch_size: 32
|
| 61 |
+
- seed: 42
|
| 62 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 63 |
+
- lr_scheduler_type: linear
|
| 64 |
+
- lr_scheduler_warmup_steps: 180
|
| 65 |
+
- num_epochs: 3.0
|
| 66 |
+
- mixed_precision_training: Native AMP
|
| 67 |
+
|
| 68 |
+
### Training results
|
| 69 |
+
|
| 70 |
+
| Training Loss | Epoch | Step | Validation Loss | Wer |
|
| 71 |
+
|:-------------:|:------:|:----:|:---------------:|:-------:|
|
| 72 |
+
| 1.1206 | 0.1656 | 100 | 1.1056 | 54.0773 |
|
| 73 |
+
| 0.8186 | 0.3311 | 200 | 0.7618 | 40.6074 |
|
| 74 |
+
| 0.474 | 0.4967 | 300 | 0.3831 | 17.4794 |
|
| 75 |
+
| 0.4099 | 0.6623 | 400 | 0.3431 | 15.7618 |
|
| 76 |
+
| 0.3975 | 0.8278 | 500 | 0.3275 | 14.9274 |
|
| 77 |
+
| 0.3941 | 0.9934 | 600 | 0.3171 | 14.6890 |
|
| 78 |
+
| 0.3916 | 1.1589 | 700 | 0.3095 | 13.5891 |
|
| 79 |
+
| 0.391 | 1.3245 | 800 | 0.3039 | 12.8197 |
|
| 80 |
+
| 0.3765 | 1.4901 | 900 | 0.2995 | 13.0283 |
|
| 81 |
+
| 0.3618 | 1.6556 | 1000 | 0.2955 | 12.9931 |
|
| 82 |
+
| 0.3559 | 1.8212 | 1100 | 0.2923 | 12.9416 |
|
| 83 |
+
| 0.3745 | 1.9868 | 1200 | 0.2895 | 12.9606 |
|
| 84 |
+
| 0.3441 | 2.1523 | 1300 | 0.2875 | 12.9226 |
|
| 85 |
+
| 0.3618 | 2.3179 | 1400 | 0.2862 | 12.8116 |
|
| 86 |
+
| 0.351 | 2.4834 | 1500 | 0.2849 | 12.8224 |
|
| 87 |
+
| 0.3399 | 2.6490 | 1600 | 0.2840 | 12.7899 |
|
| 88 |
+
| 1.1391 | 2.8146 | 1700 | 1.1532 | 54.6489 |
|
| 89 |
+
| 1.1297 | 2.9801 | 1800 | 1.1430 | 54.5622 |
|
| 90 |
+
|
| 91 |
+
|
| 92 |
+
### Framework versions
|
| 93 |
+
|
| 94 |
+
- PEFT 0.16.0
|
| 95 |
+
- Transformers 4.52.0
|
| 96 |
+
- Pytorch 2.7.1+cu126
|
| 97 |
+
- Datasets 3.6.0
|
| 98 |
+
- Tokenizers 0.21.2
|
adapter_config.json
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": {
|
| 4 |
+
"base_model_class": "WhisperForConditionalGeneration",
|
| 5 |
+
"parent_library": "transformers.models.whisper.modeling_whisper"
|
| 6 |
+
},
|
| 7 |
+
"base_model_name_or_path": "openai/whisper-large-v2",
|
| 8 |
+
"bias": "none",
|
| 9 |
+
"corda_config": null,
|
| 10 |
+
"eva_config": null,
|
| 11 |
+
"exclude_modules": null,
|
| 12 |
+
"fan_in_fan_out": false,
|
| 13 |
+
"inference_mode": true,
|
| 14 |
+
"init_lora_weights": true,
|
| 15 |
+
"layer_replication": null,
|
| 16 |
+
"layers_pattern": null,
|
| 17 |
+
"layers_to_transform": null,
|
| 18 |
+
"loftq_config": {},
|
| 19 |
+
"lora_alpha": 64,
|
| 20 |
+
"lora_bias": false,
|
| 21 |
+
"lora_dropout": 0.1,
|
| 22 |
+
"megatron_config": null,
|
| 23 |
+
"megatron_core": "megatron.core",
|
| 24 |
+
"modules_to_save": null,
|
| 25 |
+
"peft_type": "LORA",
|
| 26 |
+
"qalora_group_size": 16,
|
| 27 |
+
"r": 32,
|
| 28 |
+
"rank_pattern": {},
|
| 29 |
+
"revision": null,
|
| 30 |
+
"target_modules": [
|
| 31 |
+
"q_proj",
|
| 32 |
+
"v_proj"
|
| 33 |
+
],
|
| 34 |
+
"task_type": null,
|
| 35 |
+
"trainable_token_indices": null,
|
| 36 |
+
"use_dora": false,
|
| 37 |
+
"use_qalora": false,
|
| 38 |
+
"use_rslora": false
|
| 39 |
+
}
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ff6c797d086c4cd9f46467aadf539f41482fd747464a5697c24faed7a6838fa1
|
| 3 |
+
size 62969640
|
adapter_model/adapter_config.json
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": {
|
| 4 |
+
"base_model_class": "WhisperForConditionalGeneration",
|
| 5 |
+
"parent_library": "transformers.models.whisper.modeling_whisper"
|
| 6 |
+
},
|
| 7 |
+
"base_model_name_or_path": "openai/whisper-large-v2",
|
| 8 |
+
"bias": "none",
|
| 9 |
+
"corda_config": null,
|
| 10 |
+
"eva_config": null,
|
| 11 |
+
"exclude_modules": null,
|
| 12 |
+
"fan_in_fan_out": false,
|
| 13 |
+
"inference_mode": true,
|
| 14 |
+
"init_lora_weights": true,
|
| 15 |
+
"layer_replication": null,
|
| 16 |
+
"layers_pattern": null,
|
| 17 |
+
"layers_to_transform": null,
|
| 18 |
+
"loftq_config": {},
|
| 19 |
+
"lora_alpha": 64,
|
| 20 |
+
"lora_bias": false,
|
| 21 |
+
"lora_dropout": 0.1,
|
| 22 |
+
"megatron_config": null,
|
| 23 |
+
"megatron_core": "megatron.core",
|
| 24 |
+
"modules_to_save": null,
|
| 25 |
+
"peft_type": "LORA",
|
| 26 |
+
"qalora_group_size": 16,
|
| 27 |
+
"r": 32,
|
| 28 |
+
"rank_pattern": {},
|
| 29 |
+
"revision": null,
|
| 30 |
+
"target_modules": [
|
| 31 |
+
"q_proj",
|
| 32 |
+
"v_proj"
|
| 33 |
+
],
|
| 34 |
+
"task_type": null,
|
| 35 |
+
"trainable_token_indices": null,
|
| 36 |
+
"use_dora": false,
|
| 37 |
+
"use_qalora": false,
|
| 38 |
+
"use_rslora": false
|
| 39 |
+
}
|
adapter_model/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ff6c797d086c4cd9f46467aadf539f41482fd747464a5697c24faed7a6838fa1
|
| 3 |
+
size 62969640
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"chunk_length": 30,
|
| 3 |
+
"dither": 0.0,
|
| 4 |
+
"feature_extractor_type": "WhisperFeatureExtractor",
|
| 5 |
+
"feature_size": 80,
|
| 6 |
+
"hop_length": 160,
|
| 7 |
+
"n_fft": 400,
|
| 8 |
+
"n_samples": 480000,
|
| 9 |
+
"nb_max_frames": 3000,
|
| 10 |
+
"padding_side": "right",
|
| 11 |
+
"padding_value": 0.0,
|
| 12 |
+
"processor_class": "WhisperProcessor",
|
| 13 |
+
"return_attention_mask": false,
|
| 14 |
+
"sampling_rate": 16000
|
| 15 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8573a35fdfdc6aa1b7cde4a89229c5ffbcc330d8eac0689ad7c5f85e6ba79b2e
|
| 3 |
+
size 5905
|