End of training
Browse files- README.md +96 -0
- adapter_config.json +36 -0
- adapter_model.safetensors +3 -0
- preprocessor_config.json +14 -0
- runs/Feb14_13-04-55_e7511933f02a/events.out.tfevents.1739538298.e7511933f02a +3 -0
- training_args.bin +3 -0
README.md
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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-clean
|
| 11 |
+
metrics:
|
| 12 |
+
- wer
|
| 13 |
+
model-index:
|
| 14 |
+
- name: Whisper Medium
|
| 15 |
+
results:
|
| 16 |
+
- task:
|
| 17 |
+
type: automatic-speech-recognition
|
| 18 |
+
name: Automatic Speech Recognition
|
| 19 |
+
dataset:
|
| 20 |
+
name: b-brave-clean
|
| 21 |
+
type: b-brave-clean
|
| 22 |
+
config: default
|
| 23 |
+
split: test
|
| 24 |
+
args: default
|
| 25 |
+
metrics:
|
| 26 |
+
- type: wer
|
| 27 |
+
value: 41.260744985673355
|
| 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 |
+
# Whisper Medium
|
| 35 |
+
|
| 36 |
+
This model is a fine-tuned version of [openai/whisper-medium](https://huggingface.co/openai/whisper-medium) on the b-brave-clean dataset.
|
| 37 |
+
It achieves the following results on the evaluation set:
|
| 38 |
+
- Loss: 0.3776
|
| 39 |
+
- Wer: 41.2607
|
| 40 |
+
- Cer: 30.2338
|
| 41 |
+
- Lr: 0.0000
|
| 42 |
+
|
| 43 |
+
## Model description
|
| 44 |
+
|
| 45 |
+
More information needed
|
| 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: 0.0003
|
| 61 |
+
- train_batch_size: 8
|
| 62 |
+
- eval_batch_size: 8
|
| 63 |
+
- seed: 42
|
| 64 |
+
- gradient_accumulation_steps: 2
|
| 65 |
+
- total_train_batch_size: 16
|
| 66 |
+
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 67 |
+
- lr_scheduler_type: linear
|
| 68 |
+
- lr_scheduler_warmup_ratio: 0.3
|
| 69 |
+
- num_epochs: 12
|
| 70 |
+
- mixed_precision_training: Native AMP
|
| 71 |
+
|
| 72 |
+
### Training results
|
| 73 |
+
|
| 74 |
+
| Training Loss | Epoch | Step | Validation Loss | Wer | Cer | Lr |
|
| 75 |
+
|:-------------:|:-----:|:----:|:---------------:|:-------:|:-------:|:------:|
|
| 76 |
+
| 1.2755 | 1.0 | 251 | 1.0659 | 71.4900 | 45.8103 | 0.0001 |
|
| 77 |
+
| 0.8309 | 2.0 | 502 | 0.7274 | 63.6103 | 44.2868 | 0.0002 |
|
| 78 |
+
| 0.5827 | 3.0 | 753 | 0.5902 | 56.1605 | 38.9283 | 0.0002 |
|
| 79 |
+
| 0.3714 | 4.0 | 1004 | 0.5072 | 53.2951 | 38.7444 | 0.0003 |
|
| 80 |
+
| 0.1876 | 5.0 | 1255 | 0.4535 | 46.2751 | 32.8080 | 0.0003 |
|
| 81 |
+
| 0.1278 | 6.0 | 1506 | 0.3975 | 44.8424 | 33.0444 | 0.0002 |
|
| 82 |
+
| 0.0562 | 7.0 | 1757 | 0.3698 | 36.1032 | 26.3987 | 0.0002 |
|
| 83 |
+
| 0.0209 | 8.0 | 2008 | 0.4188 | 56.3037 | 46.4145 | 0.0001 |
|
| 84 |
+
| 0.0123 | 9.0 | 2259 | 0.3916 | 40.8309 | 29.8398 | 0.0001 |
|
| 85 |
+
| 0.005 | 10.0 | 2510 | 0.3819 | 41.5473 | 30.4965 | 0.0001 |
|
| 86 |
+
| 0.0031 | 11.0 | 2761 | 0.3779 | 41.8338 | 30.7591 | 0.0000 |
|
| 87 |
+
| 0.0018 | 12.0 | 3012 | 0.3776 | 41.2607 | 30.2338 | 0.0000 |
|
| 88 |
+
|
| 89 |
+
|
| 90 |
+
### Framework versions
|
| 91 |
+
|
| 92 |
+
- PEFT 0.14.0
|
| 93 |
+
- Transformers 4.48.3
|
| 94 |
+
- Pytorch 2.2.0
|
| 95 |
+
- Datasets 3.2.0
|
| 96 |
+
- Tokenizers 0.21.0
|
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.2,
|
| 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 |
+
"v_proj",
|
| 30 |
+
"q_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:bc09d8dc7004e60203e6e3e40e02e0960cd63909f959ca54c8d827a0f8ac860d
|
| 3 |
+
size 56685000
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"chunk_length": 30,
|
| 3 |
+
"feature_extractor_type": "WhisperFeatureExtractor",
|
| 4 |
+
"feature_size": 80,
|
| 5 |
+
"hop_length": 160,
|
| 6 |
+
"n_fft": 400,
|
| 7 |
+
"n_samples": 480000,
|
| 8 |
+
"nb_max_frames": 3000,
|
| 9 |
+
"padding_side": "right",
|
| 10 |
+
"padding_value": 0.0,
|
| 11 |
+
"processor_class": "WhisperProcessor",
|
| 12 |
+
"return_attention_mask": false,
|
| 13 |
+
"sampling_rate": 16000
|
| 14 |
+
}
|
runs/Feb14_13-04-55_e7511933f02a/events.out.tfevents.1739538298.e7511933f02a
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e69973cf99128988e3883bf61394db76d50b137ab76afa17d110995b4cd8195a
|
| 3 |
+
size 37412
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b994b547632e1065cdd002ce9702049a58a6c6db69b37a712c39bae40ffefb48
|
| 3 |
+
size 5496
|