jeanbap166
commited on
Commit
•
fde14f1
1
Parent(s):
7d2340e
End of training
Browse files- README.md +74 -0
- adapter_config.json +32 -0
- adapter_model.safetensors +3 -0
- preprocessor_config.json +14 -0
- runs/Aug16_10-13-38_127f8fee377d/events.out.tfevents.1723803240.127f8fee377d.1656.0 +3 -0
- runs/Aug16_10-13-38_127f8fee377d/events.out.tfevents.1723803282.127f8fee377d.1656.1 +3 -0
- runs/Aug16_10-40-28_127f8fee377d/events.out.tfevents.1723804838.127f8fee377d.1656.2 +3 -0
- runs/Aug16_10-40-28_127f8fee377d/events.out.tfevents.1723804890.127f8fee377d.1656.3 +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: openai/whisper-small
|
3 |
+
datasets:
|
4 |
+
- test16082024Diny
|
5 |
+
language:
|
6 |
+
- fr
|
7 |
+
library_name: peft
|
8 |
+
license: apache-2.0
|
9 |
+
tags:
|
10 |
+
- generated_from_trainer
|
11 |
+
model-index:
|
12 |
+
- name: Whisper Small Diny
|
13 |
+
results: []
|
14 |
+
---
|
15 |
+
|
16 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
17 |
+
should probably proofread and complete it, then remove this comment. -->
|
18 |
+
|
19 |
+
# Whisper Small Diny
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [openai/whisper-small](https://huggingface.co/openai/whisper-small) on the Diny dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.6336
|
24 |
+
|
25 |
+
## Model description
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Intended uses & limitations
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Training and evaluation data
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training procedure
|
38 |
+
|
39 |
+
### Training hyperparameters
|
40 |
+
|
41 |
+
The following hyperparameters were used during training:
|
42 |
+
- learning_rate: 0.0001
|
43 |
+
- train_batch_size: 8
|
44 |
+
- eval_batch_size: 8
|
45 |
+
- seed: 42
|
46 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
47 |
+
- lr_scheduler_type: linear
|
48 |
+
- lr_scheduler_warmup_steps: 50
|
49 |
+
- num_epochs: 10
|
50 |
+
- mixed_precision_training: Native AMP
|
51 |
+
|
52 |
+
### Training results
|
53 |
+
|
54 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
55 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
56 |
+
| 3.853 | 1.0 | 9 | 3.5040 |
|
57 |
+
| 3.2074 | 2.0 | 18 | 3.0067 |
|
58 |
+
| 2.6069 | 3.0 | 27 | 2.4636 |
|
59 |
+
| 1.955 | 4.0 | 36 | 1.8001 |
|
60 |
+
| 1.1568 | 5.0 | 45 | 0.9291 |
|
61 |
+
| 0.7625 | 6.0 | 54 | 0.8403 |
|
62 |
+
| 0.585 | 7.0 | 63 | 0.7019 |
|
63 |
+
| 0.5889 | 8.0 | 72 | 0.7064 |
|
64 |
+
| 0.5227 | 9.0 | 81 | 0.6428 |
|
65 |
+
| 0.5145 | 10.0 | 90 | 0.6336 |
|
66 |
+
|
67 |
+
|
68 |
+
### Framework versions
|
69 |
+
|
70 |
+
- PEFT 0.12.0
|
71 |
+
- Transformers 4.42.4
|
72 |
+
- Pytorch 2.3.1+cu121
|
73 |
+
- Datasets 2.21.0
|
74 |
+
- Tokenizers 0.19.1
|
adapter_config.json
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"fan_in_fan_out": false,
|
10 |
+
"inference_mode": true,
|
11 |
+
"init_lora_weights": true,
|
12 |
+
"layer_replication": null,
|
13 |
+
"layers_pattern": null,
|
14 |
+
"layers_to_transform": null,
|
15 |
+
"loftq_config": {},
|
16 |
+
"lora_alpha": 64,
|
17 |
+
"lora_dropout": 0.05,
|
18 |
+
"megatron_config": null,
|
19 |
+
"megatron_core": "megatron.core",
|
20 |
+
"modules_to_save": null,
|
21 |
+
"peft_type": "LORA",
|
22 |
+
"r": 32,
|
23 |
+
"rank_pattern": {},
|
24 |
+
"revision": null,
|
25 |
+
"target_modules": [
|
26 |
+
"q_proj",
|
27 |
+
"v_proj"
|
28 |
+
],
|
29 |
+
"task_type": null,
|
30 |
+
"use_dora": false,
|
31 |
+
"use_rslora": false
|
32 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3a54541eb407a37470536c4cb2b215d3346ff8fd767d8b57152dbee82c7eed55
|
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/Aug16_10-13-38_127f8fee377d/events.out.tfevents.1723803240.127f8fee377d.1656.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:44d23198c080a1d667907023131dab6ed7907f0002aefb5ddb1bceed26d83857
|
3 |
+
size 5735
|
runs/Aug16_10-13-38_127f8fee377d/events.out.tfevents.1723803282.127f8fee377d.1656.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b6f4d0c3fd4935e8695e156fdaf509fa8441d94d0190c0254d4fc0c48d97c566
|
3 |
+
size 5735
|
runs/Aug16_10-40-28_127f8fee377d/events.out.tfevents.1723804838.127f8fee377d.1656.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b0473aeb5fff9191bdd7294f1f9bbd6d299b2768e993786cfaab8297b7e0c486
|
3 |
+
size 6356
|
runs/Aug16_10-40-28_127f8fee377d/events.out.tfevents.1723804890.127f8fee377d.1656.3
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f3360ed771b49f2ac39bf1b9e73f3d2a98590b6d7282f288607cce2043bae87d
|
3 |
+
size 14953
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5d6e48ca1344df8ae02c8d3f1e49a79b91b99a7e7d8a88d7f4145fdca34a7402
|
3 |
+
size 5304
|