Ethan Sim commited on
Commit
19d4f40
1 Parent(s): b428335

stage best unsampled glossary fine adapt wce model

Browse files
config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Helsinki-NLP/opus-mt-tc-big-en-fr",
3
+ "activation_dropout": 0.0,
4
+ "activation_function": "relu",
5
+ "architectures": [
6
+ "MarianMTModel"
7
+ ],
8
+ "attention_dropout": 0.0,
9
+ "bad_words_ids": [
10
+ [
11
+ 53016
12
+ ]
13
+ ],
14
+ "bos_token_id": 0,
15
+ "classifier_dropout": 0.0,
16
+ "d_model": 1024,
17
+ "decoder_attention_heads": 16,
18
+ "decoder_ffn_dim": 4096,
19
+ "decoder_layerdrop": 0.0,
20
+ "decoder_layers": 6,
21
+ "decoder_start_token_id": 53016,
22
+ "decoder_vocab_size": 53017,
23
+ "dropout": 0.1,
24
+ "encoder_attention_heads": 16,
25
+ "encoder_ffn_dim": 4096,
26
+ "encoder_layerdrop": 0.0,
27
+ "encoder_layers": 6,
28
+ "eos_token_id": 43311,
29
+ "forced_eos_token_id": 43311,
30
+ "init_std": 0.02,
31
+ "is_encoder_decoder": true,
32
+ "max_length": 512,
33
+ "max_position_embeddings": 1024,
34
+ "model_type": "marian",
35
+ "normalize_embedding": false,
36
+ "num_beams": 4,
37
+ "num_hidden_layers": 6,
38
+ "pad_token_id": 53016,
39
+ "scale_embedding": true,
40
+ "share_encoder_decoder_embeddings": true,
41
+ "static_position_embeddings": true,
42
+ "torch_dtype": "float32",
43
+ "transformers_version": "4.28.0",
44
+ "use_cache": true,
45
+ "vocab_size": 53017
46
+ }
generation_config.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bad_words_ids": [
3
+ [
4
+ 53016
5
+ ]
6
+ ],
7
+ "bos_token_id": 0,
8
+ "decoder_start_token_id": 53016,
9
+ "eos_token_id": 43311,
10
+ "forced_eos_token_id": 43311,
11
+ "max_length": 512,
12
+ "num_beams": 4,
13
+ "pad_token_id": 53016,
14
+ "transformers_version": "4.28.0"
15
+ }
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c6a23ad3e8845beaf9fa4e1153e13c93fb24495bfe9ffbc2f4cd420131f4b2ce
3
+ size 1845323269
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c91091e1d99a274f665eb51013f1f1fc8446c396c57ed4d4a36b5d104a1e768
3
+ size 922885701
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3135b4b2b5b6421ed765b6de6788be2793682866627de507316c6f0956b67c3b
3
+ size 14575
scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:01f30a0038add223303f40959e0d8f8a5056bff6ba6c6bff2f7bcef69e68348c
3
+ size 557
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d841877dae97f3484921bd550ae3afec1339fe3ea6e45d722c6eee90ccd95ea9
3
+ size 627
source.spm ADDED
Binary file (802 kB). View file
 
special_tokens_map.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "eos_token": "</s>",
3
+ "pad_token": "<pad>",
4
+ "unk_token": "<unk>"
5
+ }
target.spm ADDED
Binary file (820 kB). View file
 
