jewelldmnt commited on
Commit
9dab6c0
·
verified ·
1 Parent(s): 34da576

Upload 12 files

Browse files
added_tokens.json ADDED
The diff for this file is too large to render. See raw diff
 
config.json ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "facebook/bart-base",
3
+ "activation_dropout": 0.1,
4
+ "activation_function": "gelu",
5
+ "add_bias_logits": false,
6
+ "add_final_layer_norm": false,
7
+ "architectures": [
8
+ "BartForSequenceClassification"
9
+ ],
10
+ "attention_dropout": 0.1,
11
+ "bos_token_id": 0,
12
+ "classif_dropout": 0.1,
13
+ "classifier_dropout": 0.0,
14
+ "d_model": 768,
15
+ "decoder_attention_heads": 12,
16
+ "decoder_ffn_dim": 3072,
17
+ "decoder_layerdrop": 0.0,
18
+ "decoder_layers": 6,
19
+ "decoder_start_token_id": 2,
20
+ "dropout": 0.1,
21
+ "encoder_attention_heads": 12,
22
+ "encoder_ffn_dim": 3072,
23
+ "encoder_layerdrop": 0.0,
24
+ "encoder_layers": 6,
25
+ "eos_token_id": 2,
26
+ "forced_eos_token_id": 2,
27
+ "gradient_checkpointing": false,
28
+ "id2label": {
29
+ "0": "rulings",
30
+ "1": "facts",
31
+ "2": "issues"
32
+ },
33
+ "init_std": 0.02,
34
+ "is_encoder_decoder": true,
35
+ "label2id": {
36
+ "facts": 1,
37
+ "issues": 2,
38
+ "rulings": 0
39
+ },
40
+ "max_position_embeddings": 128,
41
+ "model_type": "bart",
42
+ "normalize_before": false,
43
+ "normalize_embedding": true,
44
+ "num_hidden_layers": 6,
45
+ "pad_token_id": 1,
46
+ "problem_type": "single_label_classification",
47
+ "scale_embedding": false,
48
+ "task_specific_params": {
49
+ "summarization": {
50
+ "length_penalty": 1.0,
51
+ "max_length": 128,
52
+ "min_length": 12,
53
+ "num_beams": 4
54
+ },
55
+ "summarization_cnn": {
56
+ "length_penalty": 2.0,
57
+ "max_length": 142,
58
+ "min_length": 56,
59
+ "num_beams": 4
60
+ },
61
+ "summarization_xsum": {
62
+ "length_penalty": 1.0,
63
+ "max_length": 62,
64
+ "min_length": 11,
65
+ "num_beams": 6
66
+ }
67
+ },
68
+ "torch_dtype": "float32",
69
+ "transformers_version": "4.45.0",
70
+ "use_cache": true,
71
+ "vocab_size": 96517
72
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6e9af2b315fd7098b2130343ac51e64995ca08fa707517eb81b41d11e596a50b
3
+ size 702169612
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7879903d75c5fc6a1187be49239ebd72bd9b4622d651c01e4a8f5cada8489b72
3
+ size 1404498245
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b6342f8eebdf7e228f3eecb842bad1c82e22de7898f2a128acf668723e343b88
3
+ size 14575
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aec0c14c066c896b7c0f679787b98a96bfa18909f79cde00a3da470323001cac
3
+ size 627
special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "<s>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "<mask>",
25
+ "lstrip": true,
26
+ "normalized": true,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "pad_token": {
31
+ "content": "<pad>",
32
+ "lstrip": false,
33
+ "normalized": true,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "</s>",
39
+ "lstrip": false,
40
+ "normalized": true,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "<unk>",
46
+ "lstrip": false,
47
+ "normalized": true,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
+ }
tokenizer_config.json ADDED
The diff for this file is too large to render. See raw diff
 
