BaoNhan commited on
Commit
5499115
·
verified ·
1 Parent(s): f0557eb

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -36,3 +36,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
36
  results_xlmr/predictions_seed_202.csv filter=lfs diff=lfs merge=lfs -text
37
  results_xlmr/predictions_seed_22.csv filter=lfs diff=lfs merge=lfs -text
38
  results_xlmr/predictions_seed_42.csv filter=lfs diff=lfs merge=lfs -text
 
 
36
  results_xlmr/predictions_seed_202.csv filter=lfs diff=lfs merge=lfs -text
37
  results_xlmr/predictions_seed_22.csv filter=lfs diff=lfs merge=lfs -text
38
  results_xlmr/predictions_seed_42.csv filter=lfs diff=lfs merge=lfs -text
39
+ xlmr_checkpoints_seed_42/checkpoint-8877/tokenizer.json filter=lfs diff=lfs merge=lfs -text
xlmr_checkpoints_seed_42/checkpoint-8877/config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_cross_attention": false,
3
+ "architectures": [
4
+ "XLMRobertaForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "dtype": "float32",
10
+ "eos_token_id": 2,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 768,
14
+ "id2label": {
15
+ "0": "LABEL_0",
16
+ "1": "LABEL_1",
17
+ "2": "LABEL_2",
18
+ "3": "LABEL_3",
19
+ "4": "LABEL_4",
20
+ "5": "LABEL_5",
21
+ "6": "LABEL_6",
22
+ "7": "LABEL_7",
23
+ "8": "LABEL_8",
24
+ "9": "LABEL_9"
25
+ },
26
+ "initializer_range": 0.02,
27
+ "intermediate_size": 3072,
28
+ "is_decoder": false,
29
+ "label2id": {
30
+ "LABEL_0": 0,
31
+ "LABEL_1": 1,
32
+ "LABEL_2": 2,
33
+ "LABEL_3": 3,
34
+ "LABEL_4": 4,
35
+ "LABEL_5": 5,
36
+ "LABEL_6": 6,
37
+ "LABEL_7": 7,
38
+ "LABEL_8": 8,
39
+ "LABEL_9": 9
40
+ },
41
+ "layer_norm_eps": 1e-05,
42
+ "max_position_embeddings": 514,
43
+ "model_type": "xlm-roberta",
44
+ "num_attention_heads": 12,
45
+ "num_hidden_layers": 12,
46
+ "output_past": true,
47
+ "pad_token_id": 1,
48
+ "position_embedding_type": "absolute",
49
+ "problem_type": "single_label_classification",
50
+ "tie_word_embeddings": true,
51
+ "transformers_version": "5.13.1",
52
+ "type_vocab_size": 1,
53
+ "use_cache": false,
54
+ "vocab_size": 250002
55
+ }
xlmr_checkpoints_seed_42/checkpoint-8877/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6768d32aeab7e6d99b0dad162dca408821dc8c41cccd02e5bd8a4dcd86e325a1
3
+ size 1112229616
xlmr_checkpoints_seed_42/checkpoint-8877/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5104c4d65cf321614e0294123d73492c1aaa78ef353482540b3440d1aef60c75
3
+ size 2224582027
xlmr_checkpoints_seed_42/checkpoint-8877/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48b3b2ad3bfc4882d686451005260db50b2732157e98ecf0d51ed6e17d4309fe
3
+ size 14645
xlmr_checkpoints_seed_42/checkpoint-8877/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d54ba3662afbad5e96671f8aaa93fb445806ea62c3222f4c44d2cf8b06f93dcb
3
+ size 1465
xlmr_checkpoints_seed_42/checkpoint-8877/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:acbd420e2269cdc1ef45332d3d5c418be4aef6b8cb5a0b7ccae0893485307153
3
+ size 17098086
xlmr_checkpoints_seed_42/checkpoint-8877/tokenizer_config.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": true,
3
+ "backend": "tokenizers",
4
+ "bos_token": "<s>",
5
+ "cls_token": "<s>",
6
+ "eos_token": "</s>",
7
+ "is_local": false,
8
+ "local_files_only": false,
9
+ "mask_token": "<mask>",
10
+ "model_max_length": 512,
11
+ "pad_token": "<pad>",
12
+ "sep_token": "</s>",
13
+ "tokenizer_class": "XLMRobertaTokenizer",
14
+ "unk_token": "<unk>"
15
+ }
xlmr_checkpoints_seed_42/checkpoint-8877/trainer_state.json ADDED
@@ -0,0 +1,192 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 8877,
3
+ "best_metric": 0.9399285629647579,
4
+ "best_model_checkpoint": "./xlmr_checkpoints_seed_42/checkpoint-8877",
5
+ "epoch": 3.0,
6
+ "eval_steps": 500,
7
+ "global_step": 8877,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.16897600540723218,
14
+ "grad_norm": 3.163304567337036,
15
+ "learning_rate": 4.681050656660413e-05,
16
+ "loss": 0.7647252807617188,
17
+ "step": 500
18
+ },
19
+ {
20
+ "epoch": 0.33795201081446435,
21
+ "grad_norm": 3.6547200679779053,
22
+ "learning_rate": 4.720757430488975e-05,
23
+ "loss": 0.2822802734375,
24
+ "step": 1000
25
+ },
26
+ {
27
+ "epoch": 0.5069280162216965,
28
+ "grad_norm": 2.868420362472534,
29
+ "learning_rate": 4.421140939597316e-05,
30
+ "loss": 0.2407349853515625,
31
+ "step": 1500
32
+ },
33
+ {
34
+ "epoch": 0.6759040216289287,
35
+ "grad_norm": 2.0992443561553955,
36
+ "learning_rate": 4.121524448705657e-05,
37
+ "loss": 0.22157640075683593,
38
+ "step": 2000
39
+ },
40
+ {
41
+ "epoch": 0.8448800270361608,
42
+ "grad_norm": 3.2532665729522705,
43
+ "learning_rate": 3.8219079578139984e-05,
44
+ "loss": 0.21044859313964845,
45
+ "step": 2500
46
+ },
47
+ {
48
+ "epoch": 1.0,
49
+ "eval_accuracy": 0.9310869335586776,
50
+ "eval_loss": 0.1920410394668579,
51
+ "eval_macro_auc": 0.9967102110510467,
52
+ "eval_macro_f1": 0.9251890936900085,
53
+ "eval_macro_precision": 0.9233432695181613,
54
+ "eval_macro_recall": 0.927485613891611,
55
+ "eval_runtime": 36.5746,
56
+ "eval_samples_per_second": 2588.407,
57
+ "eval_steps_per_second": 10.116,
58
+ "step": 2959
59
+ },
60
+ {
61
+ "epoch": 1.013856032443393,
62
+ "grad_norm": 2.054774522781372,
63
+ "learning_rate": 3.5222914669223394e-05,
64
+ "loss": 0.19717172241210937,
65
+ "step": 3000
66
+ },
67
+ {
68
+ "epoch": 1.1828320378506252,
69
+ "grad_norm": 2.7681782245635986,
70
+ "learning_rate": 3.2226749760306804e-05,
71
+ "loss": 0.16914158630371093,
72
+ "step": 3500
73
+ },
74
+ {
75
+ "epoch": 1.3518080432578574,
76
+ "grad_norm": 2.2857744693756104,
77
+ "learning_rate": 2.923058485139022e-05,
78
+ "loss": 0.16888929748535156,
79
+ "step": 4000
80
+ },
81
+ {
82
+ "epoch": 1.5207840486650896,
83
+ "grad_norm": 2.3808140754699707,
84
+ "learning_rate": 2.6234419942473638e-05,
85
+ "loss": 0.1628701629638672,
86
+ "step": 4500
87
+ },
88
+ {
89
+ "epoch": 1.6897600540723219,
90
+ "grad_norm": 1.4184551239013672,
91
+ "learning_rate": 2.3238255033557048e-05,
92
+ "loss": 0.16057679748535156,
93
+ "step": 5000
94
+ },
95
+ {
96
+ "epoch": 1.858736059479554,
97
+ "grad_norm": 2.3727948665618896,
98
+ "learning_rate": 2.024209012464046e-05,
99
+ "loss": 0.15470529174804687,
100
+ "step": 5500
101
+ },
102
+ {
103
+ "epoch": 2.0,
104
+ "eval_accuracy": 0.9400126756100138,
105
+ "eval_loss": 0.16524292528629303,
106
+ "eval_macro_auc": 0.9974579722593138,
107
+ "eval_macro_f1": 0.9345327680577522,
108
+ "eval_macro_precision": 0.9324586326597339,
109
+ "eval_macro_recall": 0.9372884004820324,
110
+ "eval_runtime": 36.6584,
111
+ "eval_samples_per_second": 2582.493,
112
+ "eval_steps_per_second": 10.093,
113
+ "step": 5918
114
+ },
115
+ {
116
+ "epoch": 2.027712064886786,
117
+ "grad_norm": 2.0285420417785645,
118
+ "learning_rate": 1.7245925215723874e-05,
119
+ "loss": 0.14844654846191407,
120
+ "step": 6000
121
+ },
122
+ {
123
+ "epoch": 2.196688070294018,
124
+ "grad_norm": 2.2454941272735596,
125
+ "learning_rate": 1.4249760306807286e-05,
126
+ "loss": 0.12231233978271484,
127
+ "step": 6500
128
+ },
129
+ {
130
+ "epoch": 2.3656640757012504,
131
+ "grad_norm": 2.0100526809692383,
132
+ "learning_rate": 1.1253595397890701e-05,
133
+ "loss": 0.11889888000488281,
134
+ "step": 7000
135
+ },
136
+ {
137
+ "epoch": 2.5346400811084826,
138
+ "grad_norm": 1.9739456176757812,
139
+ "learning_rate": 8.257430488974113e-06,
140
+ "loss": 0.11652432250976562,
141
+ "step": 7500
142
+ },
143
+ {
144
+ "epoch": 2.703616086515715,
145
+ "grad_norm": 1.7262861728668213,
146
+ "learning_rate": 5.261265580057527e-06,
147
+ "loss": 0.1136343536376953,
148
+ "step": 8000
149
+ },
150
+ {
151
+ "epoch": 2.872592091922947,
152
+ "grad_norm": 1.8886659145355225,
153
+ "learning_rate": 2.2651006711409396e-06,
154
+ "loss": 0.11508576202392579,
155
+ "step": 8500
156
+ },
157
+ {
158
+ "epoch": 3.0,
159
+ "eval_accuracy": 0.9449878525404035,
160
+ "eval_loss": 0.15557509660720825,
161
+ "eval_macro_auc": 0.9977510575423242,
162
+ "eval_macro_f1": 0.9399285629647579,
163
+ "eval_macro_precision": 0.9391172657888166,
164
+ "eval_macro_recall": 0.940950428029333,
165
+ "eval_runtime": 36.5566,
166
+ "eval_samples_per_second": 2589.681,
167
+ "eval_steps_per_second": 10.121,
168
+ "step": 8877
169
+ }
170
+ ],
171
+ "logging_steps": 500,
172
+ "max_steps": 8877,
173
+ "num_input_tokens_seen": 0,
174
+ "num_train_epochs": 3,
175
+ "save_steps": 500,
176
+ "stateful_callbacks": {
177
+ "TrainerControl": {
178
+ "args": {
179
+ "should_epoch_stop": false,
180
+ "should_evaluate": false,
181
+ "should_log": false,
182
+ "should_save": true,
183
+ "should_training_stop": true
184
+ },
185
+ "attributes": {}
186
+ }
187
+ },
188
+ "total_flos": 2.9892457450779034e+17,
189
+ "train_batch_size": 256,
190
+ "trial_name": null,
191
+ "trial_params": null
192
+ }
xlmr_checkpoints_seed_42/checkpoint-8877/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bf80f3455538076b719580bbc934fedfbb90366dce240aad7c92a7e4bb9f4b9d
3
+ size 5201