End of training
Browse files- README.md +86 -0
- config.json +110 -0
- model.safetensors +3 -0
- preprocessor_config.json +9 -0
- runs/Jun03_11-21-53_35b7665ef3f8/events.out.tfevents.1717413737.35b7665ef3f8.785.0 +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- eng
|
4 |
+
license: apache-2.0
|
5 |
+
base_model: facebook/wav2vec2-base-960h
|
6 |
+
tags:
|
7 |
+
- '[finetuned_model, lj_speech11]'
|
8 |
+
- generated_from_trainer
|
9 |
+
datasets:
|
10 |
+
- FYP/LJ-Speech1111LJ
|
11 |
+
model-index:
|
12 |
+
- name: SpeechT5 STT Wav2Vec2
|
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 |
+
# SpeechT5 STT Wav2Vec2
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [facebook/wav2vec2-base-960h](https://huggingface.co/facebook/wav2vec2-base-960h) on the Lj-Speech dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 509.3571
|
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: 16
|
44 |
+
- eval_batch_size: 8
|
45 |
+
- seed: 42
|
46 |
+
- gradient_accumulation_steps: 2
|
47 |
+
- total_train_batch_size: 32
|
48 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
49 |
+
- lr_scheduler_type: linear
|
50 |
+
- lr_scheduler_warmup_steps: 100
|
51 |
+
- num_epochs: 3
|
52 |
+
- mixed_precision_training: Native AMP
|
53 |
+
|
54 |
+
### Training results
|
55 |
+
|
56 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
57 |
+
|:-------------:|:------:|:----:|:---------------:|
|
58 |
+
| 19536.3975 | 0.1376 | 50 | 8125.4639 |
|
59 |
+
| 2673.9081 | 0.2751 | 100 | 909.8571 |
|
60 |
+
| 1958.4278 | 0.4127 | 150 | 544.6085 |
|
61 |
+
| 1268.7548 | 0.5502 | 200 | 555.2729 |
|
62 |
+
| 1504.7081 | 0.6878 | 250 | 520.7637 |
|
63 |
+
| 1322.1669 | 0.8253 | 300 | 572.5987 |
|
64 |
+
| 1331.9734 | 0.9629 | 350 | 514.8672 |
|
65 |
+
| 1149.1491 | 1.1004 | 400 | 525.9183 |
|
66 |
+
| 1063.02 | 1.2380 | 450 | 511.6159 |
|
67 |
+
| 1063.2695 | 1.3755 | 500 | 521.9377 |
|
68 |
+
| 1037.6037 | 1.5131 | 550 | 511.7293 |
|
69 |
+
| 1065.5638 | 1.6506 | 600 | 510.2425 |
|
70 |
+
| 1025.7576 | 1.7882 | 650 | 506.2704 |
|
71 |
+
| 1132.412 | 1.9257 | 700 | 525.5427 |
|
72 |
+
| 1033.8723 | 2.0633 | 750 | 506.9381 |
|
73 |
+
| 1027.0328 | 2.2008 | 800 | 513.5829 |
|
74 |
+
| 1024.9632 | 2.3384 | 850 | 518.4105 |
|
75 |
+
| 1023.1637 | 2.4759 | 900 | 515.6079 |
|
76 |
+
| 1006.7498 | 2.6135 | 950 | 513.5686 |
|
77 |
+
| 1026.8645 | 2.7510 | 1000 | 507.8027 |
|
78 |
+
| 1026.9354 | 2.8886 | 1050 | 509.3571 |
|
79 |
+
|
80 |
+
|
81 |
+
### Framework versions
|
82 |
+
|
83 |
+
- Transformers 4.41.2
|
84 |
+
- Pytorch 2.3.0+cu121
|
85 |
+
- Datasets 2.19.2
|
86 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
@@ -0,0 +1,110 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/wav2vec2-base-960h",
|
3 |
+
"activation_dropout": 0.1,
|
4 |
+
"adapter_attn_dim": null,
|
5 |
+
"adapter_kernel_size": 3,
|
6 |
+
"adapter_stride": 2,
|
7 |
+
"add_adapter": false,
|
8 |
+
"apply_spec_augment": true,
|
9 |
+
"architectures": [
|
10 |
+
"Wav2Vec2ForCTC"
|
11 |
+
],
|
12 |
+
"attention_dropout": 0.1,
|
13 |
+
"bos_token_id": 1,
|
14 |
+
"classifier_proj_size": 256,
|
15 |
+
"codevector_dim": 256,
|
16 |
+
"contrastive_logits_temperature": 0.1,
|
17 |
+
"conv_bias": false,
|
18 |
+
"conv_dim": [
|
19 |
+
512,
|
20 |
+
512,
|
21 |
+
512,
|
22 |
+
512,
|
23 |
+
512,
|
24 |
+
512,
|
25 |
+
512
|
26 |
+
],
|
27 |
+
"conv_kernel": [
|
28 |
+
10,
|
29 |
+
3,
|
30 |
+
3,
|
31 |
+
3,
|
32 |
+
3,
|
33 |
+
2,
|
34 |
+
2
|
35 |
+
],
|
36 |
+
"conv_stride": [
|
37 |
+
5,
|
38 |
+
2,
|
39 |
+
2,
|
40 |
+
2,
|
41 |
+
2,
|
42 |
+
2,
|
43 |
+
2
|
44 |
+
],
|
45 |
+
"ctc_loss_reduction": "sum",
|
46 |
+
"ctc_zero_infinity": false,
|
47 |
+
"diversity_loss_weight": 0.1,
|
48 |
+
"do_stable_layer_norm": false,
|
49 |
+
"eos_token_id": 2,
|
50 |
+
"feat_extract_activation": "gelu",
|
51 |
+
"feat_extract_dropout": 0.0,
|
52 |
+
"feat_extract_norm": "group",
|
53 |
+
"feat_proj_dropout": 0.1,
|
54 |
+
"feat_quantizer_dropout": 0.0,
|
55 |
+
"final_dropout": 0.1,
|
56 |
+
"gradient_checkpointing": false,
|
57 |
+
"hidden_act": "gelu",
|
58 |
+
"hidden_dropout": 0.1,
|
59 |
+
"hidden_dropout_prob": 0.1,
|
60 |
+
"hidden_size": 768,
|
61 |
+
"initializer_range": 0.02,
|
62 |
+
"intermediate_size": 3072,
|
63 |
+
"layer_norm_eps": 1e-05,
|
64 |
+
"layerdrop": 0.1,
|
65 |
+
"mask_feature_length": 10,
|
66 |
+
"mask_feature_min_masks": 0,
|
67 |
+
"mask_feature_prob": 0.0,
|
68 |
+
"mask_time_length": 10,
|
69 |
+
"mask_time_min_masks": 2,
|
70 |
+
"mask_time_prob": 0.05,
|
71 |
+
"model_type": "wav2vec2",
|
72 |
+
"num_adapter_layers": 3,
|
73 |
+
"num_attention_heads": 12,
|
74 |
+
"num_codevector_groups": 2,
|
75 |
+
"num_codevectors_per_group": 320,
|
76 |
+
"num_conv_pos_embedding_groups": 16,
|
77 |
+
"num_conv_pos_embeddings": 128,
|
78 |
+
"num_feat_extract_layers": 7,
|
79 |
+
"num_hidden_layers": 12,
|
80 |
+
"num_negatives": 100,
|
81 |
+
"output_hidden_size": 768,
|
82 |
+
"pad_token_id": 0,
|
83 |
+
"proj_codevector_dim": 256,
|
84 |
+
"tdnn_dilation": [
|
85 |
+
1,
|
86 |
+
2,
|
87 |
+
3,
|
88 |
+
1,
|
89 |
+
1
|
90 |
+
],
|
91 |
+
"tdnn_dim": [
|
92 |
+
512,
|
93 |
+
512,
|
94 |
+
512,
|
95 |
+
512,
|
96 |
+
1500
|
97 |
+
],
|
98 |
+
"tdnn_kernel": [
|
99 |
+
5,
|
100 |
+
3,
|
101 |
+
3,
|
102 |
+
1,
|
103 |
+
1
|
104 |
+
],
|
105 |
+
"torch_dtype": "float32",
|
106 |
+
"transformers_version": "4.41.2",
|
107 |
+
"use_weighted_layer_sum": false,
|
108 |
+
"vocab_size": 32,
|
109 |
+
"xvector_output_dim": 512
|
110 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d84fee48c0b18002daa7ca6fe3f6300d2743e5717de5801a2d6039385ffd591d
|
3 |
+
size 377611120
|
preprocessor_config.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"feature_extractor_type": "Wav2Vec2FeatureExtractor",
|
4 |
+
"feature_size": 1,
|
5 |
+
"padding_side": "right",
|
6 |
+
"padding_value": 0.0,
|
7 |
+
"return_attention_mask": false,
|
8 |
+
"sampling_rate": 16000
|
9 |
+
}
|
runs/Jun03_11-21-53_35b7665ef3f8/events.out.tfevents.1717413737.35b7665ef3f8.785.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7ae3ccbcb25b38415ac67ce27379c67a38414f2cecd1c179bd6a93c41762950d
|
3 |
+
size 21332
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2064a9ffcb9d3203af32d3053d0b13d238700d01ebe159512c997308adeaf48b
|
3 |
+
size 5048
|