SushantGautam
commited on
Commit
•
652f836
1
Parent(s):
300035a
Upload folder using huggingface_hub
Browse files- config.json +28 -0
- model.safetensors +3 -0
- optimizer.pt +3 -0
- rng_state.pth +3 -0
- scheduler.pt +3 -0
- trainer_state.json +158 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "roberta-base",
|
3 |
+
"architectures": [
|
4 |
+
"RobertaForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 768,
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 3072,
|
15 |
+
"layer_norm_eps": 1e-05,
|
16 |
+
"max_position_embeddings": 514,
|
17 |
+
"model_type": "roberta",
|
18 |
+
"num_attention_heads": 12,
|
19 |
+
"num_hidden_layers": 12,
|
20 |
+
"pad_token_id": 1,
|
21 |
+
"position_embedding_type": "absolute",
|
22 |
+
"problem_type": "single_label_classification",
|
23 |
+
"torch_dtype": "float32",
|
24 |
+
"transformers_version": "4.41.0",
|
25 |
+
"type_vocab_size": 1,
|
26 |
+
"use_cache": true,
|
27 |
+
"vocab_size": 50265
|
28 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a7adcc81e9ddc5e14e2165ed0a5d7e7c1e49425bc28acf532cc673c794087197
|
3 |
+
size 498612824
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7671a6ee3d2585ec2fb8098f21f26b2bc36951d825e1c5f91e4918a4e6c8a945
|
3 |
+
size 997345530
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f40198e46221feb04b50eb80c751f2626eba39f13a83c6b03978b72f99e7b1b2
|
3 |
+
size 14244
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d7adb6fea2e82693e2d5603b9409e6de30b5b25e21cd1ff4f31766800646500d
|
3 |
+
size 1064
|
trainer_state.json
ADDED
@@ -0,0 +1,158 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.659783124923706,
|
3 |
+
"best_model_checkpoint": "./results/claim_onlyroberta-base/checkpoint-2699",
|
4 |
+
"epoch": 4.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 10796,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 1.0,
|
13 |
+
"grad_norm": 13.100720405578613,
|
14 |
+
"learning_rate": 4.672437244961049e-05,
|
15 |
+
"loss": 0.579,
|
16 |
+
"step": 2699
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 1.0,
|
20 |
+
"eval_accuracy": 0.6555103271521182,
|
21 |
+
"eval_conf_mat": [
|
22 |
+
[
|
23 |
+
4360,
|
24 |
+
2480
|
25 |
+
],
|
26 |
+
[
|
27 |
+
2090,
|
28 |
+
4336
|
29 |
+
]
|
30 |
+
],
|
31 |
+
"eval_f1": 0.6548859688868751,
|
32 |
+
"eval_loss": 0.659783124923706,
|
33 |
+
"eval_precision": 0.636150234741784,
|
34 |
+
"eval_recall": 0.6747587924058512,
|
35 |
+
"eval_runtime": 9.813,
|
36 |
+
"eval_samples_per_second": 1351.875,
|
37 |
+
"eval_steps_per_second": 42.291,
|
38 |
+
"step": 2699
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 2.0,
|
42 |
+
"grad_norm": 1.234604835510254,
|
43 |
+
"learning_rate": 4.338691727463831e-05,
|
44 |
+
"loss": 0.4956,
|
45 |
+
"step": 5398
|
46 |
+
},
|
47 |
+
{
|
48 |
+
"epoch": 2.0,
|
49 |
+
"eval_accuracy": 0.6427709935172622,
|
50 |
+
"eval_conf_mat": [
|
51 |
+
[
|
52 |
+
5881,
|
53 |
+
959
|
54 |
+
],
|
55 |
+
[
|
56 |
+
3780,
|
57 |
+
2646
|
58 |
+
]
|
59 |
+
],
|
60 |
+
"eval_f1": 0.5275645498953245,
|
61 |
+
"eval_loss": 0.8142257928848267,
|
62 |
+
"eval_precision": 0.7339805825242719,
|
63 |
+
"eval_recall": 0.4117647058823529,
|
64 |
+
"eval_runtime": 9.7643,
|
65 |
+
"eval_samples_per_second": 1358.627,
|
66 |
+
"eval_steps_per_second": 42.502,
|
67 |
+
"step": 5398
|
68 |
+
},
|
69 |
+
{
|
70 |
+
"epoch": 3.0,
|
71 |
+
"grad_norm": 4.444439888000488,
|
72 |
+
"learning_rate": 4.004946209966614e-05,
|
73 |
+
"loss": 0.4613,
|
74 |
+
"step": 8097
|
75 |
+
},
|
76 |
+
{
|
77 |
+
"epoch": 3.0,
|
78 |
+
"eval_accuracy": 0.6129202472486055,
|
79 |
+
"eval_conf_mat": [
|
80 |
+
[
|
81 |
+
5950,
|
82 |
+
890
|
83 |
+
],
|
84 |
+
[
|
85 |
+
4245,
|
86 |
+
2181
|
87 |
+
]
|
88 |
+
],
|
89 |
+
"eval_f1": 0.45930293776982206,
|
90 |
+
"eval_loss": 0.7507337331771851,
|
91 |
+
"eval_precision": 0.7101921198306741,
|
92 |
+
"eval_recall": 0.33940242763772177,
|
93 |
+
"eval_runtime": 9.7395,
|
94 |
+
"eval_samples_per_second": 1362.083,
|
95 |
+
"eval_steps_per_second": 42.61,
|
96 |
+
"step": 8097
|
97 |
+
},
|
98 |
+
{
|
99 |
+
"epoch": 4.0,
|
100 |
+
"grad_norm": 1.0880028009414673,
|
101 |
+
"learning_rate": 3.6712006924693956e-05,
|
102 |
+
"loss": 0.6596,
|
103 |
+
"step": 10796
|
104 |
+
},
|
105 |
+
{
|
106 |
+
"epoch": 4.0,
|
107 |
+
"eval_accuracy": 0.5156037991858887,
|
108 |
+
"eval_conf_mat": [
|
109 |
+
[
|
110 |
+
6840,
|
111 |
+
0
|
112 |
+
],
|
113 |
+
[
|
114 |
+
6426,
|
115 |
+
0
|
116 |
+
]
|
117 |
+
],
|
118 |
+
"eval_f1": 0.0,
|
119 |
+
"eval_loss": 0.6927554607391357,
|
120 |
+
"eval_precision": 0.0,
|
121 |
+
"eval_recall": 0.0,
|
122 |
+
"eval_runtime": 9.7891,
|
123 |
+
"eval_samples_per_second": 1355.186,
|
124 |
+
"eval_steps_per_second": 42.394,
|
125 |
+
"step": 10796
|
126 |
+
}
|
127 |
+
],
|
128 |
+
"logging_steps": 500,
|
129 |
+
"max_steps": 40485,
|
130 |
+
"num_input_tokens_seen": 0,
|
131 |
+
"num_train_epochs": 15,
|
132 |
+
"save_steps": 500,
|
133 |
+
"stateful_callbacks": {
|
134 |
+
"EarlyStoppingCallback": {
|
135 |
+
"args": {
|
136 |
+
"early_stopping_patience": 3,
|
137 |
+
"early_stopping_threshold": 0.0
|
138 |
+
},
|
139 |
+
"attributes": {
|
140 |
+
"early_stopping_patience_counter": 0
|
141 |
+
}
|
142 |
+
},
|
143 |
+
"TrainerControl": {
|
144 |
+
"args": {
|
145 |
+
"should_epoch_stop": false,
|
146 |
+
"should_evaluate": false,
|
147 |
+
"should_log": false,
|
148 |
+
"should_save": true,
|
149 |
+
"should_training_stop": true
|
150 |
+
},
|
151 |
+
"attributes": {}
|
152 |
+
}
|
153 |
+
},
|
154 |
+
"total_flos": 7272246195180780.0,
|
155 |
+
"train_batch_size": 32,
|
156 |
+
"trial_name": null,
|
157 |
+
"trial_params": null
|
158 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:00d0af0874b6482fbe688ab9c8f95d7f6c8e1bdac79f5099a0e92ca0d0abf8b6
|
3 |
+
size 5048
|