SiRoZaRuPa
commited on
Commit
•
de726b8
1
Parent(s):
8242bdc
End of training
Browse files- README.md +122 -198
- config.json +110 -0
- model.safetensors +3 -0
- preprocessor_config.json +9 -0
- training_args.bin +3 -0
README.md
CHANGED
@@ -1,201 +1,125 @@
|
|
1 |
---
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
---
|
5 |
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
-
|
34 |
-
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
<!-- This section describes the evaluation protocols and provides the results. -->
|
106 |
-
|
107 |
-
### Testing Data, Factors & Metrics
|
108 |
-
|
109 |
-
#### Testing Data
|
110 |
-
|
111 |
-
<!-- This should link to a Dataset Card if possible. -->
|
112 |
-
|
113 |
-
[More Information Needed]
|
114 |
-
|
115 |
-
#### Factors
|
116 |
-
|
117 |
-
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
118 |
-
|
119 |
-
[More Information Needed]
|
120 |
-
|
121 |
-
#### Metrics
|
122 |
-
|
123 |
-
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
124 |
-
|
125 |
-
[More Information Needed]
|
126 |
-
|
127 |
-
### Results
|
128 |
-
|
129 |
-
[More Information Needed]
|
130 |
-
|
131 |
-
#### Summary
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
## Model Examination [optional]
|
136 |
-
|
137 |
-
<!-- Relevant interpretability work for the model goes here -->
|
138 |
-
|
139 |
-
[More Information Needed]
|
140 |
-
|
141 |
-
## Environmental Impact
|
142 |
-
|
143 |
-
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
144 |
-
|
145 |
-
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
146 |
-
|
147 |
-
- **Hardware Type:** [More Information Needed]
|
148 |
-
- **Hours used:** [More Information Needed]
|
149 |
-
- **Cloud Provider:** [More Information Needed]
|
150 |
-
- **Compute Region:** [More Information Needed]
|
151 |
-
- **Carbon Emitted:** [More Information Needed]
|
152 |
-
|
153 |
-
## Technical Specifications [optional]
|
154 |
-
|
155 |
-
### Model Architecture and Objective
|
156 |
-
|
157 |
-
[More Information Needed]
|
158 |
-
|
159 |
-
### Compute Infrastructure
|
160 |
-
|
161 |
-
[More Information Needed]
|
162 |
-
|
163 |
-
#### Hardware
|
164 |
-
|
165 |
-
[More Information Needed]
|
166 |
-
|
167 |
-
#### Software
|
168 |
-
|
169 |
-
[More Information Needed]
|
170 |
-
|
171 |
-
## Citation [optional]
|
172 |
-
|
173 |
-
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
174 |
-
|
175 |
-
**BibTeX:**
|
176 |
-
|
177 |
-
[More Information Needed]
|
178 |
-
|
179 |
-
**APA:**
|
180 |
-
|
181 |
-
[More Information Needed]
|
182 |
-
|
183 |
-
## Glossary [optional]
|
184 |
-
|
185 |
-
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
186 |
-
|
187 |
-
[More Information Needed]
|
188 |
-
|
189 |
-
## More Information [optional]
|
190 |
-
|
191 |
-
[More Information Needed]
|
192 |
-
|
193 |
-
## Model Card Authors [optional]
|
194 |
-
|
195 |
-
[More Information Needed]
|
196 |
-
|
197 |
-
## Model Card Contact
|
198 |
-
|
199 |
-
[More Information Needed]
|
200 |
-
|
201 |
-
|
|
|
1 |
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: facebook/wav2vec2-base-960h
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- audiofolder
|
8 |
+
metrics:
|
9 |
+
- wer
|
10 |
+
model-index:
|
11 |
+
- name: JP-base-clean-0215
|
12 |
+
results:
|
13 |
+
- task:
|
14 |
+
name: Automatic Speech Recognition
|
15 |
+
type: automatic-speech-recognition
|
16 |
+
dataset:
|
17 |
+
name: audiofolder
|
18 |
+
type: audiofolder
|
19 |
+
config: default
|
20 |
+
split: train
|
21 |
+
args: default
|
22 |
+
metrics:
|
23 |
+
- name: Wer
|
24 |
+
type: wer
|
25 |
+
value: 0.983
|
26 |
---
|
27 |
|
28 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
29 |
+
should probably proofread and complete it, then remove this comment. -->
|
30 |
+
|
31 |
+
# JP-base-clean-0215
|
32 |
+
|
33 |
+
This model is a fine-tuned version of [facebook/wav2vec2-base-960h](https://huggingface.co/facebook/wav2vec2-base-960h) on the audiofolder dataset.
|
34 |
+
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 0.0988
|
36 |
+
- Wer: 0.983
|
37 |
+
|
38 |
+
## Model description
|
39 |
+
|
40 |
+
More information needed
|
41 |
+
|
42 |
+
## Intended uses & limitations
|
43 |
+
|
44 |
+
More information needed
|
45 |
+
|
46 |
+
## Training and evaluation data
|
47 |
+
|
48 |
+
More information needed
|
49 |
+
|
50 |
+
## Training procedure
|
51 |
+
|
52 |
+
### Training hyperparameters
|
53 |
+
|
54 |
+
The following hyperparameters were used during training:
|
55 |
+
- learning_rate: 3e-05
|
56 |
+
- train_batch_size: 32
|
57 |
+
- eval_batch_size: 32
|
58 |
+
- seed: 42
|
59 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
60 |
+
- lr_scheduler_type: cosine
|
61 |
+
- lr_scheduler_warmup_steps: 3125.0
|
62 |
+
- num_epochs: 50
|
63 |
+
|
64 |
+
### Training results
|
65 |
+
|
66 |
+
| Training Loss | Epoch | Step | Validation Loss | Wer |
|
67 |
+
|:-------------:|:-----:|:-----:|:---------------:|:-----:|
|
68 |
+
| 5.5004 | 1.0 | 625 | 7.2647 | 1.0 |
|
69 |
+
| 4.0716 | 2.0 | 1250 | 4.3871 | 1.0 |
|
70 |
+
| 3.3302 | 3.0 | 1875 | 3.1038 | 1.0 |
|
71 |
+
| 0.8423 | 4.0 | 2500 | 0.9833 | 0.998 |
|
72 |
+
| 0.5152 | 5.0 | 3125 | 0.7318 | 0.996 |
|
73 |
+
| 0.3984 | 6.0 | 3750 | 0.4784 | 0.996 |
|
74 |
+
| 0.3481 | 7.0 | 4375 | 0.3688 | 0.994 |
|
75 |
+
| 0.3149 | 8.0 | 5000 | 0.3821 | 0.994 |
|
76 |
+
| 0.2852 | 9.0 | 5625 | 0.2320 | 0.992 |
|
77 |
+
| 0.2576 | 10.0 | 6250 | 0.2887 | 0.991 |
|
78 |
+
| 0.2423 | 11.0 | 6875 | 0.2071 | 0.991 |
|
79 |
+
| 0.2278 | 12.0 | 7500 | 0.1700 | 0.989 |
|
80 |
+
| 0.2104 | 13.0 | 8125 | 0.1553 | 0.991 |
|
81 |
+
| 0.2016 | 14.0 | 8750 | 0.1500 | 0.988 |
|
82 |
+
| 0.1967 | 15.0 | 9375 | 0.1357 | 0.985 |
|
83 |
+
| 0.1838 | 16.0 | 10000 | 0.1615 | 0.988 |
|
84 |
+
| 0.172 | 17.0 | 10625 | 0.1238 | 0.986 |
|
85 |
+
| 0.1687 | 18.0 | 11250 | 0.1270 | 0.988 |
|
86 |
+
| 0.1555 | 19.0 | 11875 | 0.1221 | 0.987 |
|
87 |
+
| 0.1532 | 20.0 | 12500 | 0.1168 | 0.988 |
|
88 |
+
| 0.1414 | 21.0 | 13125 | 0.1175 | 0.988 |
|
89 |
+
| 0.1366 | 22.0 | 13750 | 0.1231 | 0.985 |
|
90 |
+
| 0.1341 | 23.0 | 14375 | 0.1004 | 0.987 |
|
91 |
+
| 0.1273 | 24.0 | 15000 | 0.1175 | 0.984 |
|
92 |
+
| 0.1199 | 25.0 | 15625 | 0.1246 | 0.984 |
|
93 |
+
| 0.1181 | 26.0 | 16250 | 0.1382 | 0.985 |
|
94 |
+
| 0.1152 | 27.0 | 16875 | 0.1064 | 0.984 |
|
95 |
+
| 0.1116 | 28.0 | 17500 | 0.1075 | 0.985 |
|
96 |
+
| 0.1097 | 29.0 | 18125 | 0.1110 | 0.986 |
|
97 |
+
| 0.1074 | 30.0 | 18750 | 0.1399 | 0.983 |
|
98 |
+
| 0.0997 | 31.0 | 19375 | 0.1385 | 0.983 |
|
99 |
+
| 0.0998 | 32.0 | 20000 | 0.1185 | 0.983 |
|
100 |
+
| 0.0973 | 33.0 | 20625 | 0.1491 | 0.982 |
|
101 |
+
| 0.0988 | 34.0 | 21250 | 0.1232 | 0.983 |
|
102 |
+
| 0.0942 | 35.0 | 21875 | 0.1205 | 0.98 |
|
103 |
+
| 0.0949 | 36.0 | 22500 | 0.1109 | 0.981 |
|
104 |
+
| 0.0947 | 37.0 | 23125 | 0.1119 | 0.982 |
|
105 |
+
| 0.0939 | 38.0 | 23750 | 0.1151 | 0.983 |
|
106 |
+
| 0.0876 | 39.0 | 24375 | 0.1001 | 0.982 |
|
107 |
+
| 0.0893 | 40.0 | 25000 | 0.0957 | 0.984 |
|
108 |
+
| 0.0897 | 41.0 | 25625 | 0.0924 | 0.982 |
|
109 |
+
| 0.0859 | 42.0 | 26250 | 0.0959 | 0.983 |
|
110 |
+
| 0.0881 | 43.0 | 26875 | 0.0996 | 0.983 |
|
111 |
+
| 0.0885 | 44.0 | 27500 | 0.0972 | 0.982 |
|
112 |
+
| 0.0871 | 45.0 | 28125 | 0.0984 | 0.983 |
|
113 |
+
| 0.0866 | 46.0 | 28750 | 0.0976 | 0.983 |
|
114 |
+
| 0.0858 | 47.0 | 29375 | 0.0982 | 0.983 |
|
115 |
+
| 0.0882 | 48.0 | 30000 | 0.0982 | 0.983 |
|
116 |
+
| 0.0848 | 49.0 | 30625 | 0.0988 | 0.983 |
|
117 |
+
| 0.0855 | 50.0 | 31250 | 0.0988 | 0.983 |
|
118 |
+
|
119 |
+
|
120 |
+
### Framework versions
|
121 |
+
|
122 |
+
- Transformers 4.37.2
|
123 |
+
- Pytorch 2.2.0
|
124 |
+
- Datasets 2.16.1
|
125 |
+
- Tokenizers 0.15.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.0,
|
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": "mean",
|
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.0,
|
54 |
+
"feat_quantizer_dropout": 0.0,
|
55 |
+
"final_dropout": 0.1,
|
56 |
+
"gradient_checkpointing": false,
|
57 |
+
"hidden_act": "gelu",
|
58 |
+
"hidden_dropout": 0.0,
|
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.0,
|
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": 85,
|
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.37.2",
|
107 |
+
"use_weighted_layer_sum": false,
|
108 |
+
"vocab_size": 88,
|
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:49a9268edf1c69ccbe2feed130c6ae2b3b023b596f1f527f8160bd90feb057df
|
3 |
+
size 377783384
|
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 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3247579ec70cd550c9f10797c110527073dcc92f550f61399a3a656edaf6d5ab
|
3 |
+
size 4728
|