End of training
Browse files- README.md +93 -0
- adapter_config.json +36 -0
- adapter_model.safetensors +3 -0
- training_args.bin +3 -0
README.md
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: peft
|
| 3 |
+
language:
|
| 4 |
+
- it
|
| 5 |
+
license: apache-2.0
|
| 6 |
+
base_model: openai/whisper-medium
|
| 7 |
+
tags:
|
| 8 |
+
- generated_from_trainer
|
| 9 |
+
datasets:
|
| 10 |
+
- b-brave-balanced-augmented
|
| 11 |
+
metrics:
|
| 12 |
+
- wer
|
| 13 |
+
model-index:
|
| 14 |
+
- name: Whisper Medium IT
|
| 15 |
+
results:
|
| 16 |
+
- task:
|
| 17 |
+
type: automatic-speech-recognition
|
| 18 |
+
name: Automatic Speech Recognition
|
| 19 |
+
dataset:
|
| 20 |
+
name: b-brave-balanced-augmented
|
| 21 |
+
type: b-brave-balanced-augmented
|
| 22 |
+
metrics:
|
| 23 |
+
- type: wer
|
| 24 |
+
value: 37.471783295711056
|
| 25 |
+
name: Wer
|
| 26 |
+
---
|
| 27 |
+
|
| 28 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 29 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 30 |
+
|
| 31 |
+
# Whisper Medium IT
|
| 32 |
+
|
| 33 |
+
This model is a fine-tuned version of [openai/whisper-medium](https://huggingface.co/openai/whisper-medium) on the b-brave-balanced-augmented dataset.
|
| 34 |
+
It achieves the following results on the evaluation set:
|
| 35 |
+
- Loss: 0.5097
|
| 36 |
+
- Wer: 37.4718
|
| 37 |
+
- Cer: 25.0621
|
| 38 |
+
- Lr: 0.0000
|
| 39 |
+
|
| 40 |
+
## Model description
|
| 41 |
+
|
| 42 |
+
More information needed
|
| 43 |
+
|
| 44 |
+
## Intended uses & limitations
|
| 45 |
+
|
| 46 |
+
More information needed
|
| 47 |
+
|
| 48 |
+
## Training and evaluation data
|
| 49 |
+
|
| 50 |
+
More information needed
|
| 51 |
+
|
| 52 |
+
## Training procedure
|
| 53 |
+
|
| 54 |
+
### Training hyperparameters
|
| 55 |
+
|
| 56 |
+
The following hyperparameters were used during training:
|
| 57 |
+
- learning_rate: 0.0003
|
| 58 |
+
- train_batch_size: 4
|
| 59 |
+
- eval_batch_size: 4
|
| 60 |
+
- seed: 42
|
| 61 |
+
- gradient_accumulation_steps: 2
|
| 62 |
+
- total_train_batch_size: 8
|
| 63 |
+
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 64 |
+
- lr_scheduler_type: linear
|
| 65 |
+
- lr_scheduler_warmup_ratio: 0.3
|
| 66 |
+
- num_epochs: 12
|
| 67 |
+
- mixed_precision_training: Native AMP
|
| 68 |
+
|
| 69 |
+
### Training results
|
| 70 |
+
|
| 71 |
+
| Training Loss | Epoch | Step | Validation Loss | Wer | Cer | Lr |
|
| 72 |
+
|:-------------:|:-------:|:----:|:---------------:|:--------:|:--------:|:------:|
|
| 73 |
+
| 0.9163 | 1.0 | 413 | 0.8402 | 59.8194 | 36.7854 | 0.0001 |
|
| 74 |
+
| 0.5141 | 2.0 | 826 | 0.5758 | 116.7043 | 100.3728 | 0.0002 |
|
| 75 |
+
| 0.4624 | 3.0 | 1239 | 0.5542 | 181.9413 | 220.1740 | 0.0002 |
|
| 76 |
+
| 0.2622 | 4.0 | 1652 | 0.5540 | 36.7946 | 24.9379 | 0.0003 |
|
| 77 |
+
| 0.1687 | 5.0 | 2065 | 0.5141 | 93.4537 | 81.3173 | 0.0002 |
|
| 78 |
+
| 0.0797 | 6.0 | 2478 | 0.5233 | 34.9887 | 24.7307 | 0.0002 |
|
| 79 |
+
| 0.0367 | 7.0 | 2891 | 0.5124 | 36.3431 | 25.2693 | 0.0002 |
|
| 80 |
+
| 0.0264 | 8.0 | 3304 | 0.5188 | 35.2144 | 23.4880 | 0.0001 |
|
| 81 |
+
| 0.0108 | 9.0 | 3717 | 0.4938 | 33.6343 | 23.1152 | 0.0001 |
|
| 82 |
+
| 0.0084 | 10.0 | 4130 | 0.5044 | 37.9233 | 25.1450 | 0.0001 |
|
| 83 |
+
| 0.0014 | 11.0 | 4543 | 0.5071 | 37.2460 | 25.0621 | 0.0000 |
|
| 84 |
+
| 0.0017 | 11.9721 | 4944 | 0.5097 | 37.4718 | 25.0621 | 0.0000 |
|
| 85 |
+
|
| 86 |
+
|
| 87 |
+
### Framework versions
|
| 88 |
+
|
| 89 |
+
- PEFT 0.14.0
|
| 90 |
+
- Transformers 4.49.0
|
| 91 |
+
- Pytorch 2.2.0
|
| 92 |
+
- Datasets 3.3.2
|
| 93 |
+
- Tokenizers 0.21.1
|
adapter_config.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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-medium",
|
| 8 |
+
"bias": "none",
|
| 9 |
+
"eva_config": null,
|
| 10 |
+
"exclude_modules": null,
|
| 11 |
+
"fan_in_fan_out": false,
|
| 12 |
+
"inference_mode": true,
|
| 13 |
+
"init_lora_weights": true,
|
| 14 |
+
"layer_replication": null,
|
| 15 |
+
"layers_pattern": null,
|
| 16 |
+
"layers_to_transform": null,
|
| 17 |
+
"loftq_config": {},
|
| 18 |
+
"lora_alpha": 64,
|
| 19 |
+
"lora_bias": false,
|
| 20 |
+
"lora_dropout": 0.3,
|
| 21 |
+
"megatron_config": null,
|
| 22 |
+
"megatron_core": "megatron.core",
|
| 23 |
+
"modules_to_save": null,
|
| 24 |
+
"peft_type": "LORA",
|
| 25 |
+
"r": 32,
|
| 26 |
+
"rank_pattern": {},
|
| 27 |
+
"revision": null,
|
| 28 |
+
"target_modules": [
|
| 29 |
+
"q_proj",
|
| 30 |
+
"v_proj",
|
| 31 |
+
"k_proj"
|
| 32 |
+
],
|
| 33 |
+
"task_type": null,
|
| 34 |
+
"use_dora": false,
|
| 35 |
+
"use_rslora": false
|
| 36 |
+
}
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d1062013ecc1984e7bf409fca9dca578b1067cbe9b929dd5f5e16284db1869d6
|
| 3 |
+
size 56685000
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c753fcd7426b7bad98d493ae6dbfb1ca0e2a5f41b9254a47ba0b73e23d078cdd
|
| 3 |
+
size 5496
|