tokenizer_config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "clean_up_tokenization_spaces": true,
3
+ "eos_token": "</s>",
4
+ "model_max_length": 512,
5
+ "pad_token": "<pad>",
6
+ "separate_vocabs": false,
7
+ "source_lang": "en",
8
+ "sp_model_kwargs": {},
9
+ "target_lang": "fr",
10
+ "tokenizer_class": "MarianTokenizer",
11
+ "unk_token": "<unk>"
12
+ }
trainer_state.json ADDED
@@ -0,0 +1,176 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 43.218,
3
+ "best_model_checkpoint": "opus_big_adapt_wce_gloss_unsampled_precision_2_ubweight_1.5/checkpoint-80000",
4
+ "epoch": 1.9716574245224892,
5
+ "global_step": 80000,
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.2,
12
+ "learning_rate": 1.9753635243376465e-05,
13
+ "loss": 0.1832,
14
+ "step": 8000
15
+ },
16
+ {
17
+ "epoch": 0.2,
18
+ "eval_bleu": 42.311,
19
+ "eval_gen_len": 33.3634,
20
+ "eval_loss": 0.0981452614068985,
21
+ "eval_runtime": 129.4343,
22
+ "eval_samples_per_second": 8.058,
23
+ "eval_steps_per_second": 0.51,
24
+ "step": 8000
25
+ },
26
+ {
27
+ "epoch": 0.39,
28
+ "learning_rate": 1.950723967960567e-05,
29
+ "loss": 0.152,
30
+ "step": 16000
31
+ },
32
+ {
33
+ "epoch": 0.39,
34
+ "eval_bleu": 42.5149,
35
+ "eval_gen_len": 33.8552,
36
+ "eval_loss": 0.09721900522708893,
37
+ "eval_runtime": 121.8178,
38
+ "eval_samples_per_second": 8.562,
39
+ "eval_steps_per_second": 0.542,
40
+ "step": 16000
41
+ },
42
+ {
43
+ "epoch": 0.59,
44
+ "learning_rate": 1.9260844115834877e-05,
45
+ "loss": 0.1477,
46
+ "step": 24000
47
+ },
48
+ {
49
+ "epoch": 0.59,
50
+ "eval_bleu": 42.3053,
51
+ "eval_gen_len": 33.1083,
52
+ "eval_loss": 0.09773427993059158,
53
+ "eval_runtime": 113.6446,
54
+ "eval_samples_per_second": 9.178,
55
+ "eval_steps_per_second": 0.581,
56
+ "step": 24000
57
+ },
58
+ {
59
+ "epoch": 0.79,
60
+ "learning_rate": 1.901447935921134e-05,
61
+ "loss": 0.1437,
62
+ "step": 32000
63
+ },
64
+ {
65
+ "epoch": 0.79,
66
+ "eval_bleu": 42.7689,
67
+ "eval_gen_len": 34.2637,
68
+ "eval_loss": 0.09667054563760757,
69
+ "eval_runtime": 127.749,
70
+ "eval_samples_per_second": 8.164,
71
+ "eval_steps_per_second": 0.517,
72
+ "step": 32000
73
+ },
74
+ {
75
+ "epoch": 0.99,
76
+ "learning_rate": 1.8768114602587803e-05,
77
+ "loss": 0.1422,
78
+ "step": 40000
79
+ },
80
+ {
81
+ "epoch": 0.99,
82
+ "eval_bleu": 42.1023,
83
+ "eval_gen_len": 34.2656,
84
+ "eval_loss": 0.09601164609193802,
85
+ "eval_runtime": 127.2919,
86
+ "eval_samples_per_second": 8.194,
87
+ "eval_steps_per_second": 0.518,
88
+ "step": 40000
89
+ },
90
+ {
91
+ "epoch": 1.18,
92
+ "learning_rate": 1.8521749845964266e-05,
93
+ "loss": 0.1265,
94
+ "step": 48000
95
+ },
96
+ {
97
+ "epoch": 1.18,
98
+ "eval_bleu": 42.4637,
99
+ "eval_gen_len": 34.1064,
100
+ "eval_loss": 0.09702879190444946,
101
+ "eval_runtime": 125.1346,
102
+ "eval_samples_per_second": 8.335,
103
+ "eval_steps_per_second": 0.527,
104
+ "step": 48000
105
+ },
106
+ {
107
+ "epoch": 1.38,
108
+ "learning_rate": 1.8275415896487988e-05,
109
+ "loss": 0.1269,
110
+ "step": 56000
111
+ },
112
+ {
113
+ "epoch": 1.38,
114
+ "eval_bleu": 42.9093,
115
+ "eval_gen_len": 33.7507,
116
+ "eval_loss": 0.09716643393039703,
117
+ "eval_runtime": 127.4089,
118
+ "eval_samples_per_second": 8.186,
119
+ "eval_steps_per_second": 0.518,
120
+ "step": 56000
121
+ },
122
+ {
123
+ "epoch": 1.58,
124
+ "learning_rate": 1.8029020332717192e-05,
125
+ "loss": 0.1275,
126
+ "step": 64000
127
+ },
128
+ {
129
+ "epoch": 1.58,
130
+ "eval_bleu": 42.6221,
131
+ "eval_gen_len": 34.4372,
132
+ "eval_loss": 0.09658621996641159,
133
+ "eval_runtime": 249.3691,
134
+ "eval_samples_per_second": 4.183,
135
+ "eval_steps_per_second": 0.265,
136
+ "step": 64000
137
+ },
138
+ {
139
+ "epoch": 1.77,
140
+ "learning_rate": 1.7782655576093655e-05,
141
+ "loss": 0.127,
142
+ "step": 72000
143
+ },
144
+ {
145
+ "epoch": 1.77,
146
+ "eval_bleu": 42.3284,
147
+ "eval_gen_len": 34.0441,
148
+ "eval_loss": 0.09654054045677185,
149
+ "eval_runtime": 197.536,
150
+ "eval_samples_per_second": 5.28,
151
+ "eval_steps_per_second": 0.334,
152
+ "step": 72000
153
+ },
154
+ {
155
+ "epoch": 1.97,
156
+ "learning_rate": 1.7536321626617377e-05,
157
+ "loss": 0.1266,
158
+ "step": 80000
159
+ },
160
+ {
161
+ "epoch": 1.97,
162
+ "eval_bleu": 43.218,
163
+ "eval_gen_len": 34.1035,
164
+ "eval_loss": 0.09614226967096329,
165
+ "eval_runtime": 124.4592,
166
+ "eval_samples_per_second": 8.38,
167
+ "eval_steps_per_second": 0.53,
168
+ "step": 80000
169
+ }
170
+ ],
171
+ "max_steps": 649200,
172
+ "num_train_epochs": 16,
173
+ "total_flos": 2.5844916958632346e+17,
174
+ "trial_name": null,
175
+ "trial_params": null
176
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c1e3e973ab9c641205085b0da2fa097a725aaa3c27d0d8b28b392b3501e503e
3
+ size 3835
vocab.json ADDED
The diff for this file is too large to render. See raw diff