mariana-coelho-9
commited on
Commit
•
aa54ab2
1
Parent(s):
59402e2
End of training
Browse files- README.md +81 -0
- adapter_config.json +33 -0
- adapter_model.safetensors +3 -0
- preprocessor_config.json +14 -0
- runs/Oct25_10-11-36_4c2311a25afc/events.out.tfevents.1729851112.4c2311a25afc.639.0 +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: peft
|
3 |
+
language:
|
4 |
+
- pt
|
5 |
+
license: apache-2.0
|
6 |
+
base_model: openai/whisper-small
|
7 |
+
tags:
|
8 |
+
- generated_from_trainer
|
9 |
+
datasets:
|
10 |
+
- mozilla-foundation/common_voice_11_0
|
11 |
+
metrics:
|
12 |
+
- wer
|
13 |
+
model-index:
|
14 |
+
- name: Whisper Small Peft pt
|
15 |
+
results:
|
16 |
+
- task:
|
17 |
+
type: automatic-speech-recognition
|
18 |
+
name: Automatic Speech Recognition
|
19 |
+
dataset:
|
20 |
+
name: Common Voice 11.0
|
21 |
+
type: mozilla-foundation/common_voice_11_0
|
22 |
+
config: pt
|
23 |
+
split: test
|
24 |
+
args: 'config: pt, split: train/test'
|
25 |
+
metrics:
|
26 |
+
- type: wer
|
27 |
+
value: 20.22732270013362
|
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 Small Peft pt
|
35 |
+
|
36 |
+
This model is a fine-tuned version of [openai/whisper-small](https://huggingface.co/openai/whisper-small) on the Common Voice 11.0 dataset.
|
37 |
+
It achieves the following results on the evaluation set:
|
38 |
+
- Loss: 0.9480
|
39 |
+
- Wer: 20.2273
|
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: 16
|
60 |
+
- eval_batch_size: 8
|
61 |
+
- seed: 42
|
62 |
+
- optimizer: Use 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: 50
|
65 |
+
- training_steps: 1000
|
66 |
+
- mixed_precision_training: Native AMP
|
67 |
+
|
68 |
+
### Training results
|
69 |
+
|
70 |
+
| Training Loss | Epoch | Step | Validation Loss | Wer |
|
71 |
+
|:-------------:|:------:|:----:|:---------------:|:-------:|
|
72 |
+
| 0.9388 | 0.8780 | 1000 | 0.9480 | 20.2273 |
|
73 |
+
|
74 |
+
|
75 |
+
### Framework versions
|
76 |
+
|
77 |
+
- PEFT 0.13.3.dev0
|
78 |
+
- Transformers 4.47.0.dev0
|
79 |
+
- Pytorch 2.5.0+cu121
|
80 |
+
- Datasets 3.0.2
|
81 |
+
- Tokenizers 0.20.1
|
adapter_config.json
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-small",
|
8 |
+
"bias": "none",
|
9 |
+
"exclude_modules": null,
|
10 |
+
"fan_in_fan_out": false,
|
11 |
+
"inference_mode": true,
|
12 |
+
"init_lora_weights": true,
|
13 |
+
"layer_replication": null,
|
14 |
+
"layers_pattern": null,
|
15 |
+
"layers_to_transform": null,
|
16 |
+
"loftq_config": {},
|
17 |
+
"lora_alpha": 64,
|
18 |
+
"lora_dropout": 0.05,
|
19 |
+
"megatron_config": null,
|
20 |
+
"megatron_core": "megatron.core",
|
21 |
+
"modules_to_save": null,
|
22 |
+
"peft_type": "LORA",
|
23 |
+
"r": 32,
|
24 |
+
"rank_pattern": {},
|
25 |
+
"revision": null,
|
26 |
+
"target_modules": [
|
27 |
+
"v_proj",
|
28 |
+
"q_proj"
|
29 |
+
],
|
30 |
+
"task_type": null,
|
31 |
+
"use_dora": false,
|
32 |
+
"use_rslora": false
|
33 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0681ab574d0dcd02fc46c83f5f7c170dabfa052a549746adb4dc0964abdea5ba
|
3 |
+
size 14176064
|
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/Oct25_10-11-36_4c2311a25afc/events.out.tfevents.1729851112.4c2311a25afc.639.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b8d51a38e9661b71e214df089d7e05edda573d8a253e1b66bdac7fb3d63fa9ad
|
3 |
+
size 15546
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:eead0321470c3df964da9d6f023ffd243af7b4cc78fde56d06fd2e30cd3566b6
|
3 |
+
size 5432
|