Training in progress, step 500
Browse files- .gitignore +1 -0
- config.json +153 -0
- preprocessor_config.json +14 -0
- pytorch_model.bin +3 -0
- runs/Feb19_16-35-01_2375f9efc69a/1676824511.9102595/events.out.tfevents.1676824511.2375f9efc69a.3997.1 +3 -0
- runs/Feb19_16-35-01_2375f9efc69a/events.out.tfevents.1676824511.2375f9efc69a.3997.0 +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +39 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
checkpoint-*/
|
config.json
ADDED
@@ -0,0 +1,153 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/layoutlm-base-uncased",
|
3 |
+
"architectures": [
|
4 |
+
"LayoutLMForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.1,
|
10 |
+
"hidden_size": 768,
|
11 |
+
"id2label": {
|
12 |
+
"0": "O",
|
13 |
+
"1": "B-MENU.NM",
|
14 |
+
"2": "B-MENU.NUM",
|
15 |
+
"3": "B-MENU.UNITPRICE",
|
16 |
+
"4": "B-MENU.CNT",
|
17 |
+
"5": "B-MENU.DISCOUNTPRICE",
|
18 |
+
"6": "B-MENU.PRICE",
|
19 |
+
"7": "B-MENU.ITEMSUBTOTAL",
|
20 |
+
"8": "B-MENU.VATYN",
|
21 |
+
"9": "B-MENU.ETC",
|
22 |
+
"10": "B-MENU.SUB_NM",
|
23 |
+
"11": "B-MENU.SUB_UNITPRICE",
|
24 |
+
"12": "B-MENU.SUB_CNT",
|
25 |
+
"13": "B-MENU.SUB_PRICE",
|
26 |
+
"14": "B-MENU.SUB_ETC",
|
27 |
+
"15": "B-VOID_MENU.NM",
|
28 |
+
"16": "B-VOID_MENU.PRICE",
|
29 |
+
"17": "B-SUB_TOTAL.SUBTOTAL_PRICE",
|
30 |
+
"18": "B-SUB_TOTAL.DISCOUNT_PRICE",
|
31 |
+
"19": "B-SUB_TOTAL.SERVICE_PRICE",
|
32 |
+
"20": "B-SUB_TOTAL.OTHERSVC_PRICE",
|
33 |
+
"21": "B-SUB_TOTAL.TAX_PRICE",
|
34 |
+
"22": "B-SUB_TOTAL.ETC",
|
35 |
+
"23": "B-TOTAL.TOTAL_PRICE",
|
36 |
+
"24": "B-TOTAL.TOTAL_ETC",
|
37 |
+
"25": "B-TOTAL.CASHPRICE",
|
38 |
+
"26": "B-TOTAL.CHANGEPRICE",
|
39 |
+
"27": "B-TOTAL.CREDITCARDPRICE",
|
40 |
+
"28": "B-TOTAL.EMONEYPRICE",
|
41 |
+
"29": "B-TOTAL.MENUTYPE_CNT",
|
42 |
+
"30": "B-TOTAL.MENUQTY_CNT",
|
43 |
+
"31": "I-MENU.NM",
|
44 |
+
"32": "I-MENU.NUM",
|
45 |
+
"33": "I-MENU.UNITPRICE",
|
46 |
+
"34": "I-MENU.CNT",
|
47 |
+
"35": "I-MENU.DISCOUNTPRICE",
|
48 |
+
"36": "I-MENU.PRICE",
|
49 |
+
"37": "I-MENU.ITEMSUBTOTAL",
|
50 |
+
"38": "I-MENU.VATYN",
|
51 |
+
"39": "I-MENU.ETC",
|
52 |
+
"40": "I-MENU.SUB_NM",
|
53 |
+
"41": "I-MENU.SUB_UNITPRICE",
|
54 |
+
"42": "I-MENU.SUB_CNT",
|
55 |
+
"43": "I-MENU.SUB_PRICE",
|
56 |
+
"44": "I-MENU.SUB_ETC",
|
57 |
+
"45": "I-VOID_MENU.NM",
|
58 |
+
"46": "I-VOID_MENU.PRICE",
|
59 |
+
"47": "I-SUB_TOTAL.SUBTOTAL_PRICE",
|
60 |
+
"48": "I-SUB_TOTAL.DISCOUNT_PRICE",
|
61 |
+
"49": "I-SUB_TOTAL.SERVICE_PRICE",
|
62 |
+
"50": "I-SUB_TOTAL.OTHERSVC_PRICE",
|
63 |
+
"51": "I-SUB_TOTAL.TAX_PRICE",
|
64 |
+
"52": "I-SUB_TOTAL.ETC",
|
65 |
+
"53": "I-TOTAL.TOTAL_PRICE",
|
66 |
+
"54": "I-TOTAL.TOTAL_ETC",
|
67 |
+
"55": "I-TOTAL.CASHPRICE",
|
68 |
+
"56": "I-TOTAL.CHANGEPRICE",
|
69 |
+
"57": "I-TOTAL.CREDITCARDPRICE",
|
70 |
+
"58": "I-TOTAL.EMONEYPRICE",
|
71 |
+
"59": "I-TOTAL.MENUTYPE_CNT",
|
72 |
+
"60": "I-TOTAL.MENUQTY_CNT"
|
73 |
+
},
|
74 |
+
"initializer_range": 0.02,
|
75 |
+
"intermediate_size": 3072,
|
76 |
+
"label2id": {
|
77 |
+
"B-MENU.CNT": 4,
|
78 |
+
"B-MENU.DISCOUNTPRICE": 5,
|
79 |
+
"B-MENU.ETC": 9,
|
80 |
+
"B-MENU.ITEMSUBTOTAL": 7,
|
81 |
+
"B-MENU.NM": 1,
|
82 |
+
"B-MENU.NUM": 2,
|
83 |
+
"B-MENU.PRICE": 6,
|
84 |
+
"B-MENU.SUB_CNT": 12,
|
85 |
+
"B-MENU.SUB_ETC": 14,
|
86 |
+
"B-MENU.SUB_NM": 10,
|
87 |
+
"B-MENU.SUB_PRICE": 13,
|
88 |
+
"B-MENU.SUB_UNITPRICE": 11,
|
89 |
+
"B-MENU.UNITPRICE": 3,
|
90 |
+
"B-MENU.VATYN": 8,
|
91 |
+
"B-SUB_TOTAL.DISCOUNT_PRICE": 18,
|
92 |
+
"B-SUB_TOTAL.ETC": 22,
|
93 |
+
"B-SUB_TOTAL.OTHERSVC_PRICE": 20,
|
94 |
+
"B-SUB_TOTAL.SERVICE_PRICE": 19,
|
95 |
+
"B-SUB_TOTAL.SUBTOTAL_PRICE": 17,
|
96 |
+
"B-SUB_TOTAL.TAX_PRICE": 21,
|
97 |
+
"B-TOTAL.CASHPRICE": 25,
|
98 |
+
"B-TOTAL.CHANGEPRICE": 26,
|
99 |
+
"B-TOTAL.CREDITCARDPRICE": 27,
|
100 |
+
"B-TOTAL.EMONEYPRICE": 28,
|
101 |
+
"B-TOTAL.MENUQTY_CNT": 30,
|
102 |
+
"B-TOTAL.MENUTYPE_CNT": 29,
|
103 |
+
"B-TOTAL.TOTAL_ETC": 24,
|
104 |
+
"B-TOTAL.TOTAL_PRICE": 23,
|
105 |
+
"B-VOID_MENU.NM": 15,
|
106 |
+
"B-VOID_MENU.PRICE": 16,
|
107 |
+
"I-MENU.CNT": 34,
|
108 |
+
"I-MENU.DISCOUNTPRICE": 35,
|
109 |
+
"I-MENU.ETC": 39,
|
110 |
+
"I-MENU.ITEMSUBTOTAL": 37,
|
111 |
+
"I-MENU.NM": 31,
|
112 |
+
"I-MENU.NUM": 32,
|
113 |
+
"I-MENU.PRICE": 36,
|
114 |
+
"I-MENU.SUB_CNT": 42,
|
115 |
+
"I-MENU.SUB_ETC": 44,
|
116 |
+
"I-MENU.SUB_NM": 40,
|
117 |
+
"I-MENU.SUB_PRICE": 43,
|
118 |
+
"I-MENU.SUB_UNITPRICE": 41,
|
119 |
+
"I-MENU.UNITPRICE": 33,
|
120 |
+
"I-MENU.VATYN": 38,
|
121 |
+
"I-SUB_TOTAL.DISCOUNT_PRICE": 48,
|
122 |
+
"I-SUB_TOTAL.ETC": 52,
|
123 |
+
"I-SUB_TOTAL.OTHERSVC_PRICE": 50,
|
124 |
+
"I-SUB_TOTAL.SERVICE_PRICE": 49,
|
125 |
+
"I-SUB_TOTAL.SUBTOTAL_PRICE": 47,
|
126 |
+
"I-SUB_TOTAL.TAX_PRICE": 51,
|
127 |
+
"I-TOTAL.CASHPRICE": 55,
|
128 |
+
"I-TOTAL.CHANGEPRICE": 56,
|
129 |
+
"I-TOTAL.CREDITCARDPRICE": 57,
|
130 |
+
"I-TOTAL.EMONEYPRICE": 58,
|
131 |
+
"I-TOTAL.MENUQTY_CNT": 60,
|
132 |
+
"I-TOTAL.MENUTYPE_CNT": 59,
|
133 |
+
"I-TOTAL.TOTAL_ETC": 54,
|
134 |
+
"I-TOTAL.TOTAL_PRICE": 53,
|
135 |
+
"I-VOID_MENU.NM": 45,
|
136 |
+
"I-VOID_MENU.PRICE": 46,
|
137 |
+
"O": 0
|
138 |
+
},
|
139 |
+
"layer_norm_eps": 1e-12,
|
140 |
+
"max_2d_position_embeddings": 1024,
|
141 |
+
"max_position_embeddings": 512,
|
142 |
+
"model_type": "layoutlm",
|
143 |
+
"num_attention_heads": 12,
|
144 |
+
"num_hidden_layers": 12,
|
145 |
+
"output_past": true,
|
146 |
+
"pad_token_id": 0,
|
147 |
+
"position_embedding_type": "absolute",
|
148 |
+
"torch_dtype": "float32",
|
149 |
+
"transformers_version": "4.26.1",
|
150 |
+
"type_vocab_size": 2,
|
151 |
+
"use_cache": true,
|
152 |
+
"vocab_size": 30522
|
153 |
+
}
|
preprocessor_config.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"apply_ocr": false,
|
3 |
+
"do_resize": true,
|
4 |
+
"feature_extractor_type": "LayoutLMv2FeatureExtractor",
|
5 |
+
"image_processor_type": "LayoutLMv2ImageProcessor",
|
6 |
+
"ocr_lang": null,
|
7 |
+
"processor_class": "LayoutLMv2Processor",
|
8 |
+
"resample": 2,
|
9 |
+
"size": {
|
10 |
+
"height": 224,
|
11 |
+
"width": 224
|
12 |
+
},
|
13 |
+
"tesseract_config": ""
|
14 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2f0daf54f3c5e2cd8e2e67531340c644d1e097e7da50e528be623e6b9361d70d
|
3 |
+
size 450774469
|
runs/Feb19_16-35-01_2375f9efc69a/1676824511.9102595/events.out.tfevents.1676824511.2375f9efc69a.3997.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:39f22c9ffd2142b2c937164737c32d805a7ce40cc3ee57a20036f5355f01f574
|
3 |
+
size 5779
|
runs/Feb19_16-35-01_2375f9efc69a/events.out.tfevents.1676824511.2375f9efc69a.3997.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7a184e1ec7c7b6a9f31e98e24af13feec1af0f3a96bf709388642416e9c6996b
|
3 |
+
size 8696
|
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,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": null,
|
3 |
+
"apply_ocr": false,
|
4 |
+
"cls_token": "[CLS]",
|
5 |
+
"cls_token_box": [
|
6 |
+
0,
|
7 |
+
0,
|
8 |
+
0,
|
9 |
+
0
|
10 |
+
],
|
11 |
+
"do_basic_tokenize": true,
|
12 |
+
"do_lower_case": true,
|
13 |
+
"mask_token": "[MASK]",
|
14 |
+
"model_max_length": 512,
|
15 |
+
"name_or_path": "microsoft/layoutlmv2-base-uncased",
|
16 |
+
"never_split": null,
|
17 |
+
"only_label_first_subword": true,
|
18 |
+
"pad_token": "[PAD]",
|
19 |
+
"pad_token_box": [
|
20 |
+
0,
|
21 |
+
0,
|
22 |
+
0,
|
23 |
+
0
|
24 |
+
],
|
25 |
+
"pad_token_label": -100,
|
26 |
+
"processor_class": "LayoutLMv2Processor",
|
27 |
+
"sep_token": "[SEP]",
|
28 |
+
"sep_token_box": [
|
29 |
+
1000,
|
30 |
+
1000,
|
31 |
+
1000,
|
32 |
+
1000
|
33 |
+
],
|
34 |
+
"special_tokens_map_file": null,
|
35 |
+
"strip_accents": null,
|
36 |
+
"tokenize_chinese_chars": true,
|
37 |
+
"tokenizer_class": "LayoutLMv2Tokenizer",
|
38 |
+
"unk_token": "[UNK]"
|
39 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dc583f4068c8545afe7c69063172a0364b578509abdd6945ecabdb5d0256b622
|
3 |
+
size 3579
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|