End of training
Browse files- README.md +87 -0
- adapter_config.json +35 -0
- adapter_model.safetensors +3 -0
- preprocessor_config.json +14 -0
- training_args.bin +3 -0
README.md
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
- easycall-v2-disordersvoice
|
| 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: easycall-v2-disordersvoice
|
| 21 |
+
type: easycall-v2-disordersvoice
|
| 22 |
+
split: None
|
| 23 |
+
metrics:
|
| 24 |
+
- type: wer
|
| 25 |
+
value: 18.95910780669145
|
| 26 |
+
name: Wer
|
| 27 |
+
---
|
| 28 |
+
|
| 29 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 30 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 31 |
+
|
| 32 |
+
# Whisper Medium
|
| 33 |
+
|
| 34 |
+
This model is a fine-tuned version of [openai/whisper-medium](https://huggingface.co/openai/whisper-medium) on the easycall-v2-disordersvoice dataset.
|
| 35 |
+
It achieves the following results on the evaluation set:
|
| 36 |
+
- Loss: 0.2372
|
| 37 |
+
- Wer: 18.9591
|
| 38 |
+
|
| 39 |
+
## Model description
|
| 40 |
+
|
| 41 |
+
More information needed
|
| 42 |
+
|
| 43 |
+
## Intended uses & limitations
|
| 44 |
+
|
| 45 |
+
More information needed
|
| 46 |
+
|
| 47 |
+
## Training and evaluation data
|
| 48 |
+
|
| 49 |
+
More information needed
|
| 50 |
+
|
| 51 |
+
## Training procedure
|
| 52 |
+
|
| 53 |
+
### Training hyperparameters
|
| 54 |
+
|
| 55 |
+
The following hyperparameters were used during training:
|
| 56 |
+
- learning_rate: 0.0003
|
| 57 |
+
- train_batch_size: 8
|
| 58 |
+
- eval_batch_size: 8
|
| 59 |
+
- seed: 42
|
| 60 |
+
- gradient_accumulation_steps: 2
|
| 61 |
+
- total_train_batch_size: 16
|
| 62 |
+
- optimizer: Use adafactor and the args are:
|
| 63 |
+
No additional optimizer arguments
|
| 64 |
+
- lr_scheduler_type: linear
|
| 65 |
+
- num_epochs: 7
|
| 66 |
+
- mixed_precision_training: Native AMP
|
| 67 |
+
|
| 68 |
+
### Training results
|
| 69 |
+
|
| 70 |
+
| Training Loss | Epoch | Step | Validation Loss | Wer |
|
| 71 |
+
|:-------------:|:-----:|:----:|:---------------:|:-------:|
|
| 72 |
+
| No log | 1.0 | 151 | 0.3071 | 39.0335 |
|
| 73 |
+
| No log | 2.0 | 302 | 0.2418 | 20.0743 |
|
| 74 |
+
| No log | 3.0 | 453 | 0.2288 | 18.0917 |
|
| 75 |
+
| 0.3944 | 4.0 | 604 | 0.2240 | 19.0830 |
|
| 76 |
+
| 0.3944 | 5.0 | 755 | 0.2298 | 17.5960 |
|
| 77 |
+
| 0.3944 | 6.0 | 906 | 0.2339 | 18.8352 |
|
| 78 |
+
| 0.0257 | 7.0 | 1057 | 0.2372 | 18.9591 |
|
| 79 |
+
|
| 80 |
+
|
| 81 |
+
### Framework versions
|
| 82 |
+
|
| 83 |
+
- PEFT 0.14.0
|
| 84 |
+
- Transformers 4.48.1
|
| 85 |
+
- Pytorch 2.2.2+cu121
|
| 86 |
+
- Datasets 2.19.2
|
| 87 |
+
- Tokenizers 0.21.0
|
adapter_config.json
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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.05,
|
| 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 |
+
],
|
| 32 |
+
"task_type": null,
|
| 33 |
+
"use_dora": false,
|
| 34 |
+
"use_rslora": false
|
| 35 |
+
}
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b91a3d8696198aff6f8cc9b668de375522e26c54733105a749389a38e3dde5d6
|
| 3 |
+
size 37789960
|
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 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:73bb7907d04c8249426880e3eec453888f63947cb04b1b09ed0a6e5dcb7f32fb
|
| 3 |
+
size 5496
|