trainer_state.json ADDED
@@ -0,0 +1,169 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.5362022519111633,
3
+ "best_model_checkpoint": "newer_model\\checkpoint-1500",
4
+ "epoch": 0.9997037037037036,
5
+ "eval_steps": 500,
6
+ "global_step": 1687,
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.05925925925925926,
13
+ "grad_norm": 4.876801013946533,
14
+ "learning_rate": 4.7095435684647304e-05,
15
+ "loss": 1.0575,
16
+ "step": 100
17
+ },
18
+ {
19
+ "epoch": 0.11851851851851852,
20
+ "grad_norm": 6.375751972198486,
21
+ "learning_rate": 4.413159454653231e-05,
22
+ "loss": 0.8362,
23
+ "step": 200
24
+ },
25
+ {
26
+ "epoch": 0.17777777777777778,
27
+ "grad_norm": 8.8690824508667,
28
+ "learning_rate": 4.1167753408417306e-05,
29
+ "loss": 0.7795,
30
+ "step": 300
31
+ },
32
+ {
33
+ "epoch": 0.23703703703703705,
34
+ "grad_norm": 3.57802414894104,
35
+ "learning_rate": 3.820391227030231e-05,
36
+ "loss": 0.6769,
37
+ "step": 400
38
+ },
39
+ {
40
+ "epoch": 0.2962962962962963,
41
+ "grad_norm": 7.336911201477051,
42
+ "learning_rate": 3.524007113218732e-05,
43
+ "loss": 0.7182,
44
+ "step": 500
45
+ },
46
+ {
47
+ "epoch": 0.2962962962962963,
48
+ "eval_loss": 0.6516097187995911,
49
+ "eval_runtime": 1000.1241,
50
+ "eval_samples_per_second": 3.0,
51
+ "eval_steps_per_second": 0.375,
52
+ "step": 500
53
+ },
54
+ {
55
+ "epoch": 0.35555555555555557,
56
+ "grad_norm": 4.612793445587158,
57
+ "learning_rate": 3.2276229994072324e-05,
58
+ "loss": 0.6576,
59
+ "step": 600
60
+ },
61
+ {
62
+ "epoch": 0.4148148148148148,
63
+ "grad_norm": 9.853538513183594,
64
+ "learning_rate": 2.9342027267338474e-05,
65
+ "loss": 0.6399,
66
+ "step": 700
67
+ },
68
+ {
69
+ "epoch": 0.4740740740740741,
70
+ "grad_norm": 7.267094612121582,
71
+ "learning_rate": 2.6378186129223475e-05,
72
+ "loss": 0.6346,
73
+ "step": 800
74
+ },
75
+ {
76
+ "epoch": 0.5333333333333333,
77
+ "grad_norm": 9.086668968200684,
78
+ "learning_rate": 2.341434499110848e-05,
79
+ "loss": 0.5982,
80
+ "step": 900
81
+ },
82
+ {
83
+ "epoch": 0.5925925925925926,
84
+ "grad_norm": 8.705070495605469,
85
+ "learning_rate": 2.045050385299348e-05,
86
+ "loss": 0.6216,
87
+ "step": 1000
88
+ },
89
+ {
90
+ "epoch": 0.5925925925925926,
91
+ "eval_loss": 0.6586094498634338,
92
+ "eval_runtime": 659.5062,
93
+ "eval_samples_per_second": 4.549,
94
+ "eval_steps_per_second": 0.569,
95
+ "step": 1000
96
+ },
97
+ {
98
+ "epoch": 0.6518518518518519,
99
+ "grad_norm": 8.674996376037598,
100
+ "learning_rate": 1.7486662714878483e-05,
101
+ "loss": 0.5332,
102
+ "step": 1100
103
+ },
104
+ {
105
+ "epoch": 0.7111111111111111,
106
+ "grad_norm": 6.852212905883789,
107
+ "learning_rate": 1.4522821576763487e-05,
108
+ "loss": 0.5707,
109
+ "step": 1200
110
+ },
111
+ {
112
+ "epoch": 0.7703703703703704,
113
+ "grad_norm": 5.364168167114258,
114
+ "learning_rate": 1.155898043864849e-05,
115
+ "loss": 0.5683,
116
+ "step": 1300
117
+ },
118
+ {
119
+ "epoch": 0.8296296296296296,
120
+ "grad_norm": 7.750982761383057,
121
+ "learning_rate": 8.595139300533492e-06,
122
+ "loss": 0.5271,
123
+ "step": 1400
124
+ },
125
+ {
126
+ "epoch": 0.8888888888888888,
127
+ "grad_norm": 8.749728202819824,
128
+ "learning_rate": 5.631298162418495e-06,
129
+ "loss": 0.5368,
130
+ "step": 1500
131
+ },
132
+ {
133
+ "epoch": 0.8888888888888888,
134
+ "eval_loss": 0.5362022519111633,
135
+ "eval_runtime": 659.3085,
136
+ "eval_samples_per_second": 4.55,
137
+ "eval_steps_per_second": 0.569,
138
+ "step": 1500
139
+ },
140
+ {
141
+ "epoch": 0.9481481481481482,
142
+ "grad_norm": 6.8793230056762695,
143
+ "learning_rate": 2.6674570243034972e-06,
144
+ "loss": 0.5459,
145
+ "step": 1600
146
+ }
147
+ ],
148
+ "logging_steps": 100,
149
+ "max_steps": 1687,
150
+ "num_input_tokens_seen": 0,
151
+ "num_train_epochs": 1,
152
+ "save_steps": 500,
153
+ "stateful_callbacks": {
154
+ "TrainerControl": {
155
+ "args": {
156
+ "should_epoch_stop": false,
157
+ "should_evaluate": false,
158
+ "should_log": false,
159
+ "should_save": true,
160
+ "should_training_stop": true
161
+ },
162
+ "attributes": {}
163
+ }
164
+ },
165
+ "total_flos": 2069541520994304.0,
166
+ "train_batch_size": 8,
167
+ "trial_name": null,
168
+ "trial_params": null
169
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:95cbc5a1823780dd1b55aea25d04fd9d6b0a5066106921dbbaafb74f617584a9
3
+ size 4731
vocab.json ADDED
The diff for this file is too large to render. See raw diff