DewiBrynJones commited on
Commit
88da3e1
·
1 Parent(s): 3842ddf

pretrained xls-r-1b with very weak youtube data

Browse files
added_tokens.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "</s>": 126,
3
+ "<s>": 125
4
+ }
all_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.02141648641123937,
3
+ "total_flos": 8.380982415051637e+18,
4
+ "train_loss": 2.956299072265625,
5
+ "train_runtime": 3006.0711,
6
+ "train_samples": 373544,
7
+ "train_samples_per_second": 2.661,
8
+ "train_steps_per_second": 0.665
9
+ }
config.json CHANGED
@@ -1,4 +1,5 @@
1
  {
 
2
  "activation_dropout": 0.0,
3
  "adapter_attn_dim": null,
4
  "adapter_kernel_size": 3,
@@ -6,12 +7,12 @@
6
  "add_adapter": false,
7
  "apply_spec_augment": true,
8
  "architectures": [
9
- "Wav2Vec2ForPreTraining"
10
  ],
11
  "attention_dropout": 0.0,
12
  "bos_token_id": 1,
13
  "classifier_proj_size": 256,
14
- "codevector_dim": 256,
15
  "contrastive_logits_temperature": 0.1,
16
  "conv_bias": true,
17
  "conv_dim": [
@@ -41,7 +42,7 @@
41
  2,
42
  2
43
  ],
44
- "ctc_loss_reduction": "sum",
45
  "ctc_zero_infinity": false,
46
  "diversity_loss_weight": 0.1,
47
  "do_stable_layer_norm": true,
@@ -52,12 +53,12 @@
52
  "feat_proj_dropout": 0.0,
53
  "feat_quantizer_dropout": 0.0,
54
  "final_dropout": 0.0,
 
55
  "hidden_act": "gelu",
56
  "hidden_dropout": 0.0,
57
- "hidden_dropout_prob": 0.0,
58
- "hidden_size": 768,
59
  "initializer_range": 0.02,
60
- "intermediate_size": 3072,
61
  "layer_norm_eps": 1e-05,
62
  "layerdrop": 0.0,
63
  "mask_feature_length": 10,
@@ -65,20 +66,20 @@
65
  "mask_feature_prob": 0.0,
66
  "mask_time_length": 10,
67
  "mask_time_min_masks": 2,
68
- "mask_time_prob": 0.65,
69
  "model_type": "wav2vec2",
70
  "num_adapter_layers": 3,
71
- "num_attention_heads": 12,
72
  "num_codevector_groups": 2,
73
  "num_codevectors_per_group": 320,
74
  "num_conv_pos_embedding_groups": 16,
75
  "num_conv_pos_embeddings": 128,
76
  "num_feat_extract_layers": 7,
77
- "num_hidden_layers": 12,
78
  "num_negatives": 100,
79
- "output_hidden_size": 768,
80
- "pad_token_id": 0,
81
- "proj_codevector_dim": 256,
82
  "tdnn_dilation": [
83
  1,
84
  2,
@@ -101,8 +102,8 @@
101
  1
102
  ],
103
  "torch_dtype": "float32",
104
- "transformers_version": "4.38.2",
105
  "use_weighted_layer_sum": false,
106
- "vocab_size": 32,
107
  "xvector_output_dim": 512
108
  }
 
