End of training
Browse files- README.md +69 -0
- adapter_config.json +34 -0
- adapter_model.safetensors +3 -0
- preprocessor_config.json +14 -0
- runs/Nov13_11-20-50_c6dc0a783a0b/events.out.tfevents.1731496856.c6dc0a783a0b.23.0 +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: openai/whisper-large-v2
|
3 |
+
datasets:
|
4 |
+
- mozilla-foundation/common_voice_11_0
|
5 |
+
language:
|
6 |
+
- hi
|
7 |
+
library_name: peft
|
8 |
+
license: apache-2.0
|
9 |
+
tags:
|
10 |
+
- generated_from_trainer
|
11 |
+
model-index:
|
12 |
+
- name: LSP_ASR
|
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 |
+
# LSP_ASR
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [openai/whisper-small](https://huggingface.co/openai/whisper-small) on the Common Voice 11.0 dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.1968
|
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.001
|
43 |
+
- train_batch_size: 2
|
44 |
+
- eval_batch_size: 8
|
45 |
+
- seed: 42
|
46 |
+
- gradient_accumulation_steps: 4
|
47 |
+
- total_train_batch_size: 8
|
48 |
+
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
49 |
+
- lr_scheduler_type: linear
|
50 |
+
- lr_scheduler_warmup_steps: 50
|
51 |
+
- num_epochs: 3
|
52 |
+
- mixed_precision_training: Native AMP
|
53 |
+
|
54 |
+
### Training results
|
55 |
+
|
56 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
57 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
58 |
+
| 0.2323 | 1.0 | 491 | 0.2821 |
|
59 |
+
| 0.1509 | 2.0 | 982 | 0.2189 |
|
60 |
+
| 0.0799 | 3.0 | 1473 | 0.1968 |
|
61 |
+
|
62 |
+
|
63 |
+
### Framework versions
|
64 |
+
|
65 |
+
- PEFT 0.13.3.dev0
|
66 |
+
- Transformers 4.47.0.dev0
|
67 |
+
- Pytorch 2.4.0
|
68 |
+
- Datasets 3.0.1
|
69 |
+
- Tokenizers 0.20.0
|
adapter_config.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-large-v2",
|
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_dropout": 0.05,
|
20 |
+
"megatron_config": null,
|
21 |
+
"megatron_core": "megatron.core",
|
22 |
+
"modules_to_save": null,
|
23 |
+
"peft_type": "LORA",
|
24 |
+
"r": 32,
|
25 |
+
"rank_pattern": {},
|
26 |
+
"revision": null,
|
27 |
+
"target_modules": [
|
28 |
+
"v_proj",
|
29 |
+
"q_proj"
|
30 |
+
],
|
31 |
+
"task_type": null,
|
32 |
+
"use_dora": false,
|
33 |
+
"use_rslora": false
|
34 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:483bba05fe3883f252aaf0da49c18ff54c8bd42aa31adeadcece898326253419
|
3 |
+
size 62969640
|
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/Nov13_11-20-50_c6dc0a783a0b/events.out.tfevents.1731496856.c6dc0a783a0b.23.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:889a22a7f2fc7d3c1fc44e687c53c4392cb52d785b6a55f420eef9fa2355accd
|
3 |
+
size 19738
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:39a42615f82efe78e0ab5649ef5a138919a1a970f87ad653cfdf9b837e960655
|
3 |
+
size 5496
|