End of training
Browse files- README.md +69 -0
- config.json +51 -0
- generation_config.json +68 -0
- model.safetensors +3 -0
- preprocessor_config.json +14 -0
- runs/Nov11_09-58-13_4257089cd0b0/events.out.tfevents.1731319100.4257089cd0b0.201.3 +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
license: apache-2.0
|
6 |
+
base_model: openai/whisper-tiny.en
|
7 |
+
tags:
|
8 |
+
- product-search
|
9 |
+
- e-commerce
|
10 |
+
- voice-search
|
11 |
+
- generated_from_trainer
|
12 |
+
metrics:
|
13 |
+
- wer
|
14 |
+
model-index:
|
15 |
+
- name: Whisper Tiny Product Search - Your Name
|
16 |
+
results: []
|
17 |
+
---
|
18 |
+
|
19 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
20 |
+
should probably proofread and complete it, then remove this comment. -->
|
21 |
+
|
22 |
+
# Whisper Tiny Product Search - Your Name
|
23 |
+
|
24 |
+
This model is a fine-tuned version of [openai/whisper-tiny.en](https://huggingface.co/openai/whisper-tiny.en) on the Product Search Voice Queries dataset.
|
25 |
+
It achieves the following results on the evaluation set:
|
26 |
+
- Loss: 2.6980
|
27 |
+
- Wer: 69.2308
|
28 |
+
|
29 |
+
## Model description
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Intended uses & limitations
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training and evaluation data
|
38 |
+
|
39 |
+
More information needed
|
40 |
+
|
41 |
+
## Training procedure
|
42 |
+
|
43 |
+
### Training hyperparameters
|
44 |
+
|
45 |
+
The following hyperparameters were used during training:
|
46 |
+
- learning_rate: 1e-05
|
47 |
+
- train_batch_size: 4
|
48 |
+
- eval_batch_size: 4
|
49 |
+
- seed: 42
|
50 |
+
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
51 |
+
- lr_scheduler_type: linear
|
52 |
+
- lr_scheduler_warmup_steps: 2
|
53 |
+
- training_steps: 10
|
54 |
+
- mixed_precision_training: Native AMP
|
55 |
+
|
56 |
+
### Training results
|
57 |
+
|
58 |
+
| Training Loss | Epoch | Step | Validation Loss | Wer |
|
59 |
+
|:-------------:|:------:|:----:|:---------------:|:-------:|
|
60 |
+
| 4.5491 | 1.6667 | 5 | 3.9844 | 61.5385 |
|
61 |
+
| 2.95 | 3.3333 | 10 | 2.6980 | 69.2308 |
|
62 |
+
|
63 |
+
|
64 |
+
### Framework versions
|
65 |
+
|
66 |
+
- Transformers 4.46.2
|
67 |
+
- Pytorch 2.5.0+cu121
|
68 |
+
- Datasets 3.1.0
|
69 |
+
- Tokenizers 0.20.3
|
config.json
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "openai/whisper-tiny.en",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "gelu",
|
5 |
+
"apply_spec_augment": false,
|
6 |
+
"architectures": [
|
7 |
+
"WhisperForConditionalGeneration"
|
8 |
+
],
|
9 |
+
"attention_dropout": 0.0,
|
10 |
+
"begin_suppress_tokens": [
|
11 |
+
220,
|
12 |
+
50256
|
13 |
+
],
|
14 |
+
"bos_token_id": 50257,
|
15 |
+
"classifier_proj_size": 256,
|
16 |
+
"d_model": 384,
|
17 |
+
"decoder_attention_heads": 6,
|
18 |
+
"decoder_ffn_dim": 1536,
|
19 |
+
"decoder_layerdrop": 0.0,
|
20 |
+
"decoder_layers": 4,
|
21 |
+
"decoder_start_token_id": 50257,
|
22 |
+
"dropout": 0.0,
|
23 |
+
"encoder_attention_heads": 6,
|
24 |
+
"encoder_ffn_dim": 1536,
|
25 |
+
"encoder_layerdrop": 0.0,
|
26 |
+
"encoder_layers": 4,
|
27 |
+
"eos_token_id": 50256,
|
28 |
+
"forced_decoder_ids": null,
|
29 |
+
"init_std": 0.02,
|
30 |
+
"is_encoder_decoder": true,
|
31 |
+
"mask_feature_length": 10,
|
32 |
+
"mask_feature_min_masks": 0,
|
33 |
+
"mask_feature_prob": 0.0,
|
34 |
+
"mask_time_length": 10,
|
35 |
+
"mask_time_min_masks": 2,
|
36 |
+
"mask_time_prob": 0.05,
|
37 |
+
"max_length": null,
|
38 |
+
"max_source_positions": 1500,
|
39 |
+
"max_target_positions": 448,
|
40 |
+
"median_filter_width": 7,
|
41 |
+
"model_type": "whisper",
|
42 |
+
"num_hidden_layers": 4,
|
43 |
+
"num_mel_bins": 80,
|
44 |
+
"pad_token_id": 50256,
|
45 |
+
"scale_embedding": false,
|
46 |
+
"torch_dtype": "float32",
|
47 |
+
"transformers_version": "4.46.2",
|
48 |
+
"use_cache": true,
|
49 |
+
"use_weighted_layer_sum": false,
|
50 |
+
"vocab_size": 51864
|
51 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alignment_heads": [
|
3 |
+
[
|
4 |
+
1,
|
5 |
+
0
|
6 |
+
],
|
7 |
+
[
|
8 |
+
2,
|
9 |
+
0
|
10 |
+
],
|
11 |
+
[
|
12 |
+
2,
|
13 |
+
5
|
14 |
+
],
|
15 |
+
[
|
16 |
+
3,
|
17 |
+
0
|
18 |
+
],
|
19 |
+
[
|
20 |
+
3,
|
21 |
+
1
|
22 |
+
],
|
23 |
+
[
|
24 |
+
3,
|
25 |
+
2
|
26 |
+
],
|
27 |
+
[
|
28 |
+
3,
|
29 |
+
3
|
30 |
+
],
|
31 |
+
[
|
32 |
+
3,
|
33 |
+
4
|
34 |
+
]
|
35 |
+
],
|
36 |
+
"begin_suppress_tokens": [
|
37 |
+
220,
|
38 |
+
50256
|
39 |
+
],
|
40 |
+
"bos_token_id": 50257,
|
41 |
+
"decoder_start_token_id": 50257,
|
42 |
+
"eos_token_id": 50256,
|
43 |
+
"forced_decoder_ids": [
|
44 |
+
[
|
45 |
+
1,
|
46 |
+
50362
|
47 |
+
]
|
48 |
+
],
|
49 |
+
"is_multilingual": false,
|
50 |
+
"lang_to_id": {
|
51 |
+
"en": 50259
|
52 |
+
},
|
53 |
+
"language": "en",
|
54 |
+
"max_initial_timestamp_index": 50,
|
55 |
+
"max_length": 448,
|
56 |
+
"no_speech_threshold": null,
|
57 |
+
"no_timestamps_token_id": 50362,
|
58 |
+
"pad_token_id": 50256,
|
59 |
+
"prev_sot_token_id": 50360,
|
60 |
+
"return_timestamps": false,
|
61 |
+
"suppress_tokens": [],
|
62 |
+
"task": "transcribe",
|
63 |
+
"task_to_id": {
|
64 |
+
"transcribe": 50359,
|
65 |
+
"translate": 50358
|
66 |
+
},
|
67 |
+
"transformers_version": "4.46.2"
|
68 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:048a4312d8bb1468301fd13a8416a86f8d11c0491f6587482446c239b49b26cb
|
3 |
+
size 151060136
|
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/Nov11_09-58-13_4257089cd0b0/events.out.tfevents.1731319100.4257089cd0b0.201.3
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e61fa5332a563673b6626e8091bc05266e010155d322d57cddc054dd9d8b5ca6
|
3 |
+
size 8943
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:22fa3de4d29329e47109d676146bf9d2900b9ff1cca37ba48cfb43241312ffc7
|
3 |
+
size 5432
|