sara-nabhani commited on
Commit
17e070c
1 Parent(s): 35e8ba7

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:d2e62c4053b12130f3c15a8374771d8badc383fb218eea178a53e3db0b4e7c00
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:edea7e76f138b5a937076945663ef9be5be34e8a1ad1531b591d608674a1d656
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:e720383a081028ce4daca98249eb4eb040bf48648a0545b31209dc8f6dbde5af
3
- size 14575
 
 
 
 
last-checkpoint/scheduler.pt DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:a3c7bfd871284a6faa92f94aee9c5ea71a9bdcdd13ee2b820e7d8b41939b332d
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.8752236366271973,
3
- "best_model_checkpoint": "/home2/s5432073/nlp-final-project/results/t5-small-e-snli-generation-label_and_explanation-selected-b64/checkpoint-6000",
4
- "epoch": 1.8639328984156571,
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.23,
12
- "learning_rate": 0.0004659832246039143,
13
- "loss": 1.6638,
14
- "step": 2000
15
- },
16
- {
17
- "epoch": 0.23,
18
- "eval_accuracy": 0.7882544198333672,
19
- "eval_bertscore_f1": 0.9274053666630888,
20
- "eval_bleu": 0.3730230029620418,
21
- "eval_f1": 0.7869310553570436,
22
- "eval_loss": 2.0038630962371826,
23
- "eval_rouge1": 0.5705349256664797,
24
- "eval_rouge2": 0.36005675419970606,
25
- "eval_rougeL": 0.5174575845618529,
26
- "eval_rougeLsum": 0.519191892876955,
27
- "eval_runtime": 132.0522,
28
- "eval_samples_per_second": 74.531,
29
- "eval_steps_per_second": 1.166,
30
- "step": 2000
31
- },
32
- {
33
- "epoch": 0.47,
34
- "learning_rate": 0.0009319664492078286,
35
- "loss": 1.2998,
36
- "step": 4000
37
- },
38
- {
39
- "epoch": 0.47,
40
- "eval_accuracy": 0.8282869335500914,
41
- "eval_bertscore_f1": 0.9302830712518128,
42
- "eval_bleu": 0.38537751631933276,
43
- "eval_f1": 0.8292574332070184,
44
- "eval_loss": 1.9378293752670288,
45
- "eval_rouge1": 0.5860810235891796,
46
- "eval_rouge2": 0.37476551181712653,
47
- "eval_rougeL": 0.5309995593771393,
48
- "eval_rougeLsum": 0.5329380545888618,
49
- "eval_runtime": 122.8565,
50
- "eval_samples_per_second": 80.11,
51
- "eval_steps_per_second": 1.253,
52
- "step": 4000
53
- },
54
- {
55
- "epoch": 0.7,
56
- "learning_rate": 0.0009790552803256977,
57
- "loss": 1.2351,
58
- "step": 6000
59
- },
60
- {
61
- "epoch": 0.7,
62
- "eval_accuracy": 0.8431213168055274,
63
- "eval_bertscore_f1": 0.9320737935498197,
64
- "eval_bleu": 0.3954191513500076,
65
- "eval_f1": 0.8436887448101525,
66
- "eval_loss": 1.8752236366271973,
67
- "eval_rouge1": 0.5950780098064086,
68
- "eval_rouge2": 0.387995341938732,
69
- "eval_rougeL": 0.5410511557431861,
70
- "eval_rougeLsum": 0.5429767615233919,
71
- "eval_runtime": 128.496,
72
- "eval_samples_per_second": 76.594,
73
- "eval_steps_per_second": 1.198,
74
- "step": 6000
75
- },
76
- {
77
- "epoch": 0.93,
78
- "learning_rate": 0.0009545298474518076,
79
- "loss": 1.1948,
80
- "step": 8000
81
- },
82
- {
83
- "epoch": 0.93,
84
- "eval_accuracy": 0.853586669376143,
85
- "eval_bertscore_f1": 0.9332542442325847,
86
- "eval_bleu": 0.4005757380852503,
87
- "eval_f1": 0.8529062465495825,
88
- "eval_loss": 1.9346258640289307,
89
- "eval_rouge1": 0.6018073936798602,
90
- "eval_rouge2": 0.39307647629207804,
91
- "eval_rougeL": 0.5451341858386651,
92
- "eval_rougeLsum": 0.5471925151539236,
93
- "eval_runtime": 124.1433,
94
- "eval_samples_per_second": 79.279,
95
- "eval_steps_per_second": 1.241,
96
- "step": 8000
97
- },
98
- {
99
- "epoch": 1.16,
100
- "learning_rate": 0.0009300044145779173,
101
- "loss": 1.1537,
102
- "step": 10000
103
- },
104
- {
105
- "epoch": 1.16,
106
- "eval_accuracy": 0.8653728916886811,
107
- "eval_bertscore_f1": 0.9331838286242768,
108
- "eval_bleu": 0.40960288490504165,
109
- "eval_f1": 0.8646878910419536,
110
- "eval_loss": 1.88812255859375,
111
- "eval_rouge1": 0.6070431684612829,
112
- "eval_rouge2": 0.40225937264181405,
113
- "eval_rougeL": 0.5483146296815378,
114
- "eval_rougeLsum": 0.5505540288475277,
115
- "eval_runtime": 124.2229,
116
- "eval_samples_per_second": 79.229,
117
- "eval_steps_per_second": 1.24,
118
- "step": 10000
119
- },
120
- {
121
- "epoch": 1.4,
122
- "learning_rate": 0.0009054789817040271,
123
- "loss": 1.1298,
124
- "step": 12000
125
- },
126
- {
127
- "epoch": 1.4,
128
- "eval_accuracy": 0.8690306848201585,
129
- "eval_bertscore_f1": 0.9337236821784695,
130
- "eval_bleu": 0.4093407550709913,
131
- "eval_f1": 0.8684526023202777,
132
- "eval_loss": 1.9264899492263794,
133
- "eval_rouge1": 0.6052909335108297,
134
- "eval_rouge2": 0.3988120323032148,
135
- "eval_rougeL": 0.5507358395779893,
136
- "eval_rougeLsum": 0.5525962718036264,
137
- "eval_runtime": 124.4402,
138
- "eval_samples_per_second": 79.09,
139
- "eval_steps_per_second": 1.238,
140
- "step": 12000
141
- },
142
- {
143
- "epoch": 1.63,
144
- "learning_rate": 0.0008809535488301369,
145
- "loss": 1.1219,
146
- "step": 14000
147
- },
148
- {
149
- "epoch": 1.63,
150
- "eval_accuracy": 0.8712660028449503,
151
- "eval_bertscore_f1": 0.933247425254102,
152
- "eval_bleu": 0.4042307480916517,
153
- "eval_f1": 0.8714448369951496,
154
- "eval_loss": 1.9016553163528442,
155
- "eval_rouge1": 0.6029172997635328,
156
- "eval_rouge2": 0.3941212931043536,
157
- "eval_rougeL": 0.5470042844879892,
158
- "eval_rougeLsum": 0.5488824169286723,
159
- "eval_runtime": 125.6867,
160
- "eval_samples_per_second": 78.306,
161
- "eval_steps_per_second": 1.225,
162
- "step": 14000
163
- },
164
- {
165
- "epoch": 1.86,
166
- "learning_rate": 0.0008564281159562467,
167
- "loss": 1.1088,
168
- "step": 16000
169
- },
170
- {
171
- "epoch": 1.86,
172
- "eval_accuracy": 0.8732981101402154,
173
- "eval_bertscore_f1": 0.9355657943088188,
174
- "eval_bleu": 0.4223746159966924,
175
- "eval_f1": 0.8729633394714756,
176
- "eval_loss": 1.9257447719573975,
177
- "eval_rouge1": 0.6144211309547953,
178
- "eval_rouge2": 0.40963176352893027,
179
- "eval_rougeL": 0.5592204703479691,
180
- "eval_rougeLsum": 0.5610705650496804,
181
- "eval_runtime": 122.6208,
182
- "eval_samples_per_second": 80.264,
183
- "eval_steps_per_second": 1.256,
184
- "step": 16000
185
- }
186
- ],
187
- "max_steps": 85840,
188
- "num_train_epochs": 10,
189
- "total_flos": 1.5969080133353472e+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:d26d77783a5be2f09e74ce5ec88c9772e03222d1dd997806a339afe33fbf979d
3
- size 3963
 
 
 
 
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:edea7e76f138b5a937076945663ef9be5be34e8a1ad1531b591d608674a1d656
3
  size 242071641
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:620a22917828d7d9e1692adaaca61f727beb88eda118006eaf406bf2a28c9aed
3
  size 242071641