1
  {
2
+ "_name_or_path": "facebook/wav2vec2-xls-r-1b",
3
  "activation_dropout": 0.0,
4
  "adapter_attn_dim": null,
5
  "adapter_kernel_size": 3,
 
7
  "add_adapter": false,
8
  "apply_spec_augment": true,
9
  "architectures": [
10
+ "Wav2Vec2ForCTC"
11
  ],
12
  "attention_dropout": 0.0,
13
  "bos_token_id": 1,
14
  "classifier_proj_size": 256,
15
+ "codevector_dim": 1024,
16
  "contrastive_logits_temperature": 0.1,
17
  "conv_bias": true,
18
  "conv_dim": [
 
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,
 
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.0,
59
+ "hidden_size": 1280,
 
60
  "initializer_range": 0.02,
61
+ "intermediate_size": 5120,
62
  "layer_norm_eps": 1e-05,
63
  "layerdrop": 0.0,
64
  "mask_feature_length": 10,
 
66
  "mask_feature_prob": 0.0,
67
  "mask_time_length": 10,
68
  "mask_time_min_masks": 2,
69
+ "mask_time_prob": 0.05,
70
  "model_type": "wav2vec2",
71
  "num_adapter_layers": 3,
72
+ "num_attention_heads": 16,
73
  "num_codevector_groups": 2,
74
  "num_codevectors_per_group": 320,
75
  "num_conv_pos_embedding_groups": 16,
76
  "num_conv_pos_embeddings": 128,
77
  "num_feat_extract_layers": 7,
78
+ "num_hidden_layers": 48,
79
  "num_negatives": 100,
80
+ "output_hidden_size": 1280,
81
+ "pad_token_id": 124,
82
+ "proj_codevector_dim": 1024,
83
  "tdnn_dilation": [
84
  1,
85
  2,
 
102
  1
103
  ],
104
  "torch_dtype": "float32",
105
+ "transformers_version": "4.46.2",
106
  "use_weighted_layer_sum": false,
107
+ "vocab_size": 127,
108
  "xvector_output_dim": 512
109
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1567f48173b19ed1f1e2c9c76fad74d2a6ed662c39128a00be62cca1dd2c9ba7
3
- size 380246024
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4c82c6976546d4645916faa4952bf332ce4fa1bc1d2eb49611e37db7455349c3
3
+ size 3850741748
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,
7
+ "processor_class": "Wav2Vec2Processor",
8
+ "return_attention_mask": true,
9
+ "sampling_rate": 16000
10
+ }
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,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "123": {
4
+ "content": "[UNK]",
5
+ "lstrip": true,
6
+ "normalized": false,
7
+ "rstrip": true,
8
+ "single_word": false,
9
+ "special": false
10
+ },
11
+ "124": {
12
+ "content": "[PAD]",
13
+ "lstrip": true,
14
+ "normalized": false,
15
+ "rstrip": true,
16
+ "single_word": false,
17
+ "special": false
18
+ },
19
+ "125": {
20
+ "content": "<s>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "126": {
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": false,
38
+ "do_lower_case": false,
39
+ "eos_token": "</s>",
40
+ "ignore_mismatched_sizes": true,
41
+ "model_max_length": 1000000000000000019884624838656,
42
+ "pad_token": "[PAD]",
43
+ "processor_class": "Wav2Vec2Processor",
44
+ "replace_word_delimiter_char": " ",
45
+ "target_lang": null,
46
+ "tokenizer_class": "Wav2Vec2CTCTokenizer",
47
+ "unk_token": "[UNK]",
48
+ "word_delimiter_token": "|"
49
+ }
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.02141648641123937,
3
+ "total_flos": 8.380982415051637e+18,
4
+ "train_loss": 2.956299072265625,
5
+ "train_runtime": 3006.0711,
6
+ "train_samples": 373544,
7
+ "train_samples_per_second": 2.661,
8
+ "train_steps_per_second": 0.665
9
+ }
trainer_state.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.02141648641123937,
5
+ "eval_steps": 500,
6
+ "global_step": 2000,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.005354121602809843,
13
+ "grad_norm": NaN,
14
+ "learning_rate": 2.5e-06,
15
+ "loss": 11.8252,
16
+ "step": 500
17
+ },
18
+ {
19
+ "epoch": 0.010708243205619685,
20
+ "grad_norm": NaN,
21
+ "learning_rate": 1.6666666666666669e-06,
22
+ "loss": 0.0,
23
+ "step": 1000
24
+ },
25
+ {
26
+ "epoch": 0.01606236480842953,
27
+ "grad_norm": NaN,
28
+ "learning_rate": 8.333333333333334e-07,
29
+ "loss": 0.0,
30
+ "step": 1500
31
+ },
32
+ {
33
+ "epoch": 0.02141648641123937,
34
+ "grad_norm": NaN,
35
+ "learning_rate": 0.0,
36
+ "loss": 0.0,
37
+ "step": 2000
38
+ },
39
+ {
40
+ "epoch": 0.02141648641123937,
41
+ "step": 2000,
42
+ "total_flos": 8.380982415051637e+18,
43
+ "train_loss": 2.956299072265625,
44
+ "train_runtime": 3006.0711,
45
+ "train_samples_per_second": 2.661,
46
+ "train_steps_per_second": 0.665
47
+ }
48
+ ],
49
+ "logging_steps": 500,
50
+ "max_steps": 2000,
51
+ "num_input_tokens_seen": 0,
52
+ "num_train_epochs": 1,
53
+ "save_steps": 500,
54
+ "stateful_callbacks": {
55
+ "TrainerControl": {
56
+ "args": {
57
+ "should_epoch_stop": false,
58
+ "should_evaluate": false,
59
+ "should_log": false,
60
+ "should_save": true,
61
+ "should_training_stop": true
62
+ },
63
+ "attributes": {}
64
+ }
65
+ },
66
+ "total_flos": 8.380982415051637e+18,
67
+ "train_batch_size": 4,
68
+ "trial_name": null,
69
+ "trial_params": null
70
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:38ea9119b51914be79a8bbc365ed90b3e1bd6aecd097c6f150056dbd45e48179
3
+ size 5368
vocab.json ADDED
@@ -0,0 +1,127 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "'": 1,
3
+ "+": 2,
4
+ "-": 3,
5
+ "0": 4,
6
+ "1": 5,
7
+ "2": 6,
8
+ "3": 7,
9
+ "4": 8,
10
+ "5": 9,
11
+ "6": 10,
12
+ "7": 11,
13
+ "8": 12,
14
+ "9": 13,
15
+ "[PAD]": 124,
16
+ "[UNK]": 123,
17
+ "a": 14,
18
+ "b": 15,
19
+ "c": 16,
20
+ "d": 17,
21
+ "e": 18,
22
+ "f": 19,
23
+ "g": 20,
24
+ "h": 21,
25
+ "i": 22,
26
+ "j": 23,
27
+ "k": 24,
28
+ "l": 25,
29
+ "m": 26,
30
+ "n": 27,
31
+ "o": 28,
32
+ "p": 29,
33
+ "q": 30,
34
+ "r": 31,
35
+ "s": 32,
36
+ "t": 33,
37
+ "u": 34,
38
+ "v": 35,
39
+ "w": 36,
40
+ "x": 37,
41
+ "y": 38,
42
+ "z": 39,
43
+ "|": 0,
44
+ "£": 40,
45
+ "à": 41,
46
+ "â": 42,
47
+ "ä": 43,
48
+ "ç": 44,
49
+ "ê": 45,
50
+ "ë": 46,
51
+ "î": 47,
52
+ "ï": 48,
53
+ "ò": 49,
54
+ "ô": 50,
55
+ "ø": 51,
56
+ "ù": 52,
57
+ "ú": 53,
58
+ "û": 54,
59
+ "ć": 55,
60
+ "ě": 56,
61
+ "ń": 57,
62
+ "ř": 58,
63
+ "ŝ": 59,
64
+ "š": 60,
65
+ "ŵ": 61,
66
+ "ŷ": 62,
67
+ "ż": 63,
68
+ "ƒ": 64,
69
+ "ƙ": 65,
70
+ "‵": 66,
71
+ "、": 67,
72
+ "。": 68,
73
+ "〇": 69,
74
+ "い": 70,
75
+ "え": 71,
76
+ "か": 72,
77
+ "こ": 73,
78
+ "す": 74,
79
+ "っ": 75,
80
+ "で": 76,
81
+ "や": 77,
82
+ "よ": 78,
83
+ "ろ": 79,
84
+ "わ": 80,
85
+ "ん": 81,
86
+ "゜": 82,
87
+ "ジ": 83,
88
+ "マ": 84,
89
+ "ー": 85,
90
+ "万": 86,
91
+ "不": 87,
92
+ "中": 88,
93
+ "了": 89,
94
+ "事": 90,
95
+ "他": 91,
96
+ "但": 92,
97
+ "你": 93,
98
+ "再": 94,
99
+ "啊": 95,
100
+ "嗯": 96,
101
+ "在": 97,
102
+ "妖": 98,
103
+ "娘": 99,
104
+ "已": 100,
105
+ "年": 101,
106
+ "幸": 102,
107
+ "愈": 103,
108
+ "掉": 104,
109
+ "排": 105,
110
+ "是": 106,
111
+ "现": 107,
112
+ "珠": 108,
113
+ "痊": 109,
114
+ "的": 110,
115
+ "看": 111,
116
+ "算": 112,
117
+ "米": 113,
118
+ "精": 114,
119
+ "经": 115,
120
+ "美": 116,
121
+ "见": 117,
122
+ "谢": 118,
123
+ "除": 119,
124
+ "食": 120,
125
+ "饭": 121,
126
+ "�": 122
127
+ }