Model save
Browse files- README.md +56 -0
- added_tokens.json +4 -0
- config.json +117 -0
- emissions.csv +2 -0
- model.safetensors +3 -0
- preprocessor_config.json +112 -0
- runs/Dec22_13-04-34_vorace/events.out.tfevents.1703250345.vorace.2962469.0 +3 -0
- runs/Jan01_15-19-35_vorace/events.out.tfevents.1704122401.vorace.38190.0 +3 -0
- special_tokens_map.json +30 -0
- tokenizer_config.json +48 -0
- training_args.bin +3 -0
- vocab.json +33 -0
README.md
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- generated_from_trainer
|
4 |
+
datasets:
|
5 |
+
- common_voice_16_0
|
6 |
+
model-index:
|
7 |
+
- name: wav2vec2-common_voice-af-demo
|
8 |
+
results: []
|
9 |
+
---
|
10 |
+
|
11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
12 |
+
should probably proofread and complete it, then remove this comment. -->
|
13 |
+
|
14 |
+
# wav2vec2-common_voice-af-demo
|
15 |
+
|
16 |
+
This model was trained from scratch on the common_voice_16_0 dataset.
|
17 |
+
|
18 |
+
## Model description
|
19 |
+
|
20 |
+
More information needed
|
21 |
+
|
22 |
+
## Intended uses & limitations
|
23 |
+
|
24 |
+
More information needed
|
25 |
+
|
26 |
+
## Training and evaluation data
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Training procedure
|
31 |
+
|
32 |
+
### Training hyperparameters
|
33 |
+
|
34 |
+
The following hyperparameters were used during training:
|
35 |
+
- learning_rate: 0.0003
|
36 |
+
- train_batch_size: 16
|
37 |
+
- eval_batch_size: 8
|
38 |
+
- seed: 42
|
39 |
+
- gradient_accumulation_steps: 2
|
40 |
+
- total_train_batch_size: 32
|
41 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
42 |
+
- lr_scheduler_type: linear
|
43 |
+
- lr_scheduler_warmup_steps: 500
|
44 |
+
- num_epochs: 15.0
|
45 |
+
- mixed_precision_training: Native AMP
|
46 |
+
|
47 |
+
### Training results
|
48 |
+
|
49 |
+
|
50 |
+
|
51 |
+
### Framework versions
|
52 |
+
|
53 |
+
- Transformers 4.37.0.dev0
|
54 |
+
- Pytorch 2.1.0+cu121
|
55 |
+
- Datasets 2.14.5
|
56 |
+
- Tokenizers 0.15.0
|
added_tokens.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"</s>": 32,
|
3 |
+
"<s>": 31
|
4 |
+
}
|
config.json
ADDED
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/home/yoach/tmp/wav2vec_seamless",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"adapter_kernel_size": 3,
|
5 |
+
"adapter_stride": 2,
|
6 |
+
"add_adapter": false,
|
7 |
+
"apply_spec_augment": false,
|
8 |
+
"architectures": [
|
9 |
+
"Wav2Vec2ConformerForCTC"
|
10 |
+
],
|
11 |
+
"attention_dropout": 0.0,
|
12 |
+
"bos_token_id": 1,
|
13 |
+
"classifier_proj_size": 768,
|
14 |
+
"codevector_dim": 768,
|
15 |
+
"conformer_conv_dropout": 0.1,
|
16 |
+
"contrastive_logits_temperature": 0.1,
|
17 |
+
"conv_bias": false,
|
18 |
+
"conv_depthwise_kernel_size": 31,
|
19 |
+
"conv_dim": [
|
20 |
+
512,
|
21 |
+
512,
|
22 |
+
512,
|
23 |
+
512,
|
24 |
+
512,
|
25 |
+
512,
|
26 |
+
160
|
27 |
+
],
|
28 |
+
"conv_kernel": [
|
29 |
+
10,
|
30 |
+
3,
|
31 |
+
3,
|
32 |
+
3,
|
33 |
+
3,
|
34 |
+
2,
|
35 |
+
2
|
36 |
+
],
|
37 |
+
"conv_stride": [
|
38 |
+
5,
|
39 |
+
2,
|
40 |
+
2,
|
41 |
+
2,
|
42 |
+
2,
|
43 |
+
2,
|
44 |
+
2
|
45 |
+
],
|
46 |
+
"ctc_loss_reduction": "mean",
|
47 |
+
"ctc_zero_infinity": false,
|
48 |
+
"diversity_loss_weight": 0.1,
|
49 |
+
"eos_token_id": 2,
|
50 |
+
"feat_extract_activation": "gelu",
|
51 |
+
"feat_extract_norm": "group",
|
52 |
+
"feat_proj_dropout": 0.0,
|
53 |
+
"feat_quantizer_dropout": 0.0,
|
54 |
+
"final_dropout": 0.0,
|
55 |
+
"hidden_act": "swish",
|
56 |
+
"hidden_dropout": 0.0,
|
57 |
+
"hidden_size": 1024,
|
58 |
+
"initializer_range": 0.02,
|
59 |
+
"intermediate_size": 4096,
|
60 |
+
"layer_norm_eps": 1e-05,
|
61 |
+
"layerdrop": 0.0,
|
62 |
+
"left_max_position_embeddings": 64,
|
63 |
+
"mask_feature_length": 10,
|
64 |
+
"mask_feature_min_masks": 0,
|
65 |
+
"mask_feature_prob": 0.0,
|
66 |
+
"mask_time_length": 10,
|
67 |
+
"mask_time_min_masks": 2,
|
68 |
+
"mask_time_prob": 0.05,
|
69 |
+
"max_source_positions": 5000,
|
70 |
+
"model_type": "wav2vec2-conformer",
|
71 |
+
"non_causal_depth_wise_conv": false,
|
72 |
+
"num_adapter_layers": 0,
|
73 |
+
"num_attention_heads": 16,
|
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": 24,
|
80 |
+
"num_negatives": 100,
|
81 |
+
"output_hidden_size": 1024,
|
82 |
+
"pad_token_id": 30,
|
83 |
+
"position_embeddings_type": "relative_key",
|
84 |
+
"proj_codevector_dim": 768,
|
85 |
+
"right_max_position_embeddings": 8,
|
86 |
+
"rotary_embedding_base": 10000,
|
87 |
+
"skip_encoder_layer_norm": true,
|
88 |
+
"skip_feature_encoder": true,
|
89 |
+
"skip_pos_conv_embed": true,
|
90 |
+
"tdnn_dilation": [
|
91 |
+
1,
|
92 |
+
2,
|
93 |
+
3,
|
94 |
+
1,
|
95 |
+
1
|
96 |
+
],
|
97 |
+
"tdnn_dim": [
|
98 |
+
512,
|
99 |
+
512,
|
100 |
+
512,
|
101 |
+
512,
|
102 |
+
1500
|
103 |
+
],
|
104 |
+
"tdnn_kernel": [
|
105 |
+
5,
|
106 |
+
3,
|
107 |
+
3,
|
108 |
+
1,
|
109 |
+
1
|
110 |
+
],
|
111 |
+
"torch_dtype": "float32",
|
112 |
+
"transformers_version": "4.37.0.dev0",
|
113 |
+
"use_adapter_with_attention": false,
|
114 |
+
"use_weighted_layer_sum": false,
|
115 |
+
"vocab_size": 33,
|
116 |
+
"xvector_output_dim": 512
|
117 |
+
}
|
emissions.csv
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
timestamp,experiment_id,project_name,duration,emissions,energy_consumed,country_name,country_iso_code,region,on_cloud,cloud_provider,cloud_region
|
2 |
+
2024-01-01T15:21:31,ec6bfdc1-9b67-4d1a-a0fa-b70b3193b238,codecarbon,88.12444925308228,0.003465083577686595,0.008161127492751757,France,FRA,île-de-france,N,,
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b58144bc40ec982cf107933af97be6214d052a81a670e784f3c578b1227a069f
|
3 |
+
size 2322213876
|
preprocessor_config.json
ADDED
@@ -0,0 +1,112 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"feature_extractor_type": "Wav2Vec2FeatureExtractor",
|
4 |
+
"feature_size": 80,
|
5 |
+
"language_code": [
|
6 |
+
"__afr__",
|
7 |
+
"__amh__",
|
8 |
+
"__arb__",
|
9 |
+
"__ary__",
|
10 |
+
"__arz__",
|
11 |
+
"__asm__",
|
12 |
+
"__azj__",
|
13 |
+
"__bel__",
|
14 |
+
"__ben__",
|
15 |
+
"__bos__",
|
16 |
+
"__bul__",
|
17 |
+
"__cat__",
|
18 |
+
"__ceb__",
|
19 |
+
"__ces__",
|
20 |
+
"__ckb__",
|
21 |
+
"__cmn__",
|
22 |
+
"__cmn_Hant__",
|
23 |
+
"__cym__",
|
24 |
+
"__dan__",
|
25 |
+
"__deu__",
|
26 |
+
"__ell__",
|
27 |
+
"__eng__",
|
28 |
+
"__est__",
|
29 |
+
"__eus__",
|
30 |
+
"__fin__",
|
31 |
+
"__fra__",
|
32 |
+
"__fuv__",
|
33 |
+
"__gaz__",
|
34 |
+
"__gle__",
|
35 |
+
"__glg__",
|
36 |
+
"__guj__",
|
37 |
+
"__heb__",
|
38 |
+
"__hin__",
|
39 |
+
"__hrv__",
|
40 |
+
"__hun__",
|
41 |
+
"__hye__",
|
42 |
+
"__ibo__",
|
43 |
+
"__ind__",
|
44 |
+
"__isl__",
|
45 |
+
"__ita__",
|
46 |
+
"__jav__",
|
47 |
+
"__jpn__",
|
48 |
+
"__kan__",
|
49 |
+
"__kat__",
|
50 |
+
"__kaz__",
|
51 |
+
"__khk__",
|
52 |
+
"__khm__",
|
53 |
+
"__kir__",
|
54 |
+
"__kor__",
|
55 |
+
"__lao__",
|
56 |
+
"__lit__",
|
57 |
+
"__lug__",
|
58 |
+
"__luo__",
|
59 |
+
"__lvs__",
|
60 |
+
"__mai__",
|
61 |
+
"__mal__",
|
62 |
+
"__mar__",
|
63 |
+
"__mkd__",
|
64 |
+
"__mlt__",
|
65 |
+
"__mni__",
|
66 |
+
"__mya__",
|
67 |
+
"__nld__",
|
68 |
+
"__nno__",
|
69 |
+
"__nob__",
|
70 |
+
"__npi__",
|
71 |
+
"__nya__",
|
72 |
+
"__ory__",
|
73 |
+
"__pan__",
|
74 |
+
"__pbt__",
|
75 |
+
"__pes__",
|
76 |
+
"__pol__",
|
77 |
+
"__por__",
|
78 |
+
"__ron__",
|
79 |
+
"__rus__",
|
80 |
+
"__sat__",
|
81 |
+
"__slk__",
|
82 |
+
"__slv__",
|
83 |
+
"__sna__",
|
84 |
+
"__snd__",
|
85 |
+
"__som__",
|
86 |
+
"__spa__",
|
87 |
+
"__srp__",
|
88 |
+
"__swe__",
|
89 |
+
"__swh__",
|
90 |
+
"__tam__",
|
91 |
+
"__tel__",
|
92 |
+
"__tgk__",
|
93 |
+
"__tgl__",
|
94 |
+
"__tha__",
|
95 |
+
"__tur__",
|
96 |
+
"__ukr__",
|
97 |
+
"__urd__",
|
98 |
+
"__uzn__",
|
99 |
+
"__vie__",
|
100 |
+
"__yor__",
|
101 |
+
"__yue__",
|
102 |
+
"__zlm__",
|
103 |
+
"__zul__"
|
104 |
+
],
|
105 |
+
"num_mel_bins": 80,
|
106 |
+
"padding_side": "right",
|
107 |
+
"padding_value": 1,
|
108 |
+
"processor_class": "Wav2Vec2Processor",
|
109 |
+
"return_attention_mask": true,
|
110 |
+
"sampling_rate": 16000,
|
111 |
+
"stride": 2
|
112 |
+
}
|
runs/Dec22_13-04-34_vorace/events.out.tfevents.1703250345.vorace.2962469.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f7b54ecfe665464697863e38d5a4dbd662ba3acea6513622942b42bd98092ccc
|
3 |
+
size 6167
|
runs/Jan01_15-19-35_vorace/events.out.tfevents.1704122401.vorace.38190.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:261d27b5a86246fb57adb54c7647beb4d419130267ee74bba0c81053e54a4e13
|
3 |
+
size 6515
|
special_tokens_map.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "</s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "[PAD]",
|
18 |
+
"lstrip": true,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": true,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"unk_token": {
|
24 |
+
"content": "[UNK]",
|
25 |
+
"lstrip": true,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": true,
|
28 |
+
"single_word": false
|
29 |
+
}
|
30 |
+
}
|
tokenizer_config.json
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"29": {
|
4 |
+
"content": "[UNK]",
|
5 |
+
"lstrip": true,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": true,
|
8 |
+
"single_word": false,
|
9 |
+
"special": false
|
10 |
+
},
|
11 |
+
"30": {
|
12 |
+
"content": "[PAD]",
|
13 |
+
"lstrip": true,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": true,
|
16 |
+
"single_word": false,
|
17 |
+
"special": false
|
18 |
+
},
|
19 |
+
"31": {
|
20 |
+
"content": "<s>",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"32": {
|
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:effa08dffb61eb2cfbc9b89b7595afa0b908795b860765d7460c286f3df242f1
|
3 |
+
size 4728
|
vocab.json
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"[PAD]": 30,
|
3 |
+
"[UNK]": 29,
|
4 |
+
"a": 1,
|
5 |
+
"b": 2,
|
6 |
+
"c": 3,
|
7 |
+
"d": 4,
|
8 |
+
"e": 5,
|
9 |
+
"f": 6,
|
10 |
+
"g": 7,
|
11 |
+
"h": 8,
|
12 |
+
"i": 9,
|
13 |
+
"j": 10,
|
14 |
+
"k": 11,
|
15 |
+
"l": 12,
|
16 |
+
"m": 13,
|
17 |
+
"n": 14,
|
18 |
+
"o": 15,
|
19 |
+
"p": 16,
|
20 |
+
"r": 17,
|
21 |
+
"s": 18,
|
22 |
+
"t": 19,
|
23 |
+
"u": 20,
|
24 |
+
"v": 21,
|
25 |
+
"w": 22,
|
26 |
+
"y": 23,
|
27 |
+
"|": 0,
|
28 |
+
"á": 24,
|
29 |
+
"ê": 25,
|
30 |
+
"ë": 26,
|
31 |
+
"ï": 27,
|
32 |
+
"’": 28
|
33 |
+
}
|