aniket1997
commited on
Commit
•
c68c124
1
Parent(s):
07e67fe
Training in progress, epoch 1
Browse files- config.json +203 -0
- merges.txt +0 -0
- model.safetensors +3 -0
- special_tokens_map.json +51 -0
- tokenizer.json +0 -0
- tokenizer_config.json +77 -0
- training_args.bin +3 -0
- vocab.json +0 -0
config.json
ADDED
@@ -0,0 +1,203 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/layoutlmv3-base",
|
3 |
+
"architectures": [
|
4 |
+
"LayoutLMv3ForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"coordinate_size": 128,
|
10 |
+
"eos_token_id": 2,
|
11 |
+
"has_relative_attention_bias": true,
|
12 |
+
"has_spatial_attention_bias": true,
|
13 |
+
"hidden_act": "gelu",
|
14 |
+
"hidden_dropout_prob": 0.1,
|
15 |
+
"hidden_size": 768,
|
16 |
+
"id2label": {
|
17 |
+
"0": "LABEL_0",
|
18 |
+
"1": "LABEL_1",
|
19 |
+
"2": "LABEL_2",
|
20 |
+
"3": "LABEL_3",
|
21 |
+
"4": "LABEL_4",
|
22 |
+
"5": "LABEL_5",
|
23 |
+
"6": "LABEL_6",
|
24 |
+
"7": "LABEL_7",
|
25 |
+
"8": "LABEL_8",
|
26 |
+
"9": "LABEL_9",
|
27 |
+
"10": "LABEL_10",
|
28 |
+
"11": "LABEL_11",
|
29 |
+
"12": "LABEL_12",
|
30 |
+
"13": "LABEL_13",
|
31 |
+
"14": "LABEL_14",
|
32 |
+
"15": "LABEL_15",
|
33 |
+
"16": "LABEL_16",
|
34 |
+
"17": "LABEL_17",
|
35 |
+
"18": "LABEL_18",
|
36 |
+
"19": "LABEL_19",
|
37 |
+
"20": "LABEL_20",
|
38 |
+
"21": "LABEL_21",
|
39 |
+
"22": "LABEL_22",
|
40 |
+
"23": "LABEL_23",
|
41 |
+
"24": "LABEL_24",
|
42 |
+
"25": "LABEL_25",
|
43 |
+
"26": "LABEL_26",
|
44 |
+
"27": "LABEL_27",
|
45 |
+
"28": "LABEL_28",
|
46 |
+
"29": "LABEL_29",
|
47 |
+
"30": "LABEL_30",
|
48 |
+
"31": "LABEL_31",
|
49 |
+
"32": "LABEL_32",
|
50 |
+
"33": "LABEL_33",
|
51 |
+
"34": "LABEL_34",
|
52 |
+
"35": "LABEL_35",
|
53 |
+
"36": "LABEL_36",
|
54 |
+
"37": "LABEL_37",
|
55 |
+
"38": "LABEL_38",
|
56 |
+
"39": "LABEL_39",
|
57 |
+
"40": "LABEL_40",
|
58 |
+
"41": "LABEL_41",
|
59 |
+
"42": "LABEL_42",
|
60 |
+
"43": "LABEL_43",
|
61 |
+
"44": "LABEL_44",
|
62 |
+
"45": "LABEL_45",
|
63 |
+
"46": "LABEL_46",
|
64 |
+
"47": "LABEL_47",
|
65 |
+
"48": "LABEL_48",
|
66 |
+
"49": "LABEL_49",
|
67 |
+
"50": "LABEL_50",
|
68 |
+
"51": "LABEL_51",
|
69 |
+
"52": "LABEL_52",
|
70 |
+
"53": "LABEL_53",
|
71 |
+
"54": "LABEL_54",
|
72 |
+
"55": "LABEL_55",
|
73 |
+
"56": "LABEL_56",
|
74 |
+
"57": "LABEL_57",
|
75 |
+
"58": "LABEL_58",
|
76 |
+
"59": "LABEL_59",
|
77 |
+
"60": "LABEL_60",
|
78 |
+
"61": "LABEL_61",
|
79 |
+
"62": "LABEL_62",
|
80 |
+
"63": "LABEL_63",
|
81 |
+
"64": "LABEL_64",
|
82 |
+
"65": "LABEL_65",
|
83 |
+
"66": "LABEL_66",
|
84 |
+
"67": "LABEL_67",
|
85 |
+
"68": "LABEL_68",
|
86 |
+
"69": "LABEL_69",
|
87 |
+
"70": "LABEL_70",
|
88 |
+
"71": "LABEL_71",
|
89 |
+
"72": "LABEL_72",
|
90 |
+
"73": "LABEL_73",
|
91 |
+
"74": "LABEL_74",
|
92 |
+
"75": "LABEL_75",
|
93 |
+
"76": "LABEL_76",
|
94 |
+
"77": "LABEL_77",
|
95 |
+
"78": "LABEL_78"
|
96 |
+
},
|
97 |
+
"initializer_range": 0.02,
|
98 |
+
"input_size": 224,
|
99 |
+
"intermediate_size": 3072,
|
100 |
+
"label2id": {
|
101 |
+
"LABEL_0": 0,
|
102 |
+
"LABEL_1": 1,
|
103 |
+
"LABEL_10": 10,
|
104 |
+
"LABEL_11": 11,
|
105 |
+
"LABEL_12": 12,
|
106 |
+
"LABEL_13": 13,
|
107 |
+
"LABEL_14": 14,
|
108 |
+
"LABEL_15": 15,
|
109 |
+
"LABEL_16": 16,
|
110 |
+
"LABEL_17": 17,
|
111 |
+
"LABEL_18": 18,
|
112 |
+
"LABEL_19": 19,
|
113 |
+
"LABEL_2": 2,
|
114 |
+
"LABEL_20": 20,
|
115 |
+
"LABEL_21": 21,
|
116 |
+
"LABEL_22": 22,
|
117 |
+
"LABEL_23": 23,
|
118 |
+
"LABEL_24": 24,
|
119 |
+
"LABEL_25": 25,
|
120 |
+
"LABEL_26": 26,
|
121 |
+
"LABEL_27": 27,
|
122 |
+
"LABEL_28": 28,
|
123 |
+
"LABEL_29": 29,
|
124 |
+
"LABEL_3": 3,
|
125 |
+
"LABEL_30": 30,
|
126 |
+
"LABEL_31": 31,
|
127 |
+
"LABEL_32": 32,
|
128 |
+
"LABEL_33": 33,
|
129 |
+
"LABEL_34": 34,
|
130 |
+
"LABEL_35": 35,
|
131 |
+
"LABEL_36": 36,
|
132 |
+
"LABEL_37": 37,
|
133 |
+
"LABEL_38": 38,
|
134 |
+
"LABEL_39": 39,
|
135 |
+
"LABEL_4": 4,
|
136 |
+
"LABEL_40": 40,
|
137 |
+
"LABEL_41": 41,
|
138 |
+
"LABEL_42": 42,
|
139 |
+
"LABEL_43": 43,
|
140 |
+
"LABEL_44": 44,
|
141 |
+
"LABEL_45": 45,
|
142 |
+
"LABEL_46": 46,
|
143 |
+
"LABEL_47": 47,
|
144 |
+
"LABEL_48": 48,
|
145 |
+
"LABEL_49": 49,
|
146 |
+
"LABEL_5": 5,
|
147 |
+
"LABEL_50": 50,
|
148 |
+
"LABEL_51": 51,
|
149 |
+
"LABEL_52": 52,
|
150 |
+
"LABEL_53": 53,
|
151 |
+
"LABEL_54": 54,
|
152 |
+
"LABEL_55": 55,
|
153 |
+
"LABEL_56": 56,
|
154 |
+
"LABEL_57": 57,
|
155 |
+
"LABEL_58": 58,
|
156 |
+
"LABEL_59": 59,
|
157 |
+
"LABEL_6": 6,
|
158 |
+
"LABEL_60": 60,
|
159 |
+
"LABEL_61": 61,
|
160 |
+
"LABEL_62": 62,
|
161 |
+
"LABEL_63": 63,
|
162 |
+
"LABEL_64": 64,
|
163 |
+
"LABEL_65": 65,
|
164 |
+
"LABEL_66": 66,
|
165 |
+
"LABEL_67": 67,
|
166 |
+
"LABEL_68": 68,
|
167 |
+
"LABEL_69": 69,
|
168 |
+
"LABEL_7": 7,
|
169 |
+
"LABEL_70": 70,
|
170 |
+
"LABEL_71": 71,
|
171 |
+
"LABEL_72": 72,
|
172 |
+
"LABEL_73": 73,
|
173 |
+
"LABEL_74": 74,
|
174 |
+
"LABEL_75": 75,
|
175 |
+
"LABEL_76": 76,
|
176 |
+
"LABEL_77": 77,
|
177 |
+
"LABEL_78": 78,
|
178 |
+
"LABEL_8": 8,
|
179 |
+
"LABEL_9": 9
|
180 |
+
},
|
181 |
+
"layer_norm_eps": 1e-05,
|
182 |
+
"max_2d_position_embeddings": 1024,
|
183 |
+
"max_position_embeddings": 514,
|
184 |
+
"max_rel_2d_pos": 256,
|
185 |
+
"max_rel_pos": 128,
|
186 |
+
"model_type": "layoutlmv3",
|
187 |
+
"num_attention_heads": 12,
|
188 |
+
"num_channels": 3,
|
189 |
+
"num_hidden_layers": 12,
|
190 |
+
"pad_token_id": 1,
|
191 |
+
"patch_size": 16,
|
192 |
+
"problem_type": "single_label_classification",
|
193 |
+
"rel_2d_pos_bins": 64,
|
194 |
+
"rel_pos_bins": 32,
|
195 |
+
"second_input_size": 112,
|
196 |
+
"shape_size": 128,
|
197 |
+
"text_embed": true,
|
198 |
+
"torch_dtype": "float32",
|
199 |
+
"transformers_version": "4.45.1",
|
200 |
+
"type_vocab_size": 1,
|
201 |
+
"visual_embed": true,
|
202 |
+
"vocab_size": 50265
|
203 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:43ad755db4cc459a127fba9a9255873be67b548499f829deb327e5b2da55749b
|
3 |
+
size 503939604
|
special_tokens_map.json
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": true,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"cls_token": {
|
10 |
+
"content": "<s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": true,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"eos_token": {
|
17 |
+
"content": "</s>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": true,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"mask_token": {
|
24 |
+
"content": "<mask>",
|
25 |
+
"lstrip": true,
|
26 |
+
"normalized": true,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
},
|
30 |
+
"pad_token": {
|
31 |
+
"content": "<pad>",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": true,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false
|
36 |
+
},
|
37 |
+
"sep_token": {
|
38 |
+
"content": "</s>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": true,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false
|
43 |
+
},
|
44 |
+
"unk_token": {
|
45 |
+
"content": "<unk>",
|
46 |
+
"lstrip": false,
|
47 |
+
"normalized": true,
|
48 |
+
"rstrip": false,
|
49 |
+
"single_word": false
|
50 |
+
}
|
51 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": true,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"0": {
|
5 |
+
"content": "<s>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": true,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
},
|
12 |
+
"1": {
|
13 |
+
"content": "<pad>",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": true,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false,
|
18 |
+
"special": true
|
19 |
+
},
|
20 |
+
"2": {
|
21 |
+
"content": "</s>",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": true,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false,
|
26 |
+
"special": true
|
27 |
+
},
|
28 |
+
"3": {
|
29 |
+
"content": "<unk>",
|
30 |
+
"lstrip": false,
|
31 |
+
"normalized": true,
|
32 |
+
"rstrip": false,
|
33 |
+
"single_word": false,
|
34 |
+
"special": true
|
35 |
+
},
|
36 |
+
"50264": {
|
37 |
+
"content": "<mask>",
|
38 |
+
"lstrip": true,
|
39 |
+
"normalized": true,
|
40 |
+
"rstrip": false,
|
41 |
+
"single_word": false,
|
42 |
+
"special": true
|
43 |
+
}
|
44 |
+
},
|
45 |
+
"bos_token": "<s>",
|
46 |
+
"clean_up_tokenization_spaces": false,
|
47 |
+
"cls_token": "<s>",
|
48 |
+
"cls_token_box": [
|
49 |
+
0,
|
50 |
+
0,
|
51 |
+
0,
|
52 |
+
0
|
53 |
+
],
|
54 |
+
"eos_token": "</s>",
|
55 |
+
"errors": "replace",
|
56 |
+
"mask_token": "<mask>",
|
57 |
+
"model_max_length": 512,
|
58 |
+
"only_label_first_subword": true,
|
59 |
+
"pad_token": "<pad>",
|
60 |
+
"pad_token_box": [
|
61 |
+
0,
|
62 |
+
0,
|
63 |
+
0,
|
64 |
+
0
|
65 |
+
],
|
66 |
+
"pad_token_label": -100,
|
67 |
+
"sep_token": "</s>",
|
68 |
+
"sep_token_box": [
|
69 |
+
0,
|
70 |
+
0,
|
71 |
+
0,
|
72 |
+
0
|
73 |
+
],
|
74 |
+
"tokenizer_class": "LayoutLMv3Tokenizer",
|
75 |
+
"trim_offsets": true,
|
76 |
+
"unk_token": "<unk>"
|
77 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f9c5f9acbed0561cc6e90dd1197b4809e38826bca9ef09d19ed8310a081a50c0
|
3 |
+
size 5624
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|