arielcerdap
commited on
Commit
•
9b854b0
1
Parent(s):
ed9c047
End of training
Browse files- README.md +104 -0
- added_tokens.json +4 -0
- config.json +117 -0
- model.safetensors +3 -0
- preprocessor_config.json +10 -0
- runs/Nov06_01-28-46_e26140e40ddc/events.out.tfevents.1730856623.e26140e40ddc.7157.0 +3 -0
- special_tokens_map.json +6 -0
- tokenizer_config.json +48 -0
- training_args.bin +3 -0
- vocab.json +32 -0
README.md
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
license: apache-2.0
|
6 |
+
base_model: facebook/wav2vec2-large-xlsr-53
|
7 |
+
tags:
|
8 |
+
- generated_from_trainer
|
9 |
+
datasets:
|
10 |
+
- arielcerdap/TimeStamped
|
11 |
+
metrics:
|
12 |
+
- wer
|
13 |
+
model-index:
|
14 |
+
- name: Wav2Vec2 TimeStamped Stutter - Ariel Cerda
|
15 |
+
results:
|
16 |
+
- task:
|
17 |
+
name: Automatic Speech Recognition
|
18 |
+
type: automatic-speech-recognition
|
19 |
+
dataset:
|
20 |
+
name: TimeStamped
|
21 |
+
type: arielcerdap/TimeStamped
|
22 |
+
args: 'config: en, split: test'
|
23 |
+
metrics:
|
24 |
+
- name: Wer
|
25 |
+
type: wer
|
26 |
+
value: 0.9991797676008203
|
27 |
+
---
|
28 |
+
|
29 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
30 |
+
should probably proofread and complete it, then remove this comment. -->
|
31 |
+
|
32 |
+
# Wav2Vec2 TimeStamped Stutter - Ariel Cerda
|
33 |
+
|
34 |
+
This model is a fine-tuned version of [facebook/wav2vec2-large-xlsr-53](https://huggingface.co/facebook/wav2vec2-large-xlsr-53) on the TimeStamped dataset.
|
35 |
+
It achieves the following results on the evaluation set:
|
36 |
+
- Loss: nan
|
37 |
+
- Wer: 0.9992
|
38 |
+
|
39 |
+
## Model description
|
40 |
+
|
41 |
+
More information needed
|
42 |
+
|
43 |
+
## Intended uses & limitations
|
44 |
+
|
45 |
+
More information needed
|
46 |
+
|
47 |
+
## Training and evaluation data
|
48 |
+
|
49 |
+
More information needed
|
50 |
+
|
51 |
+
## Training procedure
|
52 |
+
|
53 |
+
### Training hyperparameters
|
54 |
+
|
55 |
+
The following hyperparameters were used during training:
|
56 |
+
- learning_rate: 0.0003
|
57 |
+
- train_batch_size: 16
|
58 |
+
- eval_batch_size: 8
|
59 |
+
- seed: 42
|
60 |
+
- gradient_accumulation_steps: 2
|
61 |
+
- total_train_batch_size: 32
|
62 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
63 |
+
- lr_scheduler_type: linear
|
64 |
+
- lr_scheduler_warmup_steps: 500
|
65 |
+
- num_epochs: 30
|
66 |
+
- mixed_precision_training: Native AMP
|
67 |
+
|
68 |
+
### Training results
|
69 |
+
|
70 |
+
| Training Loss | Epoch | Step | Validation Loss | Wer |
|
71 |
+
|:-------------:|:-------:|:----:|:---------------:|:------:|
|
72 |
+
| 11.5515 | 1.1696 | 100 | 11.9112 | 1.0001 |
|
73 |
+
| 13.4395 | 2.3392 | 200 | 11.9112 | 1.0001 |
|
74 |
+
| 11.9169 | 3.5088 | 300 | 11.9112 | 1.0001 |
|
75 |
+
| 11.1801 | 4.6784 | 400 | 11.9112 | 1.0001 |
|
76 |
+
| 15.3393 | 5.8480 | 500 | 11.9112 | 1.0001 |
|
77 |
+
| 11.8177 | 7.0175 | 600 | 11.9112 | 1.0001 |
|
78 |
+
| 10.7941 | 8.1871 | 700 | 11.9112 | 1.0001 |
|
79 |
+
| 13.8075 | 9.3567 | 800 | 11.9112 | 1.0001 |
|
80 |
+
| 11.5275 | 10.5263 | 900 | 11.9112 | 1.0001 |
|
81 |
+
| 10.1228 | 11.6959 | 1000 | 11.9112 | 1.0001 |
|
82 |
+
| 13.7071 | 12.8655 | 1100 | 11.9112 | 1.0001 |
|
83 |
+
| 11.6933 | 14.0351 | 1200 | 11.9112 | 1.0001 |
|
84 |
+
| 10.885 | 15.2047 | 1300 | 11.9112 | 1.0001 |
|
85 |
+
| 14.2349 | 16.3743 | 1400 | 11.9112 | 1.0001 |
|
86 |
+
| 12.8886 | 17.5439 | 1500 | 11.9112 | 1.0001 |
|
87 |
+
| 0.0 | 18.7135 | 1600 | nan | 0.9992 |
|
88 |
+
| 0.0 | 19.8830 | 1700 | nan | 0.9992 |
|
89 |
+
| 0.0 | 21.0526 | 1800 | nan | 0.9992 |
|
90 |
+
| 0.0 | 22.2222 | 1900 | nan | 0.9992 |
|
91 |
+
| 0.0 | 23.3918 | 2000 | nan | 0.9992 |
|
92 |
+
| 0.0 | 24.5614 | 2100 | nan | 0.9992 |
|
93 |
+
| 0.0 | 25.7310 | 2200 | nan | 0.9992 |
|
94 |
+
| 0.0 | 26.9006 | 2300 | nan | 0.9992 |
|
95 |
+
| 0.0 | 28.0702 | 2400 | nan | 0.9992 |
|
96 |
+
| 0.0 | 29.2398 | 2500 | nan | 0.9992 |
|
97 |
+
|
98 |
+
|
99 |
+
### Framework versions
|
100 |
+
|
101 |
+
- Transformers 4.44.2
|
102 |
+
- Pytorch 2.5.0+cu121
|
103 |
+
- Datasets 3.1.0
|
104 |
+
- Tokenizers 0.19.1
|
added_tokens.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"</s>": 31,
|
3 |
+
"<s>": 30
|
4 |
+
}
|
config.json
ADDED
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/wav2vec2-large-xlsr-53",
|
3 |
+
"activation_dropout": 0.0,
|
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": 768,
|
16 |
+
"contrastive_logits_temperature": 0.1,
|
17 |
+
"conv_bias": true,
|
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": true,
|
49 |
+
"eos_token_id": 2,
|
50 |
+
"feat_extract_activation": "gelu",
|
51 |
+
"feat_extract_dropout": 0.0,
|
52 |
+
"feat_extract_norm": "layer",
|
53 |
+
"feat_proj_dropout": 0.0,
|
54 |
+
"feat_quantizer_dropout": 0.0,
|
55 |
+
"final_dropout": 0.0,
|
56 |
+
"gradient_checkpointing": false,
|
57 |
+
"hidden_act": "gelu",
|
58 |
+
"hidden_dropout": 0.1,
|
59 |
+
"hidden_size": 1024,
|
60 |
+
"initializer_range": 0.02,
|
61 |
+
"intermediate_size": 4096,
|
62 |
+
"layer_norm_eps": 1e-05,
|
63 |
+
"layerdrop": 0.1,
|
64 |
+
"mask_channel_length": 10,
|
65 |
+
"mask_channel_min_space": 1,
|
66 |
+
"mask_channel_other": 0.0,
|
67 |
+
"mask_channel_prob": 0.0,
|
68 |
+
"mask_channel_selection": "static",
|
69 |
+
"mask_feature_length": 10,
|
70 |
+
"mask_feature_min_masks": 0,
|
71 |
+
"mask_feature_prob": 0.0,
|
72 |
+
"mask_time_length": 10,
|
73 |
+
"mask_time_min_masks": 2,
|
74 |
+
"mask_time_min_space": 1,
|
75 |
+
"mask_time_other": 0.0,
|
76 |
+
"mask_time_prob": 0.05,
|
77 |
+
"mask_time_selection": "static",
|
78 |
+
"model_type": "wav2vec2",
|
79 |
+
"num_adapter_layers": 3,
|
80 |
+
"num_attention_heads": 16,
|
81 |
+
"num_codevector_groups": 2,
|
82 |
+
"num_codevectors_per_group": 320,
|
83 |
+
"num_conv_pos_embedding_groups": 16,
|
84 |
+
"num_conv_pos_embeddings": 128,
|
85 |
+
"num_feat_extract_layers": 7,
|
86 |
+
"num_hidden_layers": 24,
|
87 |
+
"num_negatives": 100,
|
88 |
+
"output_hidden_size": 1024,
|
89 |
+
"pad_token_id": 29,
|
90 |
+
"proj_codevector_dim": 768,
|
91 |
+
"tdnn_dilation": [
|
92 |
+
1,
|
93 |
+
2,
|
94 |
+
3,
|
95 |
+
1,
|
96 |
+
1
|
97 |
+
],
|
98 |
+
"tdnn_dim": [
|
99 |
+
512,
|
100 |
+
512,
|
101 |
+
512,
|
102 |
+
512,
|
103 |
+
1500
|
104 |
+
],
|
105 |
+
"tdnn_kernel": [
|
106 |
+
5,
|
107 |
+
3,
|
108 |
+
3,
|
109 |
+
1,
|
110 |
+
1
|
111 |
+
],
|
112 |
+
"torch_dtype": "float32",
|
113 |
+
"transformers_version": "4.44.2",
|
114 |
+
"use_weighted_layer_sum": false,
|
115 |
+
"vocab_size": 32,
|
116 |
+
"xvector_output_dim": 512
|
117 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4e80e44348f0d05fde7047b4b2c21b540ae7709dbc229859b64bccc0961017ac
|
3 |
+
size 1261938680
|
preprocessor_config.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"feature_extractor_type": "Wav2Vec2FeatureExtractor",
|
4 |
+
"feature_size": 1,
|
5 |
+
"padding_side": "right",
|
6 |
+
"padding_value": 0.0,
|
7 |
+
"processor_class": "Wav2Vec2Processor",
|
8 |
+
"return_attention_mask": true,
|
9 |
+
"sampling_rate": 16000
|
10 |
+
}
|
runs/Nov06_01-28-46_e26140e40ddc/events.out.tfevents.1730856623.e26140e40ddc.7157.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1fab186384e571879f7b4467bc418f02d5bb0626ad01839c24af7e3aab8222ab
|
3 |
+
size 68684
|
special_tokens_map.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"eos_token": "</s>",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"unk_token": "[UNK]"
|
6 |
+
}
|
tokenizer_config.json
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"28": {
|
4 |
+
"content": "[UNK]",
|
5 |
+
"lstrip": true,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": true,
|
8 |
+
"single_word": false,
|
9 |
+
"special": false
|
10 |
+
},
|
11 |
+
"29": {
|
12 |
+
"content": "[PAD]",
|
13 |
+
"lstrip": true,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": true,
|
16 |
+
"single_word": false,
|
17 |
+
"special": false
|
18 |
+
},
|
19 |
+
"30": {
|
20 |
+
"content": "<s>",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"31": {
|
28 |
+
"content": "</s>",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
}
|
35 |
+
},
|
36 |
+
"bos_token": "<s>",
|
37 |
+
"clean_up_tokenization_spaces": true,
|
38 |
+
"do_lower_case": false,
|
39 |
+
"eos_token": "</s>",
|
40 |
+
"model_max_length": 1000000000000000019884624838656,
|
41 |
+
"pad_token": "[PAD]",
|
42 |
+
"processor_class": "Wav2Vec2Processor",
|
43 |
+
"replace_word_delimiter_char": " ",
|
44 |
+
"target_lang": null,
|
45 |
+
"tokenizer_class": "Wav2Vec2CTCTokenizer",
|
46 |
+
"unk_token": "[UNK]",
|
47 |
+
"word_delimiter_token": "|"
|
48 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bbaead2e12ce0cb3f9ad9a9644c7d650dd5f3d0729437ebe44598c126789c176
|
3 |
+
size 5176
|
vocab.json
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"'": 6,
|
3 |
+
"[PAD]": 29,
|
4 |
+
"[UNK]": 28,
|
5 |
+
"a": 19,
|
6 |
+
"b": 0,
|
7 |
+
"c": 11,
|
8 |
+
"d": 8,
|
9 |
+
"e": 4,
|
10 |
+
"f": 16,
|
11 |
+
"g": 9,
|
12 |
+
"h": 27,
|
13 |
+
"i": 20,
|
14 |
+
"j": 3,
|
15 |
+
"k": 13,
|
16 |
+
"l": 18,
|
17 |
+
"m": 7,
|
18 |
+
"n": 21,
|
19 |
+
"o": 24,
|
20 |
+
"p": 25,
|
21 |
+
"q": 10,
|
22 |
+
"r": 1,
|
23 |
+
"s": 23,
|
24 |
+
"t": 14,
|
25 |
+
"u": 26,
|
26 |
+
"v": 12,
|
27 |
+
"w": 5,
|
28 |
+
"x": 22,
|
29 |
+
"y": 2,
|
30 |
+
"z": 17,
|
31 |
+
"|": 15
|
32 |
+
}
|