sara-nabhani commited on
Commit
a5b29e5
1 Parent(s): da3d3df

Model save

Browse files
last-checkpoint/generation_config.json → generation_config.json RENAMED
File without changes
last-checkpoint/config.json DELETED
@@ -1,60 +0,0 @@
1
- {
2
- "_name_or_path": "t5-small",
3
- "architectures": [
4
- "T5ForConditionalGeneration"
5
- ],
6
- "d_ff": 2048,
7
- "d_kv": 64,
8
- "d_model": 512,
9
- "decoder_start_token_id": 0,
10
- "dense_act_fn": "relu",
11
- "dropout_rate": 0.1,
12
- "eos_token_id": 1,
13
- "feed_forward_proj": "relu",
14
- "initializer_factor": 1.0,
15
- "is_encoder_decoder": true,
16
- "is_gated_act": false,
17
- "layer_norm_epsilon": 1e-06,
18
- "model_type": "t5",
19
- "n_positions": 512,
20
- "num_decoder_layers": 6,
21
- "num_heads": 8,
22
- "num_layers": 6,
23
- "output_past": true,
24
- "pad_token_id": 0,
25
- "relative_attention_max_distance": 128,
26
- "relative_attention_num_buckets": 32,
27
- "task_specific_params": {
28
- "summarization": {
29
- "early_stopping": true,
30
- "length_penalty": 2.0,
31
- "max_length": 200,
32
- "min_length": 30,
33
- "no_repeat_ngram_size": 3,
34
- "num_beams": 4,
35
- "prefix": "summarize: "
36
- },
37
- "translation_en_to_de": {
38
- "early_stopping": true,
39
- "max_length": 300,
40
- "num_beams": 4,
41
- "prefix": "translate English to German: "
42
- },
43
- "translation_en_to_fr": {
44
- "early_stopping": true,
45
- "max_length": 300,
46
- "num_beams": 4,
47
- "prefix": "translate English to French: "
48
- },
49
- "translation_en_to_ro": {
50
- "early_stopping": true,
51
- "max_length": 300,
52
- "num_beams": 4,
53
- "prefix": "translate English to Romanian: "
54
- }
55
- },
56
- "torch_dtype": "float32",
57
- "transformers_version": "4.27.4",
58
- "use_cache": true,
59
- "vocab_size": 32128
60
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
last-checkpoint/optimizer.pt DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:b6e695ce342085751e8088db3a1ccd4e12ae77908153744c73d1cbf686de28d6
3
- size 839109
 
 
 
 
last-checkpoint/pytorch_model.bin DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:e0932a9631d1d6657db830cbe8bf7d938b02725fb7838de7aad0768d17ba456d
3
- size 242071641
 
 
 
 
last-checkpoint/rng_state.pth DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:23847b9061c3ef02b96a96b1800df1e82d54ffce02dca64bce9f878e1c885d63
3
- size 14575
 
 
 
 
last-checkpoint/scheduler.pt DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:208b9a0fd35638ca537be084cec723f7de06e1059d5216cf32ae7d29bab55c30
3
- size 627
 
 
 
 
last-checkpoint/special_tokens_map.json DELETED
@@ -1,107 +0,0 @@
1
- {
2
- "additional_special_tokens": [
3
- "<extra_id_0>",
4
- "<extra_id_1>",
5
- "<extra_id_2>",
6
- "<extra_id_3>",
7
- "<extra_id_4>",
8
- "<extra_id_5>",
9
- "<extra_id_6>",
10
- "<extra_id_7>",
11
- "<extra_id_8>",
12
- "<extra_id_9>",
13
- "<extra_id_10>",
14
- "<extra_id_11>",
15
- "<extra_id_12>",
16
- "<extra_id_13>",
17
- "<extra_id_14>",
18
- "<extra_id_15>",
19
- "<extra_id_16>",
20
- "<extra_id_17>",
21
- "<extra_id_18>",
22
- "<extra_id_19>",
23
- "<extra_id_20>",
24
- "<extra_id_21>",
25
- "<extra_id_22>",
26
- "<extra_id_23>",
27
- "<extra_id_24>",
28
- "<extra_id_25>",
29
- "<extra_id_26>",
30
- "<extra_id_27>",
31
- "<extra_id_28>",
32
- "<extra_id_29>",
33
- "<extra_id_30>",
34
- "<extra_id_31>",
35
- "<extra_id_32>",
36
- "<extra_id_33>",
37
- "<extra_id_34>",
38
- "<extra_id_35>",
39
- "<extra_id_36>",
40
- "<extra_id_37>",
41
- "<extra_id_38>",
42
- "<extra_id_39>",
43
- "<extra_id_40>",
44
- "<extra_id_41>",
45
- "<extra_id_42>",
46
- "<extra_id_43>",
47
- "<extra_id_44>",
48
- "<extra_id_45>",
49
- "<extra_id_46>",
50
- "<extra_id_47>",
51
- "<extra_id_48>",
52
- "<extra_id_49>",
53
- "<extra_id_50>",
54
- "<extra_id_51>",
55
- "<extra_id_52>",
56
- "<extra_id_53>",
57
- "<extra_id_54>",
58
- "<extra_id_55>",
59
- "<extra_id_56>",
60
- "<extra_id_57>",
61
- "<extra_id_58>",
62
- "<extra_id_59>",
63
- "<extra_id_60>",
64
- "<extra_id_61>",
65
- "<extra_id_62>",
66
- "<extra_id_63>",
67
- "<extra_id_64>",
68
- "<extra_id_65>",
69
- "<extra_id_66>",
70
- "<extra_id_67>",
71
- "<extra_id_68>",
72
- "<extra_id_69>",
73
- "<extra_id_70>",
74
- "<extra_id_71>",
75
- "<extra_id_72>",
76
- "<extra_id_73>",
77
- "<extra_id_74>",
78
- "<extra_id_75>",
79
- "<extra_id_76>",
80
- "<extra_id_77>",
81
- "<extra_id_78>",
82
- "<extra_id_79>",
83
- "<extra_id_80>",
84
- "<extra_id_81>",
85
- "<extra_id_82>",
86
- "<extra_id_83>",
87
- "<extra_id_84>",
88
- "<extra_id_85>",
89
- "<extra_id_86>",
90
- "<extra_id_87>",
91
- "<extra_id_88>",
92
- "<extra_id_89>",
93
- "<extra_id_90>",
94
- "<extra_id_91>",
95
- "<extra_id_92>",
96
- "<extra_id_93>",
97
- "<extra_id_94>",
98
- "<extra_id_95>",
99
- "<extra_id_96>",
100
- "<extra_id_97>",
101
- "<extra_id_98>",
102
- "<extra_id_99>"
103
- ],
104
- "eos_token": "</s>",
105
- "pad_token": "<pad>",
106
- "unk_token": "<unk>"
107
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
last-checkpoint/tokenizer.json DELETED
The diff for this file is too large to render. See raw diff
 
last-checkpoint/tokenizer_config.json DELETED
@@ -1,111 +0,0 @@
1
- {
2
- "additional_special_tokens": [
3
- "<extra_id_0>",
4
- "<extra_id_1>",
5
- "<extra_id_2>",
6
- "<extra_id_3>",
7
- "<extra_id_4>",
8
- "<extra_id_5>",
9
- "<extra_id_6>",
10
- "<extra_id_7>",
11
- "<extra_id_8>",
12
- "<extra_id_9>",
13
- "<extra_id_10>",
14
- "<extra_id_11>",
15
- "<extra_id_12>",
16
- "<extra_id_13>",
17
- "<extra_id_14>",
18
- "<extra_id_15>",
19
- "<extra_id_16>",
20
- "<extra_id_17>",
21
- "<extra_id_18>",
22
- "<extra_id_19>",
23
- "<extra_id_20>",
24
- "<extra_id_21>",
25
- "<extra_id_22>",
26
- "<extra_id_23>",
27
- "<extra_id_24>",
28
- "<extra_id_25>",
29
- "<extra_id_26>",
30
- "<extra_id_27>",
31
- "<extra_id_28>",
32
- "<extra_id_29>",
33
- "<extra_id_30>",
34
- "<extra_id_31>",
35
- "<extra_id_32>",
36
- "<extra_id_33>",
37
- "<extra_id_34>",
38
- "<extra_id_35>",
39
- "<extra_id_36>",
40
- "<extra_id_37>",
41
- "<extra_id_38>",
42
- "<extra_id_39>",
43
- "<extra_id_40>",
44
- "<extra_id_41>",
45
- "<extra_id_42>",
46
- "<extra_id_43>",
47
- "<extra_id_44>",
48
- "<extra_id_45>",
49
- "<extra_id_46>",
50
- "<extra_id_47>",
51
- "<extra_id_48>",
52
- "<extra_id_49>",
53
- "<extra_id_50>",
54
- "<extra_id_51>",
55
- "<extra_id_52>",
56
- "<extra_id_53>",
57
- "<extra_id_54>",
58
- "<extra_id_55>",
59
- "<extra_id_56>",
60
- "<extra_id_57>",
61
- "<extra_id_58>",
62
- "<extra_id_59>",
63
- "<extra_id_60>",
64
- "<extra_id_61>",
65
- "<extra_id_62>",
66
- "<extra_id_63>",
67
- "<extra_id_64>",
68
- "<extra_id_65>",
69
- "<extra_id_66>",
70
- "<extra_id_67>",
71
- "<extra_id_68>",
72
- "<extra_id_69>",
73
- "<extra_id_70>",
74
- "<extra_id_71>",
75
- "<extra_id_72>",
76
- "<extra_id_73>",
77
- "<extra_id_74>",
78
- "<extra_id_75>",
79
- "<extra_id_76>",
80
- "<extra_id_77>",
81
- "<extra_id_78>",
82
- "<extra_id_79>",
83
- "<extra_id_80>",
84
- "<extra_id_81>",
85
- "<extra_id_82>",
86
- "<extra_id_83>",
87
- "<extra_id_84>",
88
- "<extra_id_85>",
89
- "<extra_id_86>",
90
- "<extra_id_87>",
91
- "<extra_id_88>",
92
- "<extra_id_89>",
93
- "<extra_id_90>",
94
- "<extra_id_91>",
95
- "<extra_id_92>",
96
- "<extra_id_93>",
97
- "<extra_id_94>",
98
- "<extra_id_95>",
99
- "<extra_id_96>",
100
- "<extra_id_97>",
101
- "<extra_id_98>",
102
- "<extra_id_99>"
103
- ],
104
- "eos_token": "</s>",
105
- "extra_ids": 100,
106
- "model_max_length": 512,
107
- "pad_token": "<pad>",
108
- "special_tokens_map_file": null,
109
- "tokenizer_class": "T5Tokenizer",
110
- "unk_token": "<unk>"
111
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
last-checkpoint/trainer_state.json DELETED
@@ -1,192 +0,0 @@
1
- {
2
- "best_metric": 1.8982672691345215,
3
- "best_model_checkpoint": "/home2/s5432073/nlp-final-project/results/t5-small-e-snli-generation-label_and_explanation-selected-b48/checkpoint-6000",
4
- "epoch": 1.397868250917351,
5
- "global_step": 16000,
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.17,
12
- "learning_rate": 0.00034946706272933774,
13
- "loss": 1.7285,
14
- "step": 2000
15
- },
16
- {
17
- "epoch": 0.17,
18
- "eval_accuracy": 0.7799227799227799,
19
- "eval_bertscore_f1": 0.9249492879321822,
20
- "eval_bleu": 0.3617092708600176,
21
- "eval_f1": 0.7791533559231315,
22
- "eval_loss": 1.994468092918396,
23
- "eval_rouge1": 0.5631328346668435,
24
- "eval_rouge2": 0.35166927276895404,
25
- "eval_rougeL": 0.5091398039884882,
26
- "eval_rougeLsum": 0.5115510299066959,
27
- "eval_runtime": 152.0189,
28
- "eval_samples_per_second": 64.742,
29
- "eval_steps_per_second": 1.355,
30
- "step": 2000
31
- },
32
- {
33
- "epoch": 0.35,
34
- "learning_rate": 0.0006989341254586755,
35
- "loss": 1.3318,
36
- "step": 4000
37
- },
38
- {
39
- "epoch": 0.35,
40
- "eval_accuracy": 0.7980085348506402,
41
- "eval_bertscore_f1": 0.9294592572152433,
42
- "eval_bleu": 0.3785029978343242,
43
- "eval_f1": 0.7970766753508512,
44
- "eval_loss": 1.9494003057479858,
45
- "eval_rouge1": 0.5766457763494588,
46
- "eval_rouge2": 0.36555677670515924,
47
- "eval_rougeL": 0.5217789532432893,
48
- "eval_rougeLsum": 0.5234366093111781,
49
- "eval_runtime": 134.464,
50
- "eval_samples_per_second": 73.194,
51
- "eval_steps_per_second": 1.532,
52
- "step": 4000
53
- },
54
- {
55
- "epoch": 0.52,
56
- "learning_rate": 0.0009974525690427361,
57
- "loss": 1.2662,
58
- "step": 6000
59
- },
60
- {
61
- "epoch": 0.52,
62
- "eval_accuracy": 0.8322495427758586,
63
- "eval_bertscore_f1": 0.9289105845597477,
64
- "eval_bleu": 0.372732685668011,
65
- "eval_f1": 0.8331206042748538,
66
- "eval_loss": 1.8982672691345215,
67
- "eval_rouge1": 0.576918617558847,
68
- "eval_rouge2": 0.36557636733349685,
69
- "eval_rougeL": 0.520516925582219,
70
- "eval_rougeLsum": 0.5224625060799704,
71
- "eval_runtime": 140.911,
72
- "eval_samples_per_second": 69.846,
73
- "eval_steps_per_second": 1.462,
74
- "step": 6000
75
- },
76
- {
77
- "epoch": 0.7,
78
- "learning_rate": 0.000979059565741192,
79
- "loss": 1.2285,
80
- "step": 8000
81
- },
82
- {
83
- "epoch": 0.7,
84
- "eval_accuracy": 0.839057102214997,
85
- "eval_bertscore_f1": 0.9312504534555678,
86
- "eval_bleu": 0.38842706559069845,
87
- "eval_f1": 0.8395854426332144,
88
- "eval_loss": 1.9078353643417358,
89
- "eval_rouge1": 0.5833449226550476,
90
- "eval_rouge2": 0.37338961978846497,
91
- "eval_rougeL": 0.5304206209938851,
92
- "eval_rougeLsum": 0.5321264570721548,
93
- "eval_runtime": 135.318,
94
- "eval_samples_per_second": 72.732,
95
- "eval_steps_per_second": 1.522,
96
- "step": 8000
97
- },
98
- {
99
- "epoch": 0.87,
100
- "learning_rate": 0.000960666562439648,
101
- "loss": 1.1973,
102
- "step": 10000
103
- },
104
- {
105
- "epoch": 0.87,
106
- "eval_accuracy": 0.84850640113798,
107
- "eval_bertscore_f1": 0.9303364607951574,
108
- "eval_bleu": 0.38678558971915966,
109
- "eval_f1": 0.8469534814747445,
110
- "eval_loss": 1.924625277519226,
111
- "eval_rouge1": 0.5887895849187131,
112
- "eval_rouge2": 0.3782063561535805,
113
- "eval_rougeL": 0.532227503602458,
114
- "eval_rougeLsum": 0.5339020763321387,
115
- "eval_runtime": 139.1085,
116
- "eval_samples_per_second": 70.751,
117
- "eval_steps_per_second": 1.481,
118
- "step": 10000
119
- },
120
- {
121
- "epoch": 1.05,
122
- "learning_rate": 0.0009422735591381039,
123
- "loss": 1.1715,
124
- "step": 12000
125
- },
126
- {
127
- "epoch": 1.05,
128
- "eval_accuracy": 0.8561268034952245,
129
- "eval_bertscore_f1": 0.9330766593215669,
130
- "eval_bleu": 0.40386100131184377,
131
- "eval_f1": 0.8564542498324688,
132
- "eval_loss": 1.9262378215789795,
133
- "eval_rouge1": 0.6019574503198954,
134
- "eval_rouge2": 0.39499642329876394,
135
- "eval_rougeL": 0.546419320785672,
136
- "eval_rougeLsum": 0.5479447508315372,
137
- "eval_runtime": 137.4104,
138
- "eval_samples_per_second": 71.625,
139
- "eval_steps_per_second": 1.499,
140
- "step": 12000
141
- },
142
- {
143
- "epoch": 1.22,
144
- "learning_rate": 0.0009238805558365598,
145
- "loss": 1.1368,
146
- "step": 14000
147
- },
148
- {
149
- "epoch": 1.22,
150
- "eval_accuracy": 0.8621215200162569,
151
- "eval_bertscore_f1": 0.9313000801725858,
152
- "eval_bleu": 0.3888636197252566,
153
- "eval_f1": 0.8612027288089762,
154
- "eval_loss": 1.9154859781265259,
155
- "eval_rouge1": 0.6027342891006561,
156
- "eval_rouge2": 0.3918052861538903,
157
- "eval_rougeL": 0.5441715464904324,
158
- "eval_rougeLsum": 0.546308335909449,
159
- "eval_runtime": 139.5821,
160
- "eval_samples_per_second": 70.51,
161
- "eval_steps_per_second": 1.476,
162
- "step": 14000
163
- },
164
- {
165
- "epoch": 1.4,
166
- "learning_rate": 0.0009054875525350156,
167
- "loss": 1.1281,
168
- "step": 16000
169
- },
170
- {
171
- "epoch": 1.4,
172
- "eval_accuracy": 0.8657793131477342,
173
- "eval_bertscore_f1": 0.9337438827812418,
174
- "eval_bleu": 0.4039391893498565,
175
- "eval_f1": 0.8658628497423001,
176
- "eval_loss": 1.9090572595596313,
177
- "eval_rouge1": 0.6049779979620054,
178
- "eval_rouge2": 0.39828191091615167,
179
- "eval_rougeL": 0.5492090205604321,
180
- "eval_rougeLsum": 0.5512546156746885,
181
- "eval_runtime": 138.6947,
182
- "eval_samples_per_second": 70.962,
183
- "eval_steps_per_second": 1.485,
184
- "step": 16000
185
- }
186
- ],
187
- "max_steps": 114460,
188
- "num_train_epochs": 10,
189
- "total_flos": 1.1521685095514112e+16,
190
- "trial_name": null,
191
- "trial_params": null
192
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
last-checkpoint/training_args.bin DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:fb4f6b1f684441f2a8a8eadb1bd29616811f3df207995b04e8f2a63355b35b9c
3
- size 3963
 
 
 
 
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e0932a9631d1d6657db830cbe8bf7d938b02725fb7838de7aad0768d17ba456d
3
  size 242071641
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7f6a3ffc692fb8aa71ce3f2e0a3717f1310a6eb57dc43605950c0483d1adcf0b
3
  size 242071641