upload model
Browse files- config.json +79 -0
- optimizer.pt +3 -0
- preprocessor_config.json +9 -0
- pytorch_model.bin +3 -0
- rng_state.pth +3 -0
- scaler.pt +3 -0
- scheduler.pt +3 -0
- special_tokens_map.json +1 -0
- tokenizer_config.json +1 -0
- trainer_state.json +133 -0
- training_args.bin +3 -0
- vocab.json +1 -0
config.json
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/wav2vec2-xls-r-300m",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"apply_spec_augment": true,
|
5 |
+
"architectures": [
|
6 |
+
"Wav2Vec2ForCTC"
|
7 |
+
],
|
8 |
+
"attention_dropout": 0.0,
|
9 |
+
"bos_token_id": 1,
|
10 |
+
"classifier_proj_size": 256,
|
11 |
+
"codevector_dim": 768,
|
12 |
+
"contrastive_logits_temperature": 0.1,
|
13 |
+
"conv_bias": true,
|
14 |
+
"conv_dim": [
|
15 |
+
512,
|
16 |
+
512,
|
17 |
+
512,
|
18 |
+
512,
|
19 |
+
512,
|
20 |
+
512,
|
21 |
+
512
|
22 |
+
],
|
23 |
+
"conv_kernel": [
|
24 |
+
10,
|
25 |
+
3,
|
26 |
+
3,
|
27 |
+
3,
|
28 |
+
3,
|
29 |
+
2,
|
30 |
+
2
|
31 |
+
],
|
32 |
+
"conv_stride": [
|
33 |
+
5,
|
34 |
+
2,
|
35 |
+
2,
|
36 |
+
2,
|
37 |
+
2,
|
38 |
+
2,
|
39 |
+
2
|
40 |
+
],
|
41 |
+
"ctc_loss_reduction": "mean",
|
42 |
+
"ctc_zero_infinity": false,
|
43 |
+
"diversity_loss_weight": 0.1,
|
44 |
+
"do_stable_layer_norm": true,
|
45 |
+
"eos_token_id": 2,
|
46 |
+
"feat_extract_activation": "gelu",
|
47 |
+
"feat_extract_dropout": 0.0,
|
48 |
+
"feat_extract_norm": "layer",
|
49 |
+
"feat_proj_dropout": 0.0,
|
50 |
+
"feat_quantizer_dropout": 0.0,
|
51 |
+
"final_dropout": 0.0,
|
52 |
+
"gradient_checkpointing": false,
|
53 |
+
"hidden_act": "gelu",
|
54 |
+
"hidden_dropout": 0.0,
|
55 |
+
"hidden_size": 1024,
|
56 |
+
"initializer_range": 0.02,
|
57 |
+
"intermediate_size": 4096,
|
58 |
+
"layer_norm_eps": 1e-05,
|
59 |
+
"layerdrop": 0.0,
|
60 |
+
"mask_feature_length": 10,
|
61 |
+
"mask_feature_prob": 0.0,
|
62 |
+
"mask_time_length": 10,
|
63 |
+
"mask_time_prob": 0.05,
|
64 |
+
"model_type": "wav2vec2",
|
65 |
+
"num_attention_heads": 16,
|
66 |
+
"num_codevector_groups": 2,
|
67 |
+
"num_codevectors_per_group": 320,
|
68 |
+
"num_conv_pos_embedding_groups": 16,
|
69 |
+
"num_conv_pos_embeddings": 128,
|
70 |
+
"num_feat_extract_layers": 7,
|
71 |
+
"num_hidden_layers": 24,
|
72 |
+
"num_negatives": 100,
|
73 |
+
"pad_token_id": 38,
|
74 |
+
"proj_codevector_dim": 768,
|
75 |
+
"torch_dtype": "float32",
|
76 |
+
"transformers_version": "4.11.3",
|
77 |
+
"use_weighted_layer_sum": false,
|
78 |
+
"vocab_size": 39
|
79 |
+
}
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:86fb6c8e8c72fb44c88e5eb037c501bdad9057c468ed9349a8015af5bc28560b
|
3 |
+
size 2490378769
|
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": true,
|
8 |
+
"sampling_rate": 16000
|
9 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d9fffa4618c81a76a00f8398728b08f87d1a1ed13e9dd91b23ed79d51430b795
|
3 |
+
size 1262083569
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:052df295d6910707b016bd0c631851bdbf6b8b0af7e4593fab5a737ef60ec8de
|
3 |
+
size 14567
|
scaler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e9fcd9e904053b8ddce97cd0923edfb28f14e8fd90cc8f5438d41189ff5c0dae
|
3 |
+
size 559
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:eeae617e986d14c33d4b005d55f686f355ecb9b630291edd636a0941bdfb1f75
|
3 |
+
size 623
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"bos_token": "<s>", "eos_token": "</s>", "unk_token": "[UNK]", "pad_token": "[PAD]"}
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"unk_token": "[UNK]", "bos_token": "<s>", "eos_token": "</s>", "pad_token": "[PAD]", "do_lower_case": false, "word_delimiter_token": "|", "tokenizer_class": "Wav2Vec2CTCTokenizer"}
|
trainer_state.json
ADDED
@@ -0,0 +1,133 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.3982403874397278,
|
3 |
+
"best_model_checkpoint": "XLS-R-tamil-ipa/checkpoint-1500",
|
4 |
+
"epoch": 1.0706512042818912,
|
5 |
+
"global_step": 1500,
|
6 |
+
"is_hyper_param_search": false,
|
7 |
+
"is_local_process_zero": true,
|
8 |
+
"is_world_process_zero": true,
|
9 |
+
"log_history": [
|
10 |
+
{
|
11 |
+
"epoch": 0.07,
|
12 |
+
"learning_rate": 2.94e-05,
|
13 |
+
"loss": 7.2232,
|
14 |
+
"step": 100
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 0.14,
|
18 |
+
"learning_rate": 5.91e-05,
|
19 |
+
"loss": 3.0769,
|
20 |
+
"step": 200
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 0.21,
|
24 |
+
"learning_rate": 8.909999999999998e-05,
|
25 |
+
"loss": 2.616,
|
26 |
+
"step": 300
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 0.29,
|
30 |
+
"learning_rate": 0.0001188,
|
31 |
+
"loss": 2.3839,
|
32 |
+
"step": 400
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 0.36,
|
36 |
+
"learning_rate": 0.00014849999999999998,
|
37 |
+
"loss": 1.0712,
|
38 |
+
"step": 500
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 0.36,
|
42 |
+
"eval_cer": 0.3590590901797176,
|
43 |
+
"eval_loss": 0.6315754652023315,
|
44 |
+
"eval_runtime": 1320.9999,
|
45 |
+
"eval_samples_per_second": 9.121,
|
46 |
+
"eval_steps_per_second": 1.141,
|
47 |
+
"step": 500
|
48 |
+
},
|
49 |
+
{
|
50 |
+
"epoch": 0.43,
|
51 |
+
"learning_rate": 0.00017819999999999997,
|
52 |
+
"loss": 0.4126,
|
53 |
+
"step": 600
|
54 |
+
},
|
55 |
+
{
|
56 |
+
"epoch": 0.5,
|
57 |
+
"learning_rate": 0.00020789999999999996,
|
58 |
+
"loss": 0.3474,
|
59 |
+
"step": 700
|
60 |
+
},
|
61 |
+
{
|
62 |
+
"epoch": 0.57,
|
63 |
+
"learning_rate": 0.00023789999999999998,
|
64 |
+
"loss": 0.3079,
|
65 |
+
"step": 800
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 0.64,
|
69 |
+
"learning_rate": 0.0002673,
|
70 |
+
"loss": 0.3011,
|
71 |
+
"step": 900
|
72 |
+
},
|
73 |
+
{
|
74 |
+
"epoch": 0.71,
|
75 |
+
"learning_rate": 0.00029729999999999996,
|
76 |
+
"loss": 0.2795,
|
77 |
+
"step": 1000
|
78 |
+
},
|
79 |
+
{
|
80 |
+
"epoch": 0.71,
|
81 |
+
"eval_cer": 0.25890564826700896,
|
82 |
+
"eval_loss": 0.44443580508232117,
|
83 |
+
"eval_runtime": 1282.5832,
|
84 |
+
"eval_samples_per_second": 9.394,
|
85 |
+
"eval_steps_per_second": 1.175,
|
86 |
+
"step": 1000
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 0.79,
|
90 |
+
"learning_rate": 0.00029898963730569947,
|
91 |
+
"loss": 0.2838,
|
92 |
+
"step": 1100
|
93 |
+
},
|
94 |
+
{
|
95 |
+
"epoch": 0.86,
|
96 |
+
"learning_rate": 0.00029790155440414503,
|
97 |
+
"loss": 0.2674,
|
98 |
+
"step": 1200
|
99 |
+
},
|
100 |
+
{
|
101 |
+
"epoch": 0.93,
|
102 |
+
"learning_rate": 0.00029681347150259065,
|
103 |
+
"loss": 0.2531,
|
104 |
+
"step": 1300
|
105 |
+
},
|
106 |
+
{
|
107 |
+
"epoch": 1.0,
|
108 |
+
"learning_rate": 0.00029570318282753515,
|
109 |
+
"loss": 0.2508,
|
110 |
+
"step": 1400
|
111 |
+
},
|
112 |
+
{
|
113 |
+
"epoch": 1.07,
|
114 |
+
"learning_rate": 0.0002945928941524796,
|
115 |
+
"loss": 0.2403,
|
116 |
+
"step": 1500
|
117 |
+
},
|
118 |
+
{
|
119 |
+
"epoch": 1.07,
|
120 |
+
"eval_cer": 0.2333796333440308,
|
121 |
+
"eval_loss": 0.3982403874397278,
|
122 |
+
"eval_runtime": 1264.6744,
|
123 |
+
"eval_samples_per_second": 9.527,
|
124 |
+
"eval_steps_per_second": 1.192,
|
125 |
+
"step": 1500
|
126 |
+
}
|
127 |
+
],
|
128 |
+
"max_steps": 28020,
|
129 |
+
"num_train_epochs": 20,
|
130 |
+
"total_flos": 9.531198923471569e+18,
|
131 |
+
"trial_name": null,
|
132 |
+
"trial_params": null
|
133 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:23d29bd3f888a21db2f4b36895391dbf3ad074043982a91045cb2ba6375e8801
|
3 |
+
size 2863
|
vocab.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"n": 1, "oː": 2, "o": 3, "kʂ": 4, "r": 5, "uː": 6, "aʋ": 7, "a": 8, "u": 9, "d͡ʒ": 10, "ɭ": 11, "s": 12, "h": 13, "ɻ": 14, "p": 15, "்": 16, "ɳ": 17, "aː": 18, "ʈ": 19, "n̪": 20, "k": 21, "e": 22, "m": 23, "iː": 24, "j": 25, "ɾ": 26, "i": 27, "eː": 28, "t͡ʃ": 29, "l": 30, "ʋ": 31, "ʂ": 32, "t̪": 33, "aj": 34, "ŋ": 35, "ɲ": 36, "|": 0, "[UNK]": 37, "[PAD]": 38}
|