upload model
Browse files- config.json +81 -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,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/hubert-base-ls960",
|
3 |
+
"activation_dropout": 0.1,
|
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": 256,
|
12 |
+
"contrastive_logits_temperature": 0.1,
|
13 |
+
"conv_bias": false,
|
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": false,
|
45 |
+
"eos_token_id": 2,
|
46 |
+
"feat_extract_activation": "gelu",
|
47 |
+
"feat_extract_dropout": 0.0,
|
48 |
+
"feat_extract_norm": "group",
|
49 |
+
"feat_proj_dropout": 0.0,
|
50 |
+
"feat_quantizer_dropout": 0.0,
|
51 |
+
"final_dropout": 0.1,
|
52 |
+
"gradient_checkpointing": false,
|
53 |
+
"hidden_act": "gelu",
|
54 |
+
"hidden_dropout": 0.0,
|
55 |
+
"hidden_dropout_prob": 0.1,
|
56 |
+
"hidden_size": 768,
|
57 |
+
"initializer_range": 0.02,
|
58 |
+
"intermediate_size": 3072,
|
59 |
+
"layer_norm_eps": 1e-05,
|
60 |
+
"layerdrop": 0.0,
|
61 |
+
"mask_feature_length": 10,
|
62 |
+
"mask_feature_prob": 0.0,
|
63 |
+
"mask_time_length": 10,
|
64 |
+
"mask_time_prob": 0.05,
|
65 |
+
"model_type": "wav2vec2",
|
66 |
+
"num_attention_heads": 12,
|
67 |
+
"num_codevector_groups": 2,
|
68 |
+
"num_codevectors_per_group": 320,
|
69 |
+
"num_conv_pos_embedding_groups": 16,
|
70 |
+
"num_conv_pos_embeddings": 128,
|
71 |
+
"num_feat_extract_layers": 7,
|
72 |
+
"num_hidden_layers": 12,
|
73 |
+
"num_negatives": 100,
|
74 |
+
"pad_token_id": 38,
|
75 |
+
"proj_codevector_dim": 256,
|
76 |
+
"tokenizer_class": "Wav2Vec2CTCTokenizer",
|
77 |
+
"torch_dtype": "float32",
|
78 |
+
"transformers_version": "4.11.3",
|
79 |
+
"use_weighted_layer_sum": false,
|
80 |
+
"vocab_size": 39
|
81 |
+
}
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4a8aafd2faa22e5a728aca3a1a78cedcc6b561f25731b738de839d7d361ecb16
|
3 |
+
size 721728273
|
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:c42247ac3fe8dd2d1b95cb51eafaf3baeb300d52d7966864af04823d1a896b56
|
3 |
+
size 377691543
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2deea08dfafdcec82e0001c7eeb3ad52920cf67edeffc9370aa2d44a763dd3a4
|
3 |
+
size 14567
|
scaler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cd07c1e7af0af38a2a25e0166936434897c50b2b9243d3b3f7693a359b580fec
|
3 |
+
size 559
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:66b0e7d13b8bc849e207ca234c1e1749af630b4667c008e039dbed6dedc440da
|
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.4794759750366211,
|
3 |
+
"best_model_checkpoint": "hubert-base-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.91e-05,
|
13 |
+
"loss": 5.9666,
|
14 |
+
"step": 100
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 0.14,
|
18 |
+
"learning_rate": 5.88e-05,
|
19 |
+
"loss": 2.691,
|
20 |
+
"step": 200
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 0.21,
|
24 |
+
"learning_rate": 8.879999999999999e-05,
|
25 |
+
"loss": 2.5892,
|
26 |
+
"step": 300
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 0.29,
|
30 |
+
"learning_rate": 0.0001185,
|
31 |
+
"loss": 2.276,
|
32 |
+
"step": 400
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 0.36,
|
36 |
+
"learning_rate": 0.0001482,
|
37 |
+
"loss": 0.9141,
|
38 |
+
"step": 500
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 0.36,
|
42 |
+
"eval_cer": 0.41183358071245185,
|
43 |
+
"eval_loss": 0.7568618655204773,
|
44 |
+
"eval_runtime": 1088.5554,
|
45 |
+
"eval_samples_per_second": 11.069,
|
46 |
+
"eval_steps_per_second": 1.384,
|
47 |
+
"step": 500
|
48 |
+
},
|
49 |
+
{
|
50 |
+
"epoch": 0.43,
|
51 |
+
"learning_rate": 0.0001779,
|
52 |
+
"loss": 0.5126,
|
53 |
+
"step": 600
|
54 |
+
},
|
55 |
+
{
|
56 |
+
"epoch": 0.5,
|
57 |
+
"learning_rate": 0.00020759999999999998,
|
58 |
+
"loss": 0.431,
|
59 |
+
"step": 700
|
60 |
+
},
|
61 |
+
{
|
62 |
+
"epoch": 0.57,
|
63 |
+
"learning_rate": 0.0002376,
|
64 |
+
"loss": 0.3866,
|
65 |
+
"step": 800
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 0.64,
|
69 |
+
"learning_rate": 0.000267,
|
70 |
+
"loss": 0.3897,
|
71 |
+
"step": 900
|
72 |
+
},
|
73 |
+
{
|
74 |
+
"epoch": 0.71,
|
75 |
+
"learning_rate": 0.00029699999999999996,
|
76 |
+
"loss": 0.3504,
|
77 |
+
"step": 1000
|
78 |
+
},
|
79 |
+
{
|
80 |
+
"epoch": 0.71,
|
81 |
+
"eval_cer": 0.3094838133825417,
|
82 |
+
"eval_loss": 0.5331771373748779,
|
83 |
+
"eval_runtime": 1206.7225,
|
84 |
+
"eval_samples_per_second": 9.985,
|
85 |
+
"eval_steps_per_second": 1.249,
|
86 |
+
"step": 1000
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 0.79,
|
90 |
+
"learning_rate": 0.00029900074019245003,
|
91 |
+
"loss": 0.3487,
|
92 |
+
"step": 1100
|
93 |
+
},
|
94 |
+
{
|
95 |
+
"epoch": 0.86,
|
96 |
+
"learning_rate": 0.0002979126572908956,
|
97 |
+
"loss": 0.3302,
|
98 |
+
"step": 1200
|
99 |
+
},
|
100 |
+
{
|
101 |
+
"epoch": 0.93,
|
102 |
+
"learning_rate": 0.0002968245743893412,
|
103 |
+
"loss": 0.3246,
|
104 |
+
"step": 1300
|
105 |
+
},
|
106 |
+
{
|
107 |
+
"epoch": 1.0,
|
108 |
+
"learning_rate": 0.0002957142857142857,
|
109 |
+
"loss": 0.301,
|
110 |
+
"step": 1400
|
111 |
+
},
|
112 |
+
{
|
113 |
+
"epoch": 1.07,
|
114 |
+
"learning_rate": 0.00029460399703923015,
|
115 |
+
"loss": 0.2829,
|
116 |
+
"step": 1500
|
117 |
+
},
|
118 |
+
{
|
119 |
+
"epoch": 1.07,
|
120 |
+
"eval_cer": 0.2748139642169448,
|
121 |
+
"eval_loss": 0.4794759750366211,
|
122 |
+
"eval_runtime": 1193.809,
|
123 |
+
"eval_samples_per_second": 10.093,
|
124 |
+
"eval_steps_per_second": 1.262,
|
125 |
+
"step": 1500
|
126 |
+
}
|
127 |
+
],
|
128 |
+
"max_steps": 28020,
|
129 |
+
"num_train_epochs": 20,
|
130 |
+
"total_flos": 2.852051261361667e+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:32c1264b4313409a32983632a06d3240d54f08adbbc04698a734ab29b0cfcf64
|
3 |
+
size 2863
|
vocab.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"h": 1, "aː": 2, "k": 3, "n̪": 4, "ɭ": 5, "p": 6, "ŋ": 7, "uː": 8, "்": 9, "ɾ": 10, "ɳ": 11, "i": 12, "d͡ʒ": 13, "t͡ʃ": 14, "m": 15, "n": 16, "r": 17, "oː": 18, "iː": 19, "t̪": 20, "eː": 21, "kʂ": 22, "ɻ": 23, "ʈ": 24, "o": 25, "ʂ": 26, "l": 27, "s": 28, "u": 29, "e": 30, "a": 31, "ʋ": 32, "aj": 33, "aʋ": 34, "j": 35, "ɲ": 36, "|": 0, "[UNK]": 37, "[PAD]": 38}
|