End of training
Browse files
README.md
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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: 57.44985673352435
|
| 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.6278
|
| 39 |
+
- Wer: 57.4499
|
| 40 |
+
- Cer: 38.7444
|
| 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: 3e-05
|
| 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.5
|
| 69 |
+
- num_epochs: 16
|
| 70 |
+
- mixed_precision_training: Native AMP
|
| 71 |
+
|
| 72 |
+
### Training results
|
| 73 |
+
|
| 74 |
+
| Training Loss | Epoch | Step | Validation Loss | Wer | Cer | Lr |
|
| 75 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:-------:|:------:|
|
| 76 |
+
| 4.3003 | 1.0 | 251 | 1.8420 | 77.7937 | 47.7279 | 0.0000 |
|
| 77 |
+
| 2.9936 | 2.0 | 502 | 1.2434 | 77.3639 | 47.9117 | 0.0000 |
|
| 78 |
+
| 2.8135 | 3.0 | 753 | 1.1431 | 74.9284 | 47.7279 | 0.0000 |
|
| 79 |
+
| 2.4032 | 4.0 | 1004 | 1.0400 | 74.6418 | 47.1237 | 0.0000 |
|
| 80 |
+
| 1.9765 | 5.0 | 1255 | 0.9656 | 74.2120 | 47.2551 | 0.0000 |
|
| 81 |
+
| 1.8144 | 6.0 | 1506 | 0.8685 | 107.3066 | 74.4944 | 0.0000 |
|
| 82 |
+
| 1.4479 | 7.0 | 1757 | 0.8158 | 63.8968 | 42.3431 | 0.0000 |
|
| 83 |
+
| 1.2718 | 8.0 | 2008 | 0.7787 | 67.1920 | 45.3901 | 0.0000 |
|
| 84 |
+
| 1.135 | 9.0 | 2259 | 0.7262 | 111.1748 | 98.4502 | 0.0000 |
|
| 85 |
+
| 0.833 | 10.0 | 2510 | 0.7015 | 94.4126 | 61.3869 | 0.0000 |
|
| 86 |
+
| 0.7509 | 11.0 | 2761 | 0.6963 | 62.1777 | 41.7914 | 0.0000 |
|
| 87 |
+
| 0.7171 | 12.0 | 3012 | 0.6650 | 61.8911 | 42.9997 | 0.0000 |
|
| 88 |
+
| 0.4706 | 13.0 | 3263 | 0.6258 | 77.6504 | 57.8671 | 0.0000 |
|
| 89 |
+
| 0.4988 | 14.0 | 3514 | 0.6249 | 59.5989 | 40.5306 | 0.0000 |
|
| 90 |
+
| 0.4503 | 15.0 | 3765 | 0.6201 | 59.1691 | 40.0841 | 0.0000 |
|
| 91 |
+
| 0.3741 | 16.0 | 4016 | 0.6278 | 57.4499 | 38.7444 | 0.0000 |
|
| 92 |
+
|
| 93 |
+
|
| 94 |
+
### Framework versions
|
| 95 |
+
|
| 96 |
+
- PEFT 0.14.0
|
| 97 |
+
- Transformers 4.48.3
|
| 98 |
+
- Pytorch 2.2.0
|
| 99 |
+
- Datasets 3.2.0
|
| 100 |
+
- 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.1,
|
| 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 |
+
"k_proj",
|
| 30 |
+
"q_proj",
|
| 31 |
+
"v_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:93e8239de8323f65847ec43ccd044796f455839390f2f364d311ac772a7348bb
|
| 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/Feb11_21-25-56_e7511933f02a/events.out.tfevents.1739310476.e7511933f02a
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:41ee3877e3b8142db5ba7956a825f7dcff66d8e5c30f935ca037ceded1175c13
|
| 3 |
+
size 39578
|
runs/Feb11_23-26-16_e7511933f02a/events.out.tfevents.1739316380.e7511933f02a
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a451aa9343622bd26fc6687422d4c8d3ebc59d377ab5be539c0dfb8ddd793f1f
|
| 3 |
+
size 47495
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:842c56acaebe9b0fa6669544974b3ee5f3c4f7a89d4c85212f1982411b19088c
|
| 3 |
+
size 5496
|