sagarpatelcompstak
commited on
Commit
•
3581be5
1
Parent(s):
25e7446
Upload folder using huggingface_hub
Browse files- README.md +41 -0
- checkpoint-1650/config.json +53 -0
- checkpoint-1650/model.safetensors +3 -0
- checkpoint-1650/optimizer.pt +3 -0
- checkpoint-1650/rng_state.pth +3 -0
- checkpoint-1650/scheduler.pt +3 -0
- checkpoint-1650/trainer_state.json +522 -0
- checkpoint-1650/training_args.bin +3 -0
- config.json +53 -0
- model.safetensors +3 -0
- preprocessor_config.json +22 -0
- runs/Oct28_19-08-34_r-compstak-document-ai-fine-tuning-z11p1xee-34b24-oo9j1/events.out.tfevents.1730142515.r-compstak-document-ai-fine-tuning-z11p1xee-34b24-oo9j1.249.0 +2 -2
- runs/Oct28_19-08-34_r-compstak-document-ai-fine-tuning-z11p1xee-34b24-oo9j1/events.out.tfevents.1730142866.r-compstak-document-ai-fine-tuning-z11p1xee-34b24-oo9j1.249.1 +3 -0
- training_args.bin +3 -0
- training_params.json +29 -0
README.md
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
---
|
3 |
+
tags:
|
4 |
+
- autotrain
|
5 |
+
- image-classification
|
6 |
+
base_model: google/vit-large-patch16-224
|
7 |
+
widget:
|
8 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/tiger.jpg
|
9 |
+
example_title: Tiger
|
10 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/teapot.jpg
|
11 |
+
example_title: Teapot
|
12 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/palace.jpg
|
13 |
+
example_title: Palace
|
14 |
+
---
|
15 |
+
|
16 |
+
# Model Trained Using AutoTrain
|
17 |
+
|
18 |
+
- Problem type: Image Classification
|
19 |
+
|
20 |
+
## Validation Metrics
|
21 |
+
loss: 0.5393036603927612
|
22 |
+
|
23 |
+
f1_macro: 0.7937276418883129
|
24 |
+
|
25 |
+
f1_micro: 0.8357575757575758
|
26 |
+
|
27 |
+
f1_weighted: 0.8309508918437231
|
28 |
+
|
29 |
+
precision_macro: 0.8009361572777395
|
30 |
+
|
31 |
+
precision_micro: 0.8357575757575758
|
32 |
+
|
33 |
+
precision_weighted: 0.832849266981749
|
34 |
+
|
35 |
+
recall_macro: 0.7951666666666667
|
36 |
+
|
37 |
+
recall_micro: 0.8357575757575758
|
38 |
+
|
39 |
+
recall_weighted: 0.8357575757575758
|
40 |
+
|
41 |
+
accuracy: 0.8357575757575758
|
checkpoint-1650/config.json
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/vit-large-patch16-224",
|
3 |
+
"_num_labels": 12,
|
4 |
+
"architectures": [
|
5 |
+
"ViTForImageClassification"
|
6 |
+
],
|
7 |
+
"attention_probs_dropout_prob": 0.0,
|
8 |
+
"encoder_stride": 16,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.0,
|
11 |
+
"hidden_size": 1024,
|
12 |
+
"id2label": {
|
13 |
+
"0": "Appraisal Report",
|
14 |
+
"1": "Block",
|
15 |
+
"2": "Columns",
|
16 |
+
"3": "Commision Form",
|
17 |
+
"4": "Don't Know",
|
18 |
+
"5": "Free Text",
|
19 |
+
"6": "Lease Agreement",
|
20 |
+
"7": "MLS",
|
21 |
+
"8": "Offering Memo",
|
22 |
+
"9": "Profile",
|
23 |
+
"10": "Rent Roll",
|
24 |
+
"11": "Table"
|
25 |
+
},
|
26 |
+
"image_size": 224,
|
27 |
+
"initializer_range": 0.02,
|
28 |
+
"intermediate_size": 4096,
|
29 |
+
"label2id": {
|
30 |
+
"Appraisal Report": 0,
|
31 |
+
"Block": 1,
|
32 |
+
"Columns": 2,
|
33 |
+
"Commision Form": 3,
|
34 |
+
"Don't Know": 4,
|
35 |
+
"Free Text": 5,
|
36 |
+
"Lease Agreement": 6,
|
37 |
+
"MLS": 7,
|
38 |
+
"Offering Memo": 8,
|
39 |
+
"Profile": 9,
|
40 |
+
"Rent Roll": 10,
|
41 |
+
"Table": 11
|
42 |
+
},
|
43 |
+
"layer_norm_eps": 1e-12,
|
44 |
+
"model_type": "vit",
|
45 |
+
"num_attention_heads": 16,
|
46 |
+
"num_channels": 3,
|
47 |
+
"num_hidden_layers": 24,
|
48 |
+
"patch_size": 16,
|
49 |
+
"problem_type": "single_label_classification",
|
50 |
+
"qkv_bias": true,
|
51 |
+
"torch_dtype": "float32",
|
52 |
+
"transformers_version": "4.45.0"
|
53 |
+
}
|
checkpoint-1650/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8a3cff4e151496d821d8a44ddab484ccad19be95b247583b3b3dc0245964ddb2
|
3 |
+
size 1213302272
|
checkpoint-1650/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:873d608de5219cfb43ac7060ede3ed0266d3dbaf4a94e88b25234dce645abad0
|
3 |
+
size 2426839466
|
checkpoint-1650/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d8f9d960634b98a6135515f34786e49debe004cdddd2ac0c983971b37d0b9c5f
|
3 |
+
size 14244
|
checkpoint-1650/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:811fe9169da96f5c2685ce10f40824114f2d4e6ea565c2b3047cd0580d3c45f0
|
3 |
+
size 1064
|
checkpoint-1650/trainer_state.json
ADDED
@@ -0,0 +1,522 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.5393036603927612,
|
3 |
+
"best_model_checkpoint": "classify-google-augment/checkpoint-1650",
|
4 |
+
"epoch": 1.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 1650,
|
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.015151515151515152,
|
13 |
+
"grad_norm": 13.14976978302002,
|
14 |
+
"learning_rate": 7.272727272727272e-06,
|
15 |
+
"loss": 2.3788,
|
16 |
+
"step": 25
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.030303030303030304,
|
20 |
+
"grad_norm": 10.54937744140625,
|
21 |
+
"learning_rate": 1.484848484848485e-05,
|
22 |
+
"loss": 2.0054,
|
23 |
+
"step": 50
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.045454545454545456,
|
27 |
+
"grad_norm": 13.539351463317871,
|
28 |
+
"learning_rate": 2.2424242424242424e-05,
|
29 |
+
"loss": 1.6992,
|
30 |
+
"step": 75
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.06060606060606061,
|
34 |
+
"grad_norm": 15.256404876708984,
|
35 |
+
"learning_rate": 3e-05,
|
36 |
+
"loss": 1.7111,
|
37 |
+
"step": 100
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.07575757575757576,
|
41 |
+
"grad_norm": 11.585308074951172,
|
42 |
+
"learning_rate": 3.757575757575758e-05,
|
43 |
+
"loss": 1.6489,
|
44 |
+
"step": 125
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.09090909090909091,
|
48 |
+
"grad_norm": 16.133155822753906,
|
49 |
+
"learning_rate": 4.515151515151516e-05,
|
50 |
+
"loss": 1.4506,
|
51 |
+
"step": 150
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.10606060606060606,
|
55 |
+
"grad_norm": 14.52907943725586,
|
56 |
+
"learning_rate": 4.9696969696969694e-05,
|
57 |
+
"loss": 1.4889,
|
58 |
+
"step": 175
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"epoch": 0.12121212121212122,
|
62 |
+
"grad_norm": 11.5184965133667,
|
63 |
+
"learning_rate": 4.885521885521886e-05,
|
64 |
+
"loss": 1.732,
|
65 |
+
"step": 200
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 0.13636363636363635,
|
69 |
+
"grad_norm": 9.789813041687012,
|
70 |
+
"learning_rate": 4.8013468013468016e-05,
|
71 |
+
"loss": 1.4171,
|
72 |
+
"step": 225
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 0.15151515151515152,
|
76 |
+
"grad_norm": 9.932942390441895,
|
77 |
+
"learning_rate": 4.7171717171717174e-05,
|
78 |
+
"loss": 1.2866,
|
79 |
+
"step": 250
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 0.16666666666666666,
|
83 |
+
"grad_norm": 12.85246753692627,
|
84 |
+
"learning_rate": 4.632996632996633e-05,
|
85 |
+
"loss": 1.5966,
|
86 |
+
"step": 275
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 0.18181818181818182,
|
90 |
+
"grad_norm": 13.539669036865234,
|
91 |
+
"learning_rate": 4.548821548821549e-05,
|
92 |
+
"loss": 1.3419,
|
93 |
+
"step": 300
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 0.19696969696969696,
|
97 |
+
"grad_norm": 8.646981239318848,
|
98 |
+
"learning_rate": 4.464646464646465e-05,
|
99 |
+
"loss": 1.3768,
|
100 |
+
"step": 325
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"epoch": 0.21212121212121213,
|
104 |
+
"grad_norm": 10.593306541442871,
|
105 |
+
"learning_rate": 4.380471380471381e-05,
|
106 |
+
"loss": 1.3912,
|
107 |
+
"step": 350
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"epoch": 0.22727272727272727,
|
111 |
+
"grad_norm": 5.752423286437988,
|
112 |
+
"learning_rate": 4.296296296296296e-05,
|
113 |
+
"loss": 1.3558,
|
114 |
+
"step": 375
|
115 |
+
},
|
116 |
+
{
|
117 |
+
"epoch": 0.24242424242424243,
|
118 |
+
"grad_norm": 7.588248252868652,
|
119 |
+
"learning_rate": 4.212121212121212e-05,
|
120 |
+
"loss": 1.2124,
|
121 |
+
"step": 400
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 0.25757575757575757,
|
125 |
+
"grad_norm": 10.205862998962402,
|
126 |
+
"learning_rate": 4.127946127946128e-05,
|
127 |
+
"loss": 1.0778,
|
128 |
+
"step": 425
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 0.2727272727272727,
|
132 |
+
"grad_norm": 8.397643089294434,
|
133 |
+
"learning_rate": 4.043771043771044e-05,
|
134 |
+
"loss": 1.1563,
|
135 |
+
"step": 450
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 0.2878787878787879,
|
139 |
+
"grad_norm": 13.5399169921875,
|
140 |
+
"learning_rate": 3.9595959595959594e-05,
|
141 |
+
"loss": 1.1386,
|
142 |
+
"step": 475
|
143 |
+
},
|
144 |
+
{
|
145 |
+
"epoch": 0.30303030303030304,
|
146 |
+
"grad_norm": 9.785845756530762,
|
147 |
+
"learning_rate": 3.875420875420875e-05,
|
148 |
+
"loss": 1.1826,
|
149 |
+
"step": 500
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"epoch": 0.3181818181818182,
|
153 |
+
"grad_norm": 9.576815605163574,
|
154 |
+
"learning_rate": 3.791245791245792e-05,
|
155 |
+
"loss": 1.2484,
|
156 |
+
"step": 525
|
157 |
+
},
|
158 |
+
{
|
159 |
+
"epoch": 0.3333333333333333,
|
160 |
+
"grad_norm": 10.881918907165527,
|
161 |
+
"learning_rate": 3.7070707070707075e-05,
|
162 |
+
"loss": 1.2501,
|
163 |
+
"step": 550
|
164 |
+
},
|
165 |
+
{
|
166 |
+
"epoch": 0.3484848484848485,
|
167 |
+
"grad_norm": 4.649813652038574,
|
168 |
+
"learning_rate": 3.6228956228956226e-05,
|
169 |
+
"loss": 0.8895,
|
170 |
+
"step": 575
|
171 |
+
},
|
172 |
+
{
|
173 |
+
"epoch": 0.36363636363636365,
|
174 |
+
"grad_norm": 5.953652381896973,
|
175 |
+
"learning_rate": 3.538720538720539e-05,
|
176 |
+
"loss": 1.1989,
|
177 |
+
"step": 600
|
178 |
+
},
|
179 |
+
{
|
180 |
+
"epoch": 0.3787878787878788,
|
181 |
+
"grad_norm": 9.50765609741211,
|
182 |
+
"learning_rate": 3.454545454545455e-05,
|
183 |
+
"loss": 1.0395,
|
184 |
+
"step": 625
|
185 |
+
},
|
186 |
+
{
|
187 |
+
"epoch": 0.3939393939393939,
|
188 |
+
"grad_norm": 7.9036126136779785,
|
189 |
+
"learning_rate": 3.3703703703703706e-05,
|
190 |
+
"loss": 0.9029,
|
191 |
+
"step": 650
|
192 |
+
},
|
193 |
+
{
|
194 |
+
"epoch": 0.4090909090909091,
|
195 |
+
"grad_norm": 6.874680519104004,
|
196 |
+
"learning_rate": 3.2861952861952864e-05,
|
197 |
+
"loss": 1.0177,
|
198 |
+
"step": 675
|
199 |
+
},
|
200 |
+
{
|
201 |
+
"epoch": 0.42424242424242425,
|
202 |
+
"grad_norm": 11.416817665100098,
|
203 |
+
"learning_rate": 3.202020202020202e-05,
|
204 |
+
"loss": 1.2795,
|
205 |
+
"step": 700
|
206 |
+
},
|
207 |
+
{
|
208 |
+
"epoch": 0.4393939393939394,
|
209 |
+
"grad_norm": 7.107864856719971,
|
210 |
+
"learning_rate": 3.117845117845118e-05,
|
211 |
+
"loss": 0.9335,
|
212 |
+
"step": 725
|
213 |
+
},
|
214 |
+
{
|
215 |
+
"epoch": 0.45454545454545453,
|
216 |
+
"grad_norm": 5.847291469573975,
|
217 |
+
"learning_rate": 3.0336700336700337e-05,
|
218 |
+
"loss": 0.8479,
|
219 |
+
"step": 750
|
220 |
+
},
|
221 |
+
{
|
222 |
+
"epoch": 0.4696969696969697,
|
223 |
+
"grad_norm": 8.807320594787598,
|
224 |
+
"learning_rate": 2.9494949494949498e-05,
|
225 |
+
"loss": 1.0565,
|
226 |
+
"step": 775
|
227 |
+
},
|
228 |
+
{
|
229 |
+
"epoch": 0.48484848484848486,
|
230 |
+
"grad_norm": 9.044240951538086,
|
231 |
+
"learning_rate": 2.8653198653198653e-05,
|
232 |
+
"loss": 0.9249,
|
233 |
+
"step": 800
|
234 |
+
},
|
235 |
+
{
|
236 |
+
"epoch": 0.5,
|
237 |
+
"grad_norm": 6.79242467880249,
|
238 |
+
"learning_rate": 2.781144781144781e-05,
|
239 |
+
"loss": 0.958,
|
240 |
+
"step": 825
|
241 |
+
},
|
242 |
+
{
|
243 |
+
"epoch": 0.5151515151515151,
|
244 |
+
"grad_norm": 8.256180763244629,
|
245 |
+
"learning_rate": 2.696969696969697e-05,
|
246 |
+
"loss": 0.9815,
|
247 |
+
"step": 850
|
248 |
+
},
|
249 |
+
{
|
250 |
+
"epoch": 0.5303030303030303,
|
251 |
+
"grad_norm": 10.210299491882324,
|
252 |
+
"learning_rate": 2.612794612794613e-05,
|
253 |
+
"loss": 0.9463,
|
254 |
+
"step": 875
|
255 |
+
},
|
256 |
+
{
|
257 |
+
"epoch": 0.5454545454545454,
|
258 |
+
"grad_norm": 10.20052719116211,
|
259 |
+
"learning_rate": 2.5286195286195287e-05,
|
260 |
+
"loss": 0.8696,
|
261 |
+
"step": 900
|
262 |
+
},
|
263 |
+
{
|
264 |
+
"epoch": 0.5606060606060606,
|
265 |
+
"grad_norm": 5.729280471801758,
|
266 |
+
"learning_rate": 2.4444444444444445e-05,
|
267 |
+
"loss": 0.9741,
|
268 |
+
"step": 925
|
269 |
+
},
|
270 |
+
{
|
271 |
+
"epoch": 0.5757575757575758,
|
272 |
+
"grad_norm": 8.521025657653809,
|
273 |
+
"learning_rate": 2.3602693602693603e-05,
|
274 |
+
"loss": 0.9395,
|
275 |
+
"step": 950
|
276 |
+
},
|
277 |
+
{
|
278 |
+
"epoch": 0.5909090909090909,
|
279 |
+
"grad_norm": 7.029082298278809,
|
280 |
+
"learning_rate": 2.2760942760942764e-05,
|
281 |
+
"loss": 0.8523,
|
282 |
+
"step": 975
|
283 |
+
},
|
284 |
+
{
|
285 |
+
"epoch": 0.6060606060606061,
|
286 |
+
"grad_norm": 15.19565486907959,
|
287 |
+
"learning_rate": 2.191919191919192e-05,
|
288 |
+
"loss": 1.0135,
|
289 |
+
"step": 1000
|
290 |
+
},
|
291 |
+
{
|
292 |
+
"epoch": 0.6212121212121212,
|
293 |
+
"grad_norm": 11.735282897949219,
|
294 |
+
"learning_rate": 2.111111111111111e-05,
|
295 |
+
"loss": 0.8963,
|
296 |
+
"step": 1025
|
297 |
+
},
|
298 |
+
{
|
299 |
+
"epoch": 0.6363636363636364,
|
300 |
+
"grad_norm": 7.976740837097168,
|
301 |
+
"learning_rate": 2.0269360269360272e-05,
|
302 |
+
"loss": 0.8541,
|
303 |
+
"step": 1050
|
304 |
+
},
|
305 |
+
{
|
306 |
+
"epoch": 0.6515151515151515,
|
307 |
+
"grad_norm": 10.43382453918457,
|
308 |
+
"learning_rate": 1.9427609427609426e-05,
|
309 |
+
"loss": 0.9451,
|
310 |
+
"step": 1075
|
311 |
+
},
|
312 |
+
{
|
313 |
+
"epoch": 0.6666666666666666,
|
314 |
+
"grad_norm": 8.731287002563477,
|
315 |
+
"learning_rate": 1.8585858585858588e-05,
|
316 |
+
"loss": 0.9462,
|
317 |
+
"step": 1100
|
318 |
+
},
|
319 |
+
{
|
320 |
+
"epoch": 0.6818181818181818,
|
321 |
+
"grad_norm": 8.06290340423584,
|
322 |
+
"learning_rate": 1.7744107744107745e-05,
|
323 |
+
"loss": 0.8175,
|
324 |
+
"step": 1125
|
325 |
+
},
|
326 |
+
{
|
327 |
+
"epoch": 0.696969696969697,
|
328 |
+
"grad_norm": 20.532014846801758,
|
329 |
+
"learning_rate": 1.6902356902356903e-05,
|
330 |
+
"loss": 0.8604,
|
331 |
+
"step": 1150
|
332 |
+
},
|
333 |
+
{
|
334 |
+
"epoch": 0.7121212121212122,
|
335 |
+
"grad_norm": 10.84019947052002,
|
336 |
+
"learning_rate": 1.606060606060606e-05,
|
337 |
+
"loss": 0.8538,
|
338 |
+
"step": 1175
|
339 |
+
},
|
340 |
+
{
|
341 |
+
"epoch": 0.7272727272727273,
|
342 |
+
"grad_norm": 8.15449047088623,
|
343 |
+
"learning_rate": 1.5218855218855219e-05,
|
344 |
+
"loss": 0.8301,
|
345 |
+
"step": 1200
|
346 |
+
},
|
347 |
+
{
|
348 |
+
"epoch": 0.7424242424242424,
|
349 |
+
"grad_norm": 7.453359127044678,
|
350 |
+
"learning_rate": 1.4377104377104378e-05,
|
351 |
+
"loss": 0.8899,
|
352 |
+
"step": 1225
|
353 |
+
},
|
354 |
+
{
|
355 |
+
"epoch": 0.7575757575757576,
|
356 |
+
"grad_norm": 8.70699691772461,
|
357 |
+
"learning_rate": 1.3535353535353538e-05,
|
358 |
+
"loss": 0.8645,
|
359 |
+
"step": 1250
|
360 |
+
},
|
361 |
+
{
|
362 |
+
"epoch": 0.7727272727272727,
|
363 |
+
"grad_norm": 6.581109046936035,
|
364 |
+
"learning_rate": 1.2693602693602694e-05,
|
365 |
+
"loss": 0.7355,
|
366 |
+
"step": 1275
|
367 |
+
},
|
368 |
+
{
|
369 |
+
"epoch": 0.7878787878787878,
|
370 |
+
"grad_norm": 6.576424598693848,
|
371 |
+
"learning_rate": 1.1851851851851853e-05,
|
372 |
+
"loss": 0.8093,
|
373 |
+
"step": 1300
|
374 |
+
},
|
375 |
+
{
|
376 |
+
"epoch": 0.803030303030303,
|
377 |
+
"grad_norm": 9.948806762695312,
|
378 |
+
"learning_rate": 1.1010101010101011e-05,
|
379 |
+
"loss": 0.7704,
|
380 |
+
"step": 1325
|
381 |
+
},
|
382 |
+
{
|
383 |
+
"epoch": 0.8181818181818182,
|
384 |
+
"grad_norm": 3.807300329208374,
|
385 |
+
"learning_rate": 1.0168350168350169e-05,
|
386 |
+
"loss": 0.8601,
|
387 |
+
"step": 1350
|
388 |
+
},
|
389 |
+
{
|
390 |
+
"epoch": 0.8333333333333334,
|
391 |
+
"grad_norm": 6.901116847991943,
|
392 |
+
"learning_rate": 9.326599326599327e-06,
|
393 |
+
"loss": 0.7588,
|
394 |
+
"step": 1375
|
395 |
+
},
|
396 |
+
{
|
397 |
+
"epoch": 0.8484848484848485,
|
398 |
+
"grad_norm": 9.398531913757324,
|
399 |
+
"learning_rate": 8.484848484848486e-06,
|
400 |
+
"loss": 0.6331,
|
401 |
+
"step": 1400
|
402 |
+
},
|
403 |
+
{
|
404 |
+
"epoch": 0.8636363636363636,
|
405 |
+
"grad_norm": 6.804070949554443,
|
406 |
+
"learning_rate": 7.643097643097644e-06,
|
407 |
+
"loss": 0.7387,
|
408 |
+
"step": 1425
|
409 |
+
},
|
410 |
+
{
|
411 |
+
"epoch": 0.8787878787878788,
|
412 |
+
"grad_norm": 8.357223510742188,
|
413 |
+
"learning_rate": 6.801346801346802e-06,
|
414 |
+
"loss": 0.7136,
|
415 |
+
"step": 1450
|
416 |
+
},
|
417 |
+
{
|
418 |
+
"epoch": 0.8939393939393939,
|
419 |
+
"grad_norm": 9.511758804321289,
|
420 |
+
"learning_rate": 5.9595959595959605e-06,
|
421 |
+
"loss": 0.8399,
|
422 |
+
"step": 1475
|
423 |
+
},
|
424 |
+
{
|
425 |
+
"epoch": 0.9090909090909091,
|
426 |
+
"grad_norm": 7.744482517242432,
|
427 |
+
"learning_rate": 5.117845117845118e-06,
|
428 |
+
"loss": 0.8673,
|
429 |
+
"step": 1500
|
430 |
+
},
|
431 |
+
{
|
432 |
+
"epoch": 0.9242424242424242,
|
433 |
+
"grad_norm": 10.048524856567383,
|
434 |
+
"learning_rate": 4.276094276094277e-06,
|
435 |
+
"loss": 0.8057,
|
436 |
+
"step": 1525
|
437 |
+
},
|
438 |
+
{
|
439 |
+
"epoch": 0.9393939393939394,
|
440 |
+
"grad_norm": 6.401331424713135,
|
441 |
+
"learning_rate": 3.4343434343434343e-06,
|
442 |
+
"loss": 0.693,
|
443 |
+
"step": 1550
|
444 |
+
},
|
445 |
+
{
|
446 |
+
"epoch": 0.9545454545454546,
|
447 |
+
"grad_norm": 9.841402053833008,
|
448 |
+
"learning_rate": 2.5925925925925925e-06,
|
449 |
+
"loss": 0.7771,
|
450 |
+
"step": 1575
|
451 |
+
},
|
452 |
+
{
|
453 |
+
"epoch": 0.9696969696969697,
|
454 |
+
"grad_norm": 11.016989707946777,
|
455 |
+
"learning_rate": 1.750841750841751e-06,
|
456 |
+
"loss": 0.7287,
|
457 |
+
"step": 1600
|
458 |
+
},
|
459 |
+
{
|
460 |
+
"epoch": 0.9848484848484849,
|
461 |
+
"grad_norm": 10.226309776306152,
|
462 |
+
"learning_rate": 9.09090909090909e-07,
|
463 |
+
"loss": 0.7603,
|
464 |
+
"step": 1625
|
465 |
+
},
|
466 |
+
{
|
467 |
+
"epoch": 1.0,
|
468 |
+
"grad_norm": 5.509101390838623,
|
469 |
+
"learning_rate": 6.734006734006734e-08,
|
470 |
+
"loss": 0.653,
|
471 |
+
"step": 1650
|
472 |
+
},
|
473 |
+
{
|
474 |
+
"epoch": 1.0,
|
475 |
+
"eval_accuracy": 0.8357575757575758,
|
476 |
+
"eval_f1_macro": 0.7937276418883129,
|
477 |
+
"eval_f1_micro": 0.8357575757575758,
|
478 |
+
"eval_f1_weighted": 0.8309508918437231,
|
479 |
+
"eval_loss": 0.5393036603927612,
|
480 |
+
"eval_precision_macro": 0.8009361572777395,
|
481 |
+
"eval_precision_micro": 0.8357575757575758,
|
482 |
+
"eval_precision_weighted": 0.832849266981749,
|
483 |
+
"eval_recall_macro": 0.7951666666666667,
|
484 |
+
"eval_recall_micro": 0.8357575757575758,
|
485 |
+
"eval_recall_weighted": 0.8357575757575758,
|
486 |
+
"eval_runtime": 18.907,
|
487 |
+
"eval_samples_per_second": 174.538,
|
488 |
+
"eval_steps_per_second": 10.948,
|
489 |
+
"step": 1650
|
490 |
+
}
|
491 |
+
],
|
492 |
+
"logging_steps": 25,
|
493 |
+
"max_steps": 1650,
|
494 |
+
"num_input_tokens_seen": 0,
|
495 |
+
"num_train_epochs": 1,
|
496 |
+
"save_steps": 500,
|
497 |
+
"stateful_callbacks": {
|
498 |
+
"EarlyStoppingCallback": {
|
499 |
+
"args": {
|
500 |
+
"early_stopping_patience": 5,
|
501 |
+
"early_stopping_threshold": 0.01
|
502 |
+
},
|
503 |
+
"attributes": {
|
504 |
+
"early_stopping_patience_counter": 0
|
505 |
+
}
|
506 |
+
},
|
507 |
+
"TrainerControl": {
|
508 |
+
"args": {
|
509 |
+
"should_epoch_stop": false,
|
510 |
+
"should_evaluate": false,
|
511 |
+
"should_log": false,
|
512 |
+
"should_save": true,
|
513 |
+
"should_training_stop": true
|
514 |
+
},
|
515 |
+
"attributes": {}
|
516 |
+
}
|
517 |
+
},
|
518 |
+
"total_flos": 3.616053372842803e+18,
|
519 |
+
"train_batch_size": 8,
|
520 |
+
"trial_name": null,
|
521 |
+
"trial_params": null
|
522 |
+
}
|
checkpoint-1650/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:966800e0d0aec9f9758866ee35bf710e0ec0c1edb91591cc3f4d53fd3bb0b4fb
|
3 |
+
size 5240
|
config.json
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/vit-large-patch16-224",
|
3 |
+
"_num_labels": 12,
|
4 |
+
"architectures": [
|
5 |
+
"ViTForImageClassification"
|
6 |
+
],
|
7 |
+
"attention_probs_dropout_prob": 0.0,
|
8 |
+
"encoder_stride": 16,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.0,
|
11 |
+
"hidden_size": 1024,
|
12 |
+
"id2label": {
|
13 |
+
"0": "Appraisal Report",
|
14 |
+
"1": "Block",
|
15 |
+
"2": "Columns",
|
16 |
+
"3": "Commision Form",
|
17 |
+
"4": "Don't Know",
|
18 |
+
"5": "Free Text",
|
19 |
+
"6": "Lease Agreement",
|
20 |
+
"7": "MLS",
|
21 |
+
"8": "Offering Memo",
|
22 |
+
"9": "Profile",
|
23 |
+
"10": "Rent Roll",
|
24 |
+
"11": "Table"
|
25 |
+
},
|
26 |
+
"image_size": 224,
|
27 |
+
"initializer_range": 0.02,
|
28 |
+
"intermediate_size": 4096,
|
29 |
+
"label2id": {
|
30 |
+
"Appraisal Report": 0,
|
31 |
+
"Block": 1,
|
32 |
+
"Columns": 2,
|
33 |
+
"Commision Form": 3,
|
34 |
+
"Don't Know": 4,
|
35 |
+
"Free Text": 5,
|
36 |
+
"Lease Agreement": 6,
|
37 |
+
"MLS": 7,
|
38 |
+
"Offering Memo": 8,
|
39 |
+
"Profile": 9,
|
40 |
+
"Rent Roll": 10,
|
41 |
+
"Table": 11
|
42 |
+
},
|
43 |
+
"layer_norm_eps": 1e-12,
|
44 |
+
"model_type": "vit",
|
45 |
+
"num_attention_heads": 16,
|
46 |
+
"num_channels": 3,
|
47 |
+
"num_hidden_layers": 24,
|
48 |
+
"patch_size": 16,
|
49 |
+
"problem_type": "single_label_classification",
|
50 |
+
"qkv_bias": true,
|
51 |
+
"torch_dtype": "float32",
|
52 |
+
"transformers_version": "4.45.0"
|
53 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8a3cff4e151496d821d8a44ddab484ccad19be95b247583b3b3dc0245964ddb2
|
3 |
+
size 1213302272
|
preprocessor_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_rescale": true,
|
4 |
+
"do_resize": true,
|
5 |
+
"image_mean": [
|
6 |
+
0.5,
|
7 |
+
0.5,
|
8 |
+
0.5
|
9 |
+
],
|
10 |
+
"image_processor_type": "ViTImageProcessor",
|
11 |
+
"image_std": [
|
12 |
+
0.5,
|
13 |
+
0.5,
|
14 |
+
0.5
|
15 |
+
],
|
16 |
+
"resample": 2,
|
17 |
+
"rescale_factor": 0.00392156862745098,
|
18 |
+
"size": {
|
19 |
+
"height": 224,
|
20 |
+
"width": 224
|
21 |
+
}
|
22 |
+
}
|
runs/Oct28_19-08-34_r-compstak-document-ai-fine-tuning-z11p1xee-34b24-oo9j1/events.out.tfevents.1730142515.r-compstak-document-ai-fine-tuning-z11p1xee-34b24-oo9j1.249.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:64f644eb45b5c9cc54af29a2d065e58be02d8d2067a75468ab58edfdfbca29db
|
3 |
+
size 20554
|
runs/Oct28_19-08-34_r-compstak-document-ai-fine-tuning-z11p1xee-34b24-oo9j1/events.out.tfevents.1730142866.r-compstak-document-ai-fine-tuning-z11p1xee-34b24-oo9j1.249.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e371a09b0c6c9a39c103b719c1990dec74e49d6c66b5f28dbbe42279eff632f1
|
3 |
+
size 921
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:966800e0d0aec9f9758866ee35bf710e0ec0c1edb91591cc3f4d53fd3bb0b4fb
|
3 |
+
size 5240
|
training_params.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"data_path": "classify-google-augment/autotrain-data",
|
3 |
+
"model": "google/vit-large-patch16-224",
|
4 |
+
"username": "compstak",
|
5 |
+
"lr": 5e-05,
|
6 |
+
"epochs": 1,
|
7 |
+
"batch_size": 8,
|
8 |
+
"warmup_ratio": 0.1,
|
9 |
+
"gradient_accumulation": 1,
|
10 |
+
"optimizer": "adamw_torch",
|
11 |
+
"scheduler": "linear",
|
12 |
+
"weight_decay": 0.0,
|
13 |
+
"max_grad_norm": 1.0,
|
14 |
+
"seed": 42,
|
15 |
+
"train_split": "train",
|
16 |
+
"valid_split": "validation",
|
17 |
+
"logging_steps": -1,
|
18 |
+
"project_name": "classify-google-augment",
|
19 |
+
"auto_find_batch_size": false,
|
20 |
+
"mixed_precision": "fp16",
|
21 |
+
"save_total_limit": 1,
|
22 |
+
"push_to_hub": true,
|
23 |
+
"eval_strategy": "epoch",
|
24 |
+
"image_column": "autotrain_image",
|
25 |
+
"target_column": "autotrain_label",
|
26 |
+
"log": "tensorboard",
|
27 |
+
"early_stopping_patience": 5,
|
28 |
+
"early_stopping_threshold": 0.01
|
29 |
+
}
|