initial_commit
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": "./cv-tamil/checkpoint-1500",
|
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:f6bb943e56e2df5046ceb88efdd942b3593e07337ffce379d29429ca2e905450
|
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:d8e13478625d4c166ee6eec41a5c132ec9de11427d76d89f03349838e0846276
|
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:814a41e021585f347b17d77b7bcddf012c401a989a74f43c0bed747c7fc33fc6
|
3 |
+
size 559
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3318b9e9903d37e6b98bbf5760c23bcd11a61f77893e5ab75fac4a48bb3eddf1
|
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.34306156635284424,
|
3 |
+
"best_model_checkpoint": "XLS-R-tamil-phoneme-v2/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.97e-05,
|
13 |
+
"loss": 7.2256,
|
14 |
+
"step": 100
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 0.14,
|
18 |
+
"learning_rate": 5.94e-05,
|
19 |
+
"loss": 3.0456,
|
20 |
+
"step": 200
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 0.21,
|
24 |
+
"learning_rate": 8.939999999999999e-05,
|
25 |
+
"loss": 2.6409,
|
26 |
+
"step": 300
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 0.29,
|
30 |
+
"learning_rate": 0.0001191,
|
31 |
+
"loss": 2.4601,
|
32 |
+
"step": 400
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 0.36,
|
36 |
+
"learning_rate": 0.00014879999999999998,
|
37 |
+
"loss": 1.3437,
|
38 |
+
"step": 500
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 0.36,
|
42 |
+
"eval_cer": 0.402669688703466,
|
43 |
+
"eval_loss": 0.73838210105896,
|
44 |
+
"eval_runtime": 807.8476,
|
45 |
+
"eval_samples_per_second": 14.915,
|
46 |
+
"eval_steps_per_second": 1.865,
|
47 |
+
"step": 500
|
48 |
+
},
|
49 |
+
{
|
50 |
+
"epoch": 0.43,
|
51 |
+
"learning_rate": 0.00017849999999999997,
|
52 |
+
"loss": 0.449,
|
53 |
+
"step": 600
|
54 |
+
},
|
55 |
+
{
|
56 |
+
"epoch": 0.5,
|
57 |
+
"learning_rate": 0.00020819999999999996,
|
58 |
+
"loss": 0.3495,
|
59 |
+
"step": 700
|
60 |
+
},
|
61 |
+
{
|
62 |
+
"epoch": 0.57,
|
63 |
+
"learning_rate": 0.0002382,
|
64 |
+
"loss": 0.3063,
|
65 |
+
"step": 800
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 0.64,
|
69 |
+
"learning_rate": 0.0002676,
|
70 |
+
"loss": 0.3021,
|
71 |
+
"step": 900
|
72 |
+
},
|
73 |
+
{
|
74 |
+
"epoch": 0.71,
|
75 |
+
"learning_rate": 0.00029759999999999997,
|
76 |
+
"loss": 0.2685,
|
77 |
+
"step": 1000
|
78 |
+
},
|
79 |
+
{
|
80 |
+
"epoch": 0.71,
|
81 |
+
"eval_cer": 0.2228818998716303,
|
82 |
+
"eval_loss": 0.3911130428314209,
|
83 |
+
"eval_runtime": 1044.7679,
|
84 |
+
"eval_samples_per_second": 11.533,
|
85 |
+
"eval_steps_per_second": 1.442,
|
86 |
+
"step": 1000
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 0.79,
|
90 |
+
"learning_rate": 0.00029980158159597406,
|
91 |
+
"loss": 0.2701,
|
92 |
+
"step": 1100
|
93 |
+
},
|
94 |
+
{
|
95 |
+
"epoch": 0.86,
|
96 |
+
"learning_rate": 0.00029959022286125085,
|
97 |
+
"loss": 0.2527,
|
98 |
+
"step": 1200
|
99 |
+
},
|
100 |
+
{
|
101 |
+
"epoch": 0.93,
|
102 |
+
"learning_rate": 0.00029937886412652765,
|
103 |
+
"loss": 0.2472,
|
104 |
+
"step": 1300
|
105 |
+
},
|
106 |
+
{
|
107 |
+
"epoch": 1.0,
|
108 |
+
"learning_rate": 0.00029916319194823863,
|
109 |
+
"loss": 0.2317,
|
110 |
+
"step": 1400
|
111 |
+
},
|
112 |
+
{
|
113 |
+
"epoch": 1.07,
|
114 |
+
"learning_rate": 0.00029894751976994966,
|
115 |
+
"loss": 0.2197,
|
116 |
+
"step": 1500
|
117 |
+
},
|
118 |
+
{
|
119 |
+
"epoch": 1.07,
|
120 |
+
"eval_cer": 0.20153040757381258,
|
121 |
+
"eval_loss": 0.34306156635284424,
|
122 |
+
"eval_runtime": 1175.3837,
|
123 |
+
"eval_samples_per_second": 10.251,
|
124 |
+
"eval_steps_per_second": 1.282,
|
125 |
+
"step": 1500
|
126 |
+
}
|
127 |
+
],
|
128 |
+
"max_steps": 140100,
|
129 |
+
"num_train_epochs": 100,
|
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:b9acdc5429d12bbbe88d35bb75f0f9bcaaeee33f5ba29005a6b771b144dda45e
|
3 |
+
size 2863
|
vocab.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"e": 1, "j": 2, "்": 3, "n̪": 4, "ɻ": 5, "h": 6, "n": 7, "oː": 8, "ʋ": 9, "ʈ": 10, "p": 11, "o": 12, "a": 13, "t͡ʃ": 14, "ŋ": 15, "uː": 16, "l": 17, "ɾ": 18, "iː": 19, "t̪": 20, "aː": 21, "eː": 22, "i": 23, "ʂ": 24, "m": 25, "u": 26, "d͡ʒ": 27, "r": 28, "ɳ": 29, "k": 30, "ɲ": 31, "ɭ": 32, "kʂ": 33, "aj": 34, "aʋ": 35, "s": 36, "|": 0, "[UNK]": 37, "[PAD]": 38}
|