pravin691983
commited on
Commit
•
f2af77a
1
Parent(s):
ce86457
Upload folder using huggingface_hub
Browse files- README.md +37 -0
- checkpoint-1280/config.json +40 -0
- checkpoint-1280/model.safetensors +3 -0
- checkpoint-1280/optimizer.pt +3 -0
- checkpoint-1280/rng_state.pth +3 -0
- checkpoint-1280/scheduler.pt +3 -0
- checkpoint-1280/trainer_state.json +414 -0
- checkpoint-1280/training_args.bin +3 -0
- config.json +40 -0
- model.safetensors +3 -0
- runs/May09_14-18-46_fdc05e5c852d/events.out.tfevents.1715264326.fdc05e5c852d.2963.0 +2 -2
- runs/May09_14-18-46_fdc05e5c852d/events.out.tfevents.1715265164.fdc05e5c852d.2963.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-1K-1/autotrain-data
|
10 |
+
---
|
11 |
+
|
12 |
+
# Model Trained Using AutoTrain
|
13 |
+
|
14 |
+
- Problem type: Text Classification
|
15 |
+
|
16 |
+
## Validation Metrics
|
17 |
+
loss: 0.3858742415904999
|
18 |
+
|
19 |
+
f1_macro: 0.9076167120902879
|
20 |
+
|
21 |
+
f1_micro: 0.9075
|
22 |
+
|
23 |
+
f1_weighted: 0.9076167120902879
|
24 |
+
|
25 |
+
precision_macro: 0.9080215201299329
|
26 |
+
|
27 |
+
precision_micro: 0.9075
|
28 |
+
|
29 |
+
precision_weighted: 0.9080215201299328
|
30 |
+
|
31 |
+
recall_macro: 0.9075
|
32 |
+
|
33 |
+
recall_micro: 0.9075
|
34 |
+
|
35 |
+
recall_weighted: 0.9075
|
36 |
+
|
37 |
+
accuracy: 0.9075
|
checkpoint-1280/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-1280/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:70dac96b3cffe7ac593c0a07db99628475596fb150dfbd07ff147c6c27bcaa34
|
3 |
+
size 437964800
|
checkpoint-1280/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:89ad4e32e443cd25e1545df5c4816677f6eb1b82b5f2fb2281a89ba61afd4263
|
3 |
+
size 876050682
|
checkpoint-1280/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8a9275c62aa538dc59da4e92cab0e96aef321694e347e049b029bf91527188c8
|
3 |
+
size 14244
|
checkpoint-1280/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:edd12cf0216cfeb12292025ac60eaf6fc51d40d3519fc41c4bf5cbc1043d46ae
|
3 |
+
size 1064
|
checkpoint-1280/trainer_state.json
ADDED
@@ -0,0 +1,414 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.3858742415904999,
|
3 |
+
"best_model_checkpoint": "few-shot-learning-classification-bert-sm-1K-1/checkpoint-1280",
|
4 |
+
"epoch": 2.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 1280,
|
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.0390625,
|
13 |
+
"grad_norm": 7.191597938537598,
|
14 |
+
"learning_rate": 1.4375e-06,
|
15 |
+
"loss": 1.4451,
|
16 |
+
"step": 25
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.078125,
|
20 |
+
"grad_norm": 5.644325256347656,
|
21 |
+
"learning_rate": 3e-06,
|
22 |
+
"loss": 1.4487,
|
23 |
+
"step": 50
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.1171875,
|
27 |
+
"grad_norm": 13.361610412597656,
|
28 |
+
"learning_rate": 4.5e-06,
|
29 |
+
"loss": 1.319,
|
30 |
+
"step": 75
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.15625,
|
34 |
+
"grad_norm": 14.431085586547852,
|
35 |
+
"learning_rate": 6.0625e-06,
|
36 |
+
"loss": 1.2472,
|
37 |
+
"step": 100
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.1953125,
|
41 |
+
"grad_norm": 22.173587799072266,
|
42 |
+
"learning_rate": 7.625e-06,
|
43 |
+
"loss": 1.1274,
|
44 |
+
"step": 125
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.234375,
|
48 |
+
"grad_norm": 14.653789520263672,
|
49 |
+
"learning_rate": 9.1875e-06,
|
50 |
+
"loss": 0.966,
|
51 |
+
"step": 150
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.2734375,
|
55 |
+
"grad_norm": 8.065316200256348,
|
56 |
+
"learning_rate": 1.075e-05,
|
57 |
+
"loss": 0.8051,
|
58 |
+
"step": 175
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"epoch": 0.3125,
|
62 |
+
"grad_norm": 9.035745620727539,
|
63 |
+
"learning_rate": 1.2312500000000001e-05,
|
64 |
+
"loss": 0.7299,
|
65 |
+
"step": 200
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 0.3515625,
|
69 |
+
"grad_norm": 7.260746002197266,
|
70 |
+
"learning_rate": 1.3875e-05,
|
71 |
+
"loss": 0.5627,
|
72 |
+
"step": 225
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 0.390625,
|
76 |
+
"grad_norm": 11.369009017944336,
|
77 |
+
"learning_rate": 1.54375e-05,
|
78 |
+
"loss": 0.6384,
|
79 |
+
"step": 250
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 0.4296875,
|
83 |
+
"grad_norm": 9.945943832397461,
|
84 |
+
"learning_rate": 1.7e-05,
|
85 |
+
"loss": 0.5355,
|
86 |
+
"step": 275
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 0.46875,
|
90 |
+
"grad_norm": 8.494958877563477,
|
91 |
+
"learning_rate": 1.85625e-05,
|
92 |
+
"loss": 0.4033,
|
93 |
+
"step": 300
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 0.5078125,
|
97 |
+
"grad_norm": 13.045336723327637,
|
98 |
+
"learning_rate": 1.9986111111111114e-05,
|
99 |
+
"loss": 0.3506,
|
100 |
+
"step": 325
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"epoch": 0.546875,
|
104 |
+
"grad_norm": 1.5317492485046387,
|
105 |
+
"learning_rate": 1.98125e-05,
|
106 |
+
"loss": 0.4383,
|
107 |
+
"step": 350
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"epoch": 0.5859375,
|
111 |
+
"grad_norm": 51.39152908325195,
|
112 |
+
"learning_rate": 1.963888888888889e-05,
|
113 |
+
"loss": 0.4716,
|
114 |
+
"step": 375
|
115 |
+
},
|
116 |
+
{
|
117 |
+
"epoch": 0.625,
|
118 |
+
"grad_norm": 0.5919365882873535,
|
119 |
+
"learning_rate": 1.946527777777778e-05,
|
120 |
+
"loss": 0.2496,
|
121 |
+
"step": 400
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 0.6640625,
|
125 |
+
"grad_norm": 0.27208948135375977,
|
126 |
+
"learning_rate": 1.9291666666666667e-05,
|
127 |
+
"loss": 0.326,
|
128 |
+
"step": 425
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 0.703125,
|
132 |
+
"grad_norm": 0.17534124851226807,
|
133 |
+
"learning_rate": 1.9118055555555557e-05,
|
134 |
+
"loss": 0.3539,
|
135 |
+
"step": 450
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 0.7421875,
|
139 |
+
"grad_norm": 0.4635702967643738,
|
140 |
+
"learning_rate": 1.8944444444444447e-05,
|
141 |
+
"loss": 0.3726,
|
142 |
+
"step": 475
|
143 |
+
},
|
144 |
+
{
|
145 |
+
"epoch": 0.78125,
|
146 |
+
"grad_norm": 18.82594108581543,
|
147 |
+
"learning_rate": 1.8770833333333337e-05,
|
148 |
+
"loss": 0.5068,
|
149 |
+
"step": 500
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"epoch": 0.8203125,
|
153 |
+
"grad_norm": 24.958038330078125,
|
154 |
+
"learning_rate": 1.8604166666666667e-05,
|
155 |
+
"loss": 0.3299,
|
156 |
+
"step": 525
|
157 |
+
},
|
158 |
+
{
|
159 |
+
"epoch": 0.859375,
|
160 |
+
"grad_norm": 61.970924377441406,
|
161 |
+
"learning_rate": 1.8430555555555557e-05,
|
162 |
+
"loss": 0.5022,
|
163 |
+
"step": 550
|
164 |
+
},
|
165 |
+
{
|
166 |
+
"epoch": 0.8984375,
|
167 |
+
"grad_norm": 0.2635006606578827,
|
168 |
+
"learning_rate": 1.8256944444444447e-05,
|
169 |
+
"loss": 0.4954,
|
170 |
+
"step": 575
|
171 |
+
},
|
172 |
+
{
|
173 |
+
"epoch": 0.9375,
|
174 |
+
"grad_norm": 6.639841556549072,
|
175 |
+
"learning_rate": 1.8083333333333334e-05,
|
176 |
+
"loss": 0.3813,
|
177 |
+
"step": 600
|
178 |
+
},
|
179 |
+
{
|
180 |
+
"epoch": 0.9765625,
|
181 |
+
"grad_norm": 2.1155128479003906,
|
182 |
+
"learning_rate": 1.7909722222222223e-05,
|
183 |
+
"loss": 0.4112,
|
184 |
+
"step": 625
|
185 |
+
},
|
186 |
+
{
|
187 |
+
"epoch": 1.0,
|
188 |
+
"eval_accuracy": 0.8675,
|
189 |
+
"eval_f1_macro": 0.8671356661653469,
|
190 |
+
"eval_f1_micro": 0.8675,
|
191 |
+
"eval_f1_weighted": 0.8671356661653468,
|
192 |
+
"eval_loss": 0.5370703339576721,
|
193 |
+
"eval_precision_macro": 0.8730718238693385,
|
194 |
+
"eval_precision_micro": 0.8675,
|
195 |
+
"eval_precision_weighted": 0.8730718238693385,
|
196 |
+
"eval_recall_macro": 0.8674999999999999,
|
197 |
+
"eval_recall_micro": 0.8675,
|
198 |
+
"eval_recall_weighted": 0.8675,
|
199 |
+
"eval_runtime": 6.2872,
|
200 |
+
"eval_samples_per_second": 127.242,
|
201 |
+
"eval_steps_per_second": 63.621,
|
202 |
+
"step": 640
|
203 |
+
},
|
204 |
+
{
|
205 |
+
"epoch": 1.015625,
|
206 |
+
"grad_norm": 31.680767059326172,
|
207 |
+
"learning_rate": 1.773611111111111e-05,
|
208 |
+
"loss": 0.3012,
|
209 |
+
"step": 650
|
210 |
+
},
|
211 |
+
{
|
212 |
+
"epoch": 1.0546875,
|
213 |
+
"grad_norm": 31.29473114013672,
|
214 |
+
"learning_rate": 1.7562500000000003e-05,
|
215 |
+
"loss": 0.2361,
|
216 |
+
"step": 675
|
217 |
+
},
|
218 |
+
{
|
219 |
+
"epoch": 1.09375,
|
220 |
+
"grad_norm": 0.18347026407718658,
|
221 |
+
"learning_rate": 1.738888888888889e-05,
|
222 |
+
"loss": 0.2887,
|
223 |
+
"step": 700
|
224 |
+
},
|
225 |
+
{
|
226 |
+
"epoch": 1.1328125,
|
227 |
+
"grad_norm": 1.14323091506958,
|
228 |
+
"learning_rate": 1.721527777777778e-05,
|
229 |
+
"loss": 0.2525,
|
230 |
+
"step": 725
|
231 |
+
},
|
232 |
+
{
|
233 |
+
"epoch": 1.171875,
|
234 |
+
"grad_norm": 0.09450375288724899,
|
235 |
+
"learning_rate": 1.7041666666666666e-05,
|
236 |
+
"loss": 0.3185,
|
237 |
+
"step": 750
|
238 |
+
},
|
239 |
+
{
|
240 |
+
"epoch": 1.2109375,
|
241 |
+
"grad_norm": 0.28490039706230164,
|
242 |
+
"learning_rate": 1.6868055555555556e-05,
|
243 |
+
"loss": 0.2852,
|
244 |
+
"step": 775
|
245 |
+
},
|
246 |
+
{
|
247 |
+
"epoch": 1.25,
|
248 |
+
"grad_norm": 0.4697229862213135,
|
249 |
+
"learning_rate": 1.6694444444444446e-05,
|
250 |
+
"loss": 0.4275,
|
251 |
+
"step": 800
|
252 |
+
},
|
253 |
+
{
|
254 |
+
"epoch": 1.2890625,
|
255 |
+
"grad_norm": 0.09609019011259079,
|
256 |
+
"learning_rate": 1.6520833333333336e-05,
|
257 |
+
"loss": 0.0966,
|
258 |
+
"step": 825
|
259 |
+
},
|
260 |
+
{
|
261 |
+
"epoch": 1.328125,
|
262 |
+
"grad_norm": 34.88169479370117,
|
263 |
+
"learning_rate": 1.6347222222222223e-05,
|
264 |
+
"loss": 0.3033,
|
265 |
+
"step": 850
|
266 |
+
},
|
267 |
+
{
|
268 |
+
"epoch": 1.3671875,
|
269 |
+
"grad_norm": 45.051490783691406,
|
270 |
+
"learning_rate": 1.6173611111111113e-05,
|
271 |
+
"loss": 0.4049,
|
272 |
+
"step": 875
|
273 |
+
},
|
274 |
+
{
|
275 |
+
"epoch": 1.40625,
|
276 |
+
"grad_norm": 0.3537954092025757,
|
277 |
+
"learning_rate": 1.6000000000000003e-05,
|
278 |
+
"loss": 0.2878,
|
279 |
+
"step": 900
|
280 |
+
},
|
281 |
+
{
|
282 |
+
"epoch": 1.4453125,
|
283 |
+
"grad_norm": 91.70577239990234,
|
284 |
+
"learning_rate": 1.582638888888889e-05,
|
285 |
+
"loss": 0.2305,
|
286 |
+
"step": 925
|
287 |
+
},
|
288 |
+
{
|
289 |
+
"epoch": 1.484375,
|
290 |
+
"grad_norm": 0.0591551698744297,
|
291 |
+
"learning_rate": 1.565277777777778e-05,
|
292 |
+
"loss": 0.2653,
|
293 |
+
"step": 950
|
294 |
+
},
|
295 |
+
{
|
296 |
+
"epoch": 1.5234375,
|
297 |
+
"grad_norm": 13.28045654296875,
|
298 |
+
"learning_rate": 1.5479166666666666e-05,
|
299 |
+
"loss": 0.3921,
|
300 |
+
"step": 975
|
301 |
+
},
|
302 |
+
{
|
303 |
+
"epoch": 1.5625,
|
304 |
+
"grad_norm": 0.16305220127105713,
|
305 |
+
"learning_rate": 1.5305555555555556e-05,
|
306 |
+
"loss": 0.1752,
|
307 |
+
"step": 1000
|
308 |
+
},
|
309 |
+
{
|
310 |
+
"epoch": 1.6015625,
|
311 |
+
"grad_norm": 0.06767012178897858,
|
312 |
+
"learning_rate": 1.5131944444444446e-05,
|
313 |
+
"loss": 0.3607,
|
314 |
+
"step": 1025
|
315 |
+
},
|
316 |
+
{
|
317 |
+
"epoch": 1.640625,
|
318 |
+
"grad_norm": 1.8044508695602417,
|
319 |
+
"learning_rate": 1.4958333333333336e-05,
|
320 |
+
"loss": 0.2305,
|
321 |
+
"step": 1050
|
322 |
+
},
|
323 |
+
{
|
324 |
+
"epoch": 1.6796875,
|
325 |
+
"grad_norm": 0.15962672233581543,
|
326 |
+
"learning_rate": 1.4784722222222224e-05,
|
327 |
+
"loss": 0.3076,
|
328 |
+
"step": 1075
|
329 |
+
},
|
330 |
+
{
|
331 |
+
"epoch": 1.71875,
|
332 |
+
"grad_norm": 48.03413391113281,
|
333 |
+
"learning_rate": 1.4611111111111112e-05,
|
334 |
+
"loss": 0.3941,
|
335 |
+
"step": 1100
|
336 |
+
},
|
337 |
+
{
|
338 |
+
"epoch": 1.7578125,
|
339 |
+
"grad_norm": 20.047348022460938,
|
340 |
+
"learning_rate": 1.4437500000000002e-05,
|
341 |
+
"loss": 0.2488,
|
342 |
+
"step": 1125
|
343 |
+
},
|
344 |
+
{
|
345 |
+
"epoch": 1.796875,
|
346 |
+
"grad_norm": 0.09602449089288712,
|
347 |
+
"learning_rate": 1.426388888888889e-05,
|
348 |
+
"loss": 0.3055,
|
349 |
+
"step": 1150
|
350 |
+
},
|
351 |
+
{
|
352 |
+
"epoch": 1.8359375,
|
353 |
+
"grad_norm": 6.260819435119629,
|
354 |
+
"learning_rate": 1.4090277777777778e-05,
|
355 |
+
"loss": 0.2926,
|
356 |
+
"step": 1175
|
357 |
+
},
|
358 |
+
{
|
359 |
+
"epoch": 1.875,
|
360 |
+
"grad_norm": 0.12005895376205444,
|
361 |
+
"learning_rate": 1.3916666666666667e-05,
|
362 |
+
"loss": 0.4649,
|
363 |
+
"step": 1200
|
364 |
+
},
|
365 |
+
{
|
366 |
+
"epoch": 1.9140625,
|
367 |
+
"grad_norm": 6.192780494689941,
|
368 |
+
"learning_rate": 1.3743055555555555e-05,
|
369 |
+
"loss": 0.2597,
|
370 |
+
"step": 1225
|
371 |
+
},
|
372 |
+
{
|
373 |
+
"epoch": 1.953125,
|
374 |
+
"grad_norm": 0.2921382188796997,
|
375 |
+
"learning_rate": 1.3576388888888889e-05,
|
376 |
+
"loss": 0.3106,
|
377 |
+
"step": 1250
|
378 |
+
},
|
379 |
+
{
|
380 |
+
"epoch": 1.9921875,
|
381 |
+
"grad_norm": 6.799332618713379,
|
382 |
+
"learning_rate": 1.3402777777777779e-05,
|
383 |
+
"loss": 0.501,
|
384 |
+
"step": 1275
|
385 |
+
},
|
386 |
+
{
|
387 |
+
"epoch": 2.0,
|
388 |
+
"eval_accuracy": 0.9075,
|
389 |
+
"eval_f1_macro": 0.9076167120902879,
|
390 |
+
"eval_f1_micro": 0.9075,
|
391 |
+
"eval_f1_weighted": 0.9076167120902879,
|
392 |
+
"eval_loss": 0.3858742415904999,
|
393 |
+
"eval_precision_macro": 0.9080215201299329,
|
394 |
+
"eval_precision_micro": 0.9075,
|
395 |
+
"eval_precision_weighted": 0.9080215201299328,
|
396 |
+
"eval_recall_macro": 0.9075,
|
397 |
+
"eval_recall_micro": 0.9075,
|
398 |
+
"eval_recall_weighted": 0.9075,
|
399 |
+
"eval_runtime": 6.273,
|
400 |
+
"eval_samples_per_second": 127.53,
|
401 |
+
"eval_steps_per_second": 63.765,
|
402 |
+
"step": 1280
|
403 |
+
}
|
404 |
+
],
|
405 |
+
"logging_steps": 25,
|
406 |
+
"max_steps": 3200,
|
407 |
+
"num_input_tokens_seen": 0,
|
408 |
+
"num_train_epochs": 5,
|
409 |
+
"save_steps": 500,
|
410 |
+
"total_flos": 1683940992614400.0,
|
411 |
+
"train_batch_size": 1,
|
412 |
+
"trial_name": null,
|
413 |
+
"trial_params": null
|
414 |
+
}
|
checkpoint-1280/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1349caa3c06b3dab2222644d11cfe7f6c2a4272420f61a620f2b6f413c000a56
|
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:70dac96b3cffe7ac593c0a07db99628475596fb150dfbd07ff147c6c27bcaa34
|
3 |
+
size 437964800
|
runs/May09_14-18-46_fdc05e5c852d/events.out.tfevents.1715264326.fdc05e5c852d.2963.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:07bbdbc224484ec53913be3aec611a6231245b57294145f274196f7f1933e213
|
3 |
+
size 36430
|
runs/May09_14-18-46_fdc05e5c852d/events.out.tfevents.1715265164.fdc05e5c852d.2963.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:02c496983895cfa348e3f92b0ed76482b793fb7c4a3bc2544ab8362da9a3514b
|
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:1349caa3c06b3dab2222644d11cfe7f6c2a4272420f61a620f2b6f413c000a56
|
3 |
+
size 5048
|
training_params.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"data_path": "few-shot-learning-classification-bert-sm-1K-1/autotrain-data",
|
3 |
+
"model": "google-bert/bert-base-uncased",
|
4 |
+
"lr": 2e-05,
|
5 |
+
"epochs": 5,
|
6 |
+
"max_seq_length": 512,
|
7 |
+
"batch_size": 1,
|
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-1K-1",
|
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
|
|