pravin691983
commited on
Commit
•
8dac04d
1
Parent(s):
1225fd9
Upload folder using huggingface_hub
Browse files- README.md +37 -0
- checkpoint-1200/config.json +40 -0
- checkpoint-1200/model.safetensors +3 -0
- checkpoint-1200/optimizer.pt +3 -0
- checkpoint-1200/rng_state.pth +3 -0
- checkpoint-1200/scheduler.pt +3 -0
- checkpoint-1200/trainer_state.json +411 -0
- checkpoint-1200/training_args.bin +3 -0
- config.json +40 -0
- model.safetensors +3 -0
- runs/May08_09-49-30_a63b8a253cdc/events.out.tfevents.1715161771.a63b8a253cdc.4610.0 +2 -2
- runs/May08_09-49-30_a63b8a253cdc/events.out.tfevents.1715164079.a63b8a253cdc.4610.1 +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +55 -0
- training_args.bin +3 -0
- training_params.json +28 -0
- vocab.txt +0 -0
README.md
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
---
|
3 |
+
tags:
|
4 |
+
- autotrain
|
5 |
+
- text-classification
|
6 |
+
widget:
|
7 |
+
- text: "I love AutoTrain"
|
8 |
+
datasets:
|
9 |
+
- few-shot-learning-classification-bert-sm-5K-abs/autotrain-data
|
10 |
+
---
|
11 |
+
|
12 |
+
# Model Trained Using AutoTrain
|
13 |
+
|
14 |
+
- Problem type: Text Classification
|
15 |
+
|
16 |
+
## Validation Metrics
|
17 |
+
loss: 0.25161686539649963
|
18 |
+
|
19 |
+
f1_macro: 0.9235095937897977
|
20 |
+
|
21 |
+
f1_micro: 0.9235
|
22 |
+
|
23 |
+
f1_weighted: 0.9235095937897976
|
24 |
+
|
25 |
+
precision_macro: 0.9244227025831069
|
26 |
+
|
27 |
+
precision_micro: 0.9235
|
28 |
+
|
29 |
+
precision_weighted: 0.9244227025831069
|
30 |
+
|
31 |
+
recall_macro: 0.9235
|
32 |
+
|
33 |
+
recall_micro: 0.9235
|
34 |
+
|
35 |
+
recall_weighted: 0.9235
|
36 |
+
|
37 |
+
accuracy: 0.9235
|
checkpoint-1200/config.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google-bert/bert-base-uncased",
|
3 |
+
"_num_labels": 4,
|
4 |
+
"architectures": [
|
5 |
+
"BertForSequenceClassification"
|
6 |
+
],
|
7 |
+
"attention_probs_dropout_prob": 0.1,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"gradient_checkpointing": false,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 768,
|
13 |
+
"id2label": {
|
14 |
+
"0": "0",
|
15 |
+
"1": "1",
|
16 |
+
"2": "2",
|
17 |
+
"3": "3"
|
18 |
+
},
|
19 |
+
"initializer_range": 0.02,
|
20 |
+
"intermediate_size": 3072,
|
21 |
+
"label2id": {
|
22 |
+
"0": 0,
|
23 |
+
"1": 1,
|
24 |
+
"2": 2,
|
25 |
+
"3": 3
|
26 |
+
},
|
27 |
+
"layer_norm_eps": 1e-12,
|
28 |
+
"max_position_embeddings": 512,
|
29 |
+
"model_type": "bert",
|
30 |
+
"num_attention_heads": 12,
|
31 |
+
"num_hidden_layers": 12,
|
32 |
+
"pad_token_id": 0,
|
33 |
+
"position_embedding_type": "absolute",
|
34 |
+
"problem_type": "single_label_classification",
|
35 |
+
"torch_dtype": "float32",
|
36 |
+
"transformers_version": "4.40.1",
|
37 |
+
"type_vocab_size": 2,
|
38 |
+
"use_cache": true,
|
39 |
+
"vocab_size": 30522
|
40 |
+
}
|
checkpoint-1200/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:36686d35fac82608880cab4948346080d6a5da14a9af6806ca6aa389c023ac2e
|
3 |
+
size 437964800
|
checkpoint-1200/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:833bcc074b0f63b6ce1668818458424daf2e72fa88543967d6656e48c66fef30
|
3 |
+
size 876050682
|
checkpoint-1200/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e64bcd3a10dc5b13cfcac8c2570bc3ae91092aee7858cc6ca69843c9a2647db7
|
3 |
+
size 14244
|
checkpoint-1200/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fc40c362852e8ec8df78c719925dcaed04eed3a2e0fd27b70b4009619b5db562
|
3 |
+
size 1064
|
checkpoint-1200/trainer_state.json
ADDED
@@ -0,0 +1,411 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.25161686539649963,
|
3 |
+
"best_model_checkpoint": "few-shot-learning-classification-bert-sm-5K-abs/checkpoint-1200",
|
4 |
+
"epoch": 3.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 1200,
|
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.0625,
|
13 |
+
"grad_norm": 4.01630973815918,
|
14 |
+
"learning_rate": 2.5e-06,
|
15 |
+
"loss": 1.3991,
|
16 |
+
"step": 25
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.125,
|
20 |
+
"grad_norm": 3.608208179473877,
|
21 |
+
"learning_rate": 5e-06,
|
22 |
+
"loss": 1.3613,
|
23 |
+
"step": 50
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.1875,
|
27 |
+
"grad_norm": 7.118488311767578,
|
28 |
+
"learning_rate": 7.500000000000001e-06,
|
29 |
+
"loss": 1.2086,
|
30 |
+
"step": 75
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.25,
|
34 |
+
"grad_norm": 6.23046350479126,
|
35 |
+
"learning_rate": 1e-05,
|
36 |
+
"loss": 0.9404,
|
37 |
+
"step": 100
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.3125,
|
41 |
+
"grad_norm": 3.4354333877563477,
|
42 |
+
"learning_rate": 1.25e-05,
|
43 |
+
"loss": 0.6381,
|
44 |
+
"step": 125
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.375,
|
48 |
+
"grad_norm": 4.42125940322876,
|
49 |
+
"learning_rate": 1.5000000000000002e-05,
|
50 |
+
"loss": 0.4253,
|
51 |
+
"step": 150
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.4375,
|
55 |
+
"grad_norm": 2.722324848175049,
|
56 |
+
"learning_rate": 1.7500000000000002e-05,
|
57 |
+
"loss": 0.3235,
|
58 |
+
"step": 175
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"epoch": 0.5,
|
62 |
+
"grad_norm": 3.4759390354156494,
|
63 |
+
"learning_rate": 2e-05,
|
64 |
+
"loss": 0.3575,
|
65 |
+
"step": 200
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 0.5625,
|
69 |
+
"grad_norm": 5.411329746246338,
|
70 |
+
"learning_rate": 1.9722222222222224e-05,
|
71 |
+
"loss": 0.3401,
|
72 |
+
"step": 225
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 0.625,
|
76 |
+
"grad_norm": 3.3247408866882324,
|
77 |
+
"learning_rate": 1.9444444444444445e-05,
|
78 |
+
"loss": 0.2746,
|
79 |
+
"step": 250
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 0.6875,
|
83 |
+
"grad_norm": 2.7389793395996094,
|
84 |
+
"learning_rate": 1.916666666666667e-05,
|
85 |
+
"loss": 0.2436,
|
86 |
+
"step": 275
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 0.75,
|
90 |
+
"grad_norm": 3.443031072616577,
|
91 |
+
"learning_rate": 1.888888888888889e-05,
|
92 |
+
"loss": 0.293,
|
93 |
+
"step": 300
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 0.8125,
|
97 |
+
"grad_norm": 2.7726056575775146,
|
98 |
+
"learning_rate": 1.8611111111111114e-05,
|
99 |
+
"loss": 0.2534,
|
100 |
+
"step": 325
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"epoch": 0.875,
|
104 |
+
"grad_norm": 9.94852066040039,
|
105 |
+
"learning_rate": 1.8333333333333333e-05,
|
106 |
+
"loss": 0.2837,
|
107 |
+
"step": 350
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"epoch": 0.9375,
|
111 |
+
"grad_norm": 4.16672945022583,
|
112 |
+
"learning_rate": 1.8055555555555558e-05,
|
113 |
+
"loss": 0.242,
|
114 |
+
"step": 375
|
115 |
+
},
|
116 |
+
{
|
117 |
+
"epoch": 1.0,
|
118 |
+
"grad_norm": 8.227896690368652,
|
119 |
+
"learning_rate": 1.7777777777777777e-05,
|
120 |
+
"loss": 0.2517,
|
121 |
+
"step": 400
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 1.0,
|
125 |
+
"eval_accuracy": 0.90825,
|
126 |
+
"eval_f1_macro": 0.9079265555064384,
|
127 |
+
"eval_f1_micro": 0.90825,
|
128 |
+
"eval_f1_weighted": 0.9079265555064384,
|
129 |
+
"eval_loss": 0.2762264013290405,
|
130 |
+
"eval_precision_macro": 0.911143490468423,
|
131 |
+
"eval_precision_micro": 0.90825,
|
132 |
+
"eval_precision_weighted": 0.9111434904684229,
|
133 |
+
"eval_recall_macro": 0.90825,
|
134 |
+
"eval_recall_micro": 0.90825,
|
135 |
+
"eval_recall_weighted": 0.90825,
|
136 |
+
"eval_runtime": 33.6206,
|
137 |
+
"eval_samples_per_second": 118.975,
|
138 |
+
"eval_steps_per_second": 7.436,
|
139 |
+
"step": 400
|
140 |
+
},
|
141 |
+
{
|
142 |
+
"epoch": 1.0625,
|
143 |
+
"grad_norm": 4.824068069458008,
|
144 |
+
"learning_rate": 1.7500000000000002e-05,
|
145 |
+
"loss": 0.1968,
|
146 |
+
"step": 425
|
147 |
+
},
|
148 |
+
{
|
149 |
+
"epoch": 1.125,
|
150 |
+
"grad_norm": 5.542304992675781,
|
151 |
+
"learning_rate": 1.7222222222222224e-05,
|
152 |
+
"loss": 0.2139,
|
153 |
+
"step": 450
|
154 |
+
},
|
155 |
+
{
|
156 |
+
"epoch": 1.1875,
|
157 |
+
"grad_norm": 9.050013542175293,
|
158 |
+
"learning_rate": 1.6944444444444446e-05,
|
159 |
+
"loss": 0.2118,
|
160 |
+
"step": 475
|
161 |
+
},
|
162 |
+
{
|
163 |
+
"epoch": 1.25,
|
164 |
+
"grad_norm": 4.569813251495361,
|
165 |
+
"learning_rate": 1.6666666666666667e-05,
|
166 |
+
"loss": 0.186,
|
167 |
+
"step": 500
|
168 |
+
},
|
169 |
+
{
|
170 |
+
"epoch": 1.3125,
|
171 |
+
"grad_norm": 6.071652889251709,
|
172 |
+
"learning_rate": 1.638888888888889e-05,
|
173 |
+
"loss": 0.1712,
|
174 |
+
"step": 525
|
175 |
+
},
|
176 |
+
{
|
177 |
+
"epoch": 1.375,
|
178 |
+
"grad_norm": 3.662824869155884,
|
179 |
+
"learning_rate": 1.6111111111111115e-05,
|
180 |
+
"loss": 0.221,
|
181 |
+
"step": 550
|
182 |
+
},
|
183 |
+
{
|
184 |
+
"epoch": 1.4375,
|
185 |
+
"grad_norm": 9.244938850402832,
|
186 |
+
"learning_rate": 1.5833333333333333e-05,
|
187 |
+
"loss": 0.1875,
|
188 |
+
"step": 575
|
189 |
+
},
|
190 |
+
{
|
191 |
+
"epoch": 1.5,
|
192 |
+
"grad_norm": 1.5883489847183228,
|
193 |
+
"learning_rate": 1.555555555555556e-05,
|
194 |
+
"loss": 0.1935,
|
195 |
+
"step": 600
|
196 |
+
},
|
197 |
+
{
|
198 |
+
"epoch": 1.5625,
|
199 |
+
"grad_norm": 1.2358183860778809,
|
200 |
+
"learning_rate": 1.5277777777777777e-05,
|
201 |
+
"loss": 0.1719,
|
202 |
+
"step": 625
|
203 |
+
},
|
204 |
+
{
|
205 |
+
"epoch": 1.625,
|
206 |
+
"grad_norm": 7.782473087310791,
|
207 |
+
"learning_rate": 1.5000000000000002e-05,
|
208 |
+
"loss": 0.1872,
|
209 |
+
"step": 650
|
210 |
+
},
|
211 |
+
{
|
212 |
+
"epoch": 1.6875,
|
213 |
+
"grad_norm": 4.7159223556518555,
|
214 |
+
"learning_rate": 1.4722222222222224e-05,
|
215 |
+
"loss": 0.2126,
|
216 |
+
"step": 675
|
217 |
+
},
|
218 |
+
{
|
219 |
+
"epoch": 1.75,
|
220 |
+
"grad_norm": 6.77329158782959,
|
221 |
+
"learning_rate": 1.4455555555555555e-05,
|
222 |
+
"loss": 0.1599,
|
223 |
+
"step": 700
|
224 |
+
},
|
225 |
+
{
|
226 |
+
"epoch": 1.8125,
|
227 |
+
"grad_norm": 8.043964385986328,
|
228 |
+
"learning_rate": 1.4177777777777779e-05,
|
229 |
+
"loss": 0.1948,
|
230 |
+
"step": 725
|
231 |
+
},
|
232 |
+
{
|
233 |
+
"epoch": 1.875,
|
234 |
+
"grad_norm": 2.504098892211914,
|
235 |
+
"learning_rate": 1.39e-05,
|
236 |
+
"loss": 0.2085,
|
237 |
+
"step": 750
|
238 |
+
},
|
239 |
+
{
|
240 |
+
"epoch": 1.9375,
|
241 |
+
"grad_norm": 5.84541130065918,
|
242 |
+
"learning_rate": 1.3622222222222223e-05,
|
243 |
+
"loss": 0.1747,
|
244 |
+
"step": 775
|
245 |
+
},
|
246 |
+
{
|
247 |
+
"epoch": 2.0,
|
248 |
+
"grad_norm": 3.1481826305389404,
|
249 |
+
"learning_rate": 1.3344444444444446e-05,
|
250 |
+
"loss": 0.1559,
|
251 |
+
"step": 800
|
252 |
+
},
|
253 |
+
{
|
254 |
+
"epoch": 2.0,
|
255 |
+
"eval_accuracy": 0.91325,
|
256 |
+
"eval_f1_macro": 0.9131506992934328,
|
257 |
+
"eval_f1_micro": 0.91325,
|
258 |
+
"eval_f1_weighted": 0.9131506992934328,
|
259 |
+
"eval_loss": 0.26044753193855286,
|
260 |
+
"eval_precision_macro": 0.9151077674416565,
|
261 |
+
"eval_precision_micro": 0.91325,
|
262 |
+
"eval_precision_weighted": 0.9151077674416563,
|
263 |
+
"eval_recall_macro": 0.9132500000000001,
|
264 |
+
"eval_recall_micro": 0.91325,
|
265 |
+
"eval_recall_weighted": 0.91325,
|
266 |
+
"eval_runtime": 33.6732,
|
267 |
+
"eval_samples_per_second": 118.789,
|
268 |
+
"eval_steps_per_second": 7.424,
|
269 |
+
"step": 800
|
270 |
+
},
|
271 |
+
{
|
272 |
+
"epoch": 2.0625,
|
273 |
+
"grad_norm": 2.6985983848571777,
|
274 |
+
"learning_rate": 1.3066666666666668e-05,
|
275 |
+
"loss": 0.1303,
|
276 |
+
"step": 825
|
277 |
+
},
|
278 |
+
{
|
279 |
+
"epoch": 2.125,
|
280 |
+
"grad_norm": 0.7569481730461121,
|
281 |
+
"learning_rate": 1.278888888888889e-05,
|
282 |
+
"loss": 0.1298,
|
283 |
+
"step": 850
|
284 |
+
},
|
285 |
+
{
|
286 |
+
"epoch": 2.1875,
|
287 |
+
"grad_norm": 8.65732479095459,
|
288 |
+
"learning_rate": 1.2511111111111112e-05,
|
289 |
+
"loss": 0.1157,
|
290 |
+
"step": 875
|
291 |
+
},
|
292 |
+
{
|
293 |
+
"epoch": 2.25,
|
294 |
+
"grad_norm": 5.493431091308594,
|
295 |
+
"learning_rate": 1.2233333333333335e-05,
|
296 |
+
"loss": 0.1091,
|
297 |
+
"step": 900
|
298 |
+
},
|
299 |
+
{
|
300 |
+
"epoch": 2.3125,
|
301 |
+
"grad_norm": 3.7139196395874023,
|
302 |
+
"learning_rate": 1.1955555555555556e-05,
|
303 |
+
"loss": 0.1311,
|
304 |
+
"step": 925
|
305 |
+
},
|
306 |
+
{
|
307 |
+
"epoch": 2.375,
|
308 |
+
"grad_norm": 5.745367527008057,
|
309 |
+
"learning_rate": 1.1677777777777779e-05,
|
310 |
+
"loss": 0.145,
|
311 |
+
"step": 950
|
312 |
+
},
|
313 |
+
{
|
314 |
+
"epoch": 2.4375,
|
315 |
+
"grad_norm": 4.435564994812012,
|
316 |
+
"learning_rate": 1.14e-05,
|
317 |
+
"loss": 0.1259,
|
318 |
+
"step": 975
|
319 |
+
},
|
320 |
+
{
|
321 |
+
"epoch": 2.5,
|
322 |
+
"grad_norm": 4.195883274078369,
|
323 |
+
"learning_rate": 1.1122222222222223e-05,
|
324 |
+
"loss": 0.0984,
|
325 |
+
"step": 1000
|
326 |
+
},
|
327 |
+
{
|
328 |
+
"epoch": 2.5625,
|
329 |
+
"grad_norm": 3.7901735305786133,
|
330 |
+
"learning_rate": 1.0844444444444446e-05,
|
331 |
+
"loss": 0.1098,
|
332 |
+
"step": 1025
|
333 |
+
},
|
334 |
+
{
|
335 |
+
"epoch": 2.625,
|
336 |
+
"grad_norm": 1.1230658292770386,
|
337 |
+
"learning_rate": 1.0566666666666667e-05,
|
338 |
+
"loss": 0.1217,
|
339 |
+
"step": 1050
|
340 |
+
},
|
341 |
+
{
|
342 |
+
"epoch": 2.6875,
|
343 |
+
"grad_norm": 6.928635120391846,
|
344 |
+
"learning_rate": 1.028888888888889e-05,
|
345 |
+
"loss": 0.114,
|
346 |
+
"step": 1075
|
347 |
+
},
|
348 |
+
{
|
349 |
+
"epoch": 2.75,
|
350 |
+
"grad_norm": 3.181431293487549,
|
351 |
+
"learning_rate": 1.0011111111111112e-05,
|
352 |
+
"loss": 0.1066,
|
353 |
+
"step": 1100
|
354 |
+
},
|
355 |
+
{
|
356 |
+
"epoch": 2.8125,
|
357 |
+
"grad_norm": 3.546902656555176,
|
358 |
+
"learning_rate": 9.733333333333334e-06,
|
359 |
+
"loss": 0.1157,
|
360 |
+
"step": 1125
|
361 |
+
},
|
362 |
+
{
|
363 |
+
"epoch": 2.875,
|
364 |
+
"grad_norm": 3.7598774433135986,
|
365 |
+
"learning_rate": 9.455555555555557e-06,
|
366 |
+
"loss": 0.1517,
|
367 |
+
"step": 1150
|
368 |
+
},
|
369 |
+
{
|
370 |
+
"epoch": 2.9375,
|
371 |
+
"grad_norm": 3.6415417194366455,
|
372 |
+
"learning_rate": 9.17777777777778e-06,
|
373 |
+
"loss": 0.1156,
|
374 |
+
"step": 1175
|
375 |
+
},
|
376 |
+
{
|
377 |
+
"epoch": 3.0,
|
378 |
+
"grad_norm": 1.1175150871276855,
|
379 |
+
"learning_rate": 8.900000000000001e-06,
|
380 |
+
"loss": 0.0853,
|
381 |
+
"step": 1200
|
382 |
+
},
|
383 |
+
{
|
384 |
+
"epoch": 3.0,
|
385 |
+
"eval_accuracy": 0.9235,
|
386 |
+
"eval_f1_macro": 0.9235095937897977,
|
387 |
+
"eval_f1_micro": 0.9235,
|
388 |
+
"eval_f1_weighted": 0.9235095937897976,
|
389 |
+
"eval_loss": 0.25161686539649963,
|
390 |
+
"eval_precision_macro": 0.9244227025831069,
|
391 |
+
"eval_precision_micro": 0.9235,
|
392 |
+
"eval_precision_weighted": 0.9244227025831069,
|
393 |
+
"eval_recall_macro": 0.9235,
|
394 |
+
"eval_recall_micro": 0.9235,
|
395 |
+
"eval_recall_weighted": 0.9235,
|
396 |
+
"eval_runtime": 33.6749,
|
397 |
+
"eval_samples_per_second": 118.783,
|
398 |
+
"eval_steps_per_second": 7.424,
|
399 |
+
"step": 1200
|
400 |
+
}
|
401 |
+
],
|
402 |
+
"logging_steps": 25,
|
403 |
+
"max_steps": 2000,
|
404 |
+
"num_input_tokens_seen": 0,
|
405 |
+
"num_train_epochs": 5,
|
406 |
+
"save_steps": 500,
|
407 |
+
"total_flos": 1.2629557444608e+16,
|
408 |
+
"train_batch_size": 8,
|
409 |
+
"trial_name": null,
|
410 |
+
"trial_params": null
|
411 |
+
}
|
checkpoint-1200/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:efc92fedf4fc60faa131e95d710b58d08873843b514f0bc6a392a4f504fc19df
|
3 |
+
size 5048
|
config.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google-bert/bert-base-uncased",
|
3 |
+
"_num_labels": 4,
|
4 |
+
"architectures": [
|
5 |
+
"BertForSequenceClassification"
|
6 |
+
],
|
7 |
+
"attention_probs_dropout_prob": 0.1,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"gradient_checkpointing": false,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 768,
|
13 |
+
"id2label": {
|
14 |
+
"0": "0",
|
15 |
+
"1": "1",
|
16 |
+
"2": "2",
|
17 |
+
"3": "3"
|
18 |
+
},
|
19 |
+
"initializer_range": 0.02,
|
20 |
+
"intermediate_size": 3072,
|
21 |
+
"label2id": {
|
22 |
+
"0": 0,
|
23 |
+
"1": 1,
|
24 |
+
"2": 2,
|
25 |
+
"3": 3
|
26 |
+
},
|
27 |
+
"layer_norm_eps": 1e-12,
|
28 |
+
"max_position_embeddings": 512,
|
29 |
+
"model_type": "bert",
|
30 |
+
"num_attention_heads": 12,
|
31 |
+
"num_hidden_layers": 12,
|
32 |
+
"pad_token_id": 0,
|
33 |
+
"position_embedding_type": "absolute",
|
34 |
+
"problem_type": "single_label_classification",
|
35 |
+
"torch_dtype": "float32",
|
36 |
+
"transformers_version": "4.40.1",
|
37 |
+
"type_vocab_size": 2,
|
38 |
+
"use_cache": true,
|
39 |
+
"vocab_size": 30522
|
40 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:36686d35fac82608880cab4948346080d6a5da14a9af6806ca6aa389c023ac2e
|
3 |
+
size 437964800
|
runs/May08_09-49-30_a63b8a253cdc/events.out.tfevents.1715161771.a63b8a253cdc.4610.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4f2c59c0277cf4e6fc066d72b24a9d0e4082010983349652df840f8c5f6a685b
|
3 |
+
size 26309
|
runs/May08_09-49-30_a63b8a253cdc/events.out.tfevents.1715164079.a63b8a253cdc.4610.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ce78b95b19e950d6234454bc7701d2984cf20d7d845799332dce150d9cbb97f3
|
3 |
+
size 921
|
special_tokens_map.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"sep_token": "[SEP]",
|
6 |
+
"unk_token": "[UNK]"
|
7 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "[PAD]",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"100": {
|
12 |
+
"content": "[UNK]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"101": {
|
20 |
+
"content": "[CLS]",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"102": {
|
28 |
+
"content": "[SEP]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"103": {
|
36 |
+
"content": "[MASK]",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"clean_up_tokenization_spaces": true,
|
45 |
+
"cls_token": "[CLS]",
|
46 |
+
"do_lower_case": true,
|
47 |
+
"mask_token": "[MASK]",
|
48 |
+
"model_max_length": 512,
|
49 |
+
"pad_token": "[PAD]",
|
50 |
+
"sep_token": "[SEP]",
|
51 |
+
"strip_accents": null,
|
52 |
+
"tokenize_chinese_chars": true,
|
53 |
+
"tokenizer_class": "BertTokenizer",
|
54 |
+
"unk_token": "[UNK]"
|
55 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:efc92fedf4fc60faa131e95d710b58d08873843b514f0bc6a392a4f504fc19df
|
3 |
+
size 5048
|
training_params.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"data_path": "few-shot-learning-classification-bert-sm-5K-abs/autotrain-data",
|
3 |
+
"model": "google-bert/bert-base-uncased",
|
4 |
+
"lr": 2e-05,
|
5 |
+
"epochs": 5,
|
6 |
+
"max_seq_length": 512,
|
7 |
+
"batch_size": 8,
|
8 |
+
"warmup_ratio": 0.1,
|
9 |
+
"gradient_accumulation": 5,
|
10 |
+
"optimizer": "adamw_torch",
|
11 |
+
"scheduler": "linear",
|
12 |
+
"weight_decay": 0.01,
|
13 |
+
"max_grad_norm": 1.0,
|
14 |
+
"seed": 42,
|
15 |
+
"train_split": "train",
|
16 |
+
"valid_split": "validation",
|
17 |
+
"text_column": "autotrain_text",
|
18 |
+
"target_column": "autotrain_label",
|
19 |
+
"logging_steps": -1,
|
20 |
+
"project_name": "few-shot-learning-classification-bert-sm-5K-abs",
|
21 |
+
"auto_find_batch_size": false,
|
22 |
+
"mixed_precision": "fp16",
|
23 |
+
"save_total_limit": 1,
|
24 |
+
"push_to_hub": true,
|
25 |
+
"evaluation_strategy": "epoch",
|
26 |
+
"username": "pravin691983",
|
27 |
+
"log": "tensorboard"
|
28 |
+
}
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|