cuongdz01 commited on
Commit
d9224b4
1 Parent(s): 0a53b60

Upload 8 files

Browse files
config.json ADDED
@@ -0,0 +1,172 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/workspaces/cuongbm7/GraphLayoutLM/pretrained/graphlayoutlm-base",
3
+ "architectures": [
4
+ "GraphLayoutLMForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "coordinate_size": 128,
10
+ "device": "cuda",
11
+ "discrete_vae_type": "dall-e",
12
+ "discrete_vae_weight_path": "",
13
+ "eos_token_id": 2,
14
+ "finetuning_task": "ner",
15
+ "has_relative_attention_bias": true,
16
+ "has_spatial_attention_bias": true,
17
+ "hidden_act": "gelu",
18
+ "hidden_dropout_prob": 0.1,
19
+ "hidden_size": 768,
20
+ "id2label": {
21
+ "0": "LABEL_0",
22
+ "1": "LABEL_1",
23
+ "2": "LABEL_2",
24
+ "3": "LABEL_3",
25
+ "4": "LABEL_4",
26
+ "5": "LABEL_5",
27
+ "6": "LABEL_6",
28
+ "7": "LABEL_7",
29
+ "8": "LABEL_8",
30
+ "9": "LABEL_9",
31
+ "10": "LABEL_10",
32
+ "11": "LABEL_11",
33
+ "12": "LABEL_12",
34
+ "13": "LABEL_13",
35
+ "14": "LABEL_14",
36
+ "15": "LABEL_15",
37
+ "16": "LABEL_16",
38
+ "17": "LABEL_17",
39
+ "18": "LABEL_18",
40
+ "19": "LABEL_19",
41
+ "20": "LABEL_20",
42
+ "21": "LABEL_21",
43
+ "22": "LABEL_22",
44
+ "23": "LABEL_23",
45
+ "24": "LABEL_24",
46
+ "25": "LABEL_25",
47
+ "26": "LABEL_26",
48
+ "27": "LABEL_27",
49
+ "28": "LABEL_28",
50
+ "29": "LABEL_29",
51
+ "30": "LABEL_30",
52
+ "31": "LABEL_31",
53
+ "32": "LABEL_32",
54
+ "33": "LABEL_33",
55
+ "34": "LABEL_34",
56
+ "35": "LABEL_35",
57
+ "36": "LABEL_36",
58
+ "37": "LABEL_37",
59
+ "38": "LABEL_38",
60
+ "39": "LABEL_39",
61
+ "40": "LABEL_40",
62
+ "41": "LABEL_41",
63
+ "42": "LABEL_42",
64
+ "43": "LABEL_43",
65
+ "44": "LABEL_44",
66
+ "45": "LABEL_45",
67
+ "46": "LABEL_46",
68
+ "47": "LABEL_47",
69
+ "48": "LABEL_48",
70
+ "49": "LABEL_49",
71
+ "50": "LABEL_50",
72
+ "51": "LABEL_51",
73
+ "52": "LABEL_52",
74
+ "53": "LABEL_53",
75
+ "54": "LABEL_54",
76
+ "55": "LABEL_55",
77
+ "56": "LABEL_56",
78
+ "57": "LABEL_57",
79
+ "58": "LABEL_58",
80
+ "59": "LABEL_59",
81
+ "60": "LABEL_60"
82
+ },
83
+ "initializer_range": 0.02,
84
+ "input_size": 224,
85
+ "intermediate_size": 3072,
86
+ "label2id": {
87
+ "LABEL_0": 0,
88
+ "LABEL_1": 1,
89
+ "LABEL_10": 10,
90
+ "LABEL_11": 11,
91
+ "LABEL_12": 12,
92
+ "LABEL_13": 13,
93
+ "LABEL_14": 14,
94
+ "LABEL_15": 15,
95
+ "LABEL_16": 16,
96
+ "LABEL_17": 17,
97
+ "LABEL_18": 18,
98
+ "LABEL_19": 19,
99
+ "LABEL_2": 2,
100
+ "LABEL_20": 20,
101
+ "LABEL_21": 21,
102
+ "LABEL_22": 22,
103
+ "LABEL_23": 23,
104
+ "LABEL_24": 24,
105
+ "LABEL_25": 25,
106
+ "LABEL_26": 26,
107
+ "LABEL_27": 27,
108
+ "LABEL_28": 28,
109
+ "LABEL_29": 29,
110
+ "LABEL_3": 3,
111
+ "LABEL_30": 30,
112
+ "LABEL_31": 31,
113
+ "LABEL_32": 32,
114
+ "LABEL_33": 33,
115
+ "LABEL_34": 34,
116
+ "LABEL_35": 35,
117
+ "LABEL_36": 36,
118
+ "LABEL_37": 37,
119
+ "LABEL_38": 38,
120
+ "LABEL_39": 39,
121
+ "LABEL_4": 4,
122
+ "LABEL_40": 40,
123
+ "LABEL_41": 41,
124
+ "LABEL_42": 42,
125
+ "LABEL_43": 43,
126
+ "LABEL_44": 44,
127
+ "LABEL_45": 45,
128
+ "LABEL_46": 46,
129
+ "LABEL_47": 47,
130
+ "LABEL_48": 48,
131
+ "LABEL_49": 49,
132
+ "LABEL_5": 5,
133
+ "LABEL_50": 50,
134
+ "LABEL_51": 51,
135
+ "LABEL_52": 52,
136
+ "LABEL_53": 53,
137
+ "LABEL_54": 54,
138
+ "LABEL_55": 55,
139
+ "LABEL_56": 56,
140
+ "LABEL_57": 57,
141
+ "LABEL_58": 58,
142
+ "LABEL_59": 59,
143
+ "LABEL_6": 6,
144
+ "LABEL_60": 60,
145
+ "LABEL_7": 7,
146
+ "LABEL_8": 8,
147
+ "LABEL_9": 9
148
+ },
149
+ "layer_norm_eps": 1e-05,
150
+ "max_2d_position_embeddings": 1024,
151
+ "max_position_embeddings": 514,
152
+ "max_rel_2d_pos": 256,
153
+ "max_rel_pos": 128,
154
+ "mim": false,
155
+ "model_type": "graphlayoutlm",
156
+ "num_attention_heads": 12,
157
+ "num_channels": 3,
158
+ "num_hidden_layers": 12,
159
+ "pad_token_id": 1,
160
+ "patch_size": 16,
161
+ "rel_2d_pos_bins": 64,
162
+ "rel_pos_bins": 32,
163
+ "second_input_size": 112,
164
+ "shape_size": 128,
165
+ "text_embed": true,
166
+ "torch_dtype": "float32",
167
+ "transformers_version": "4.28.1",
168
+ "type_vocab_size": 1,
169
+ "visual_embed": true,
170
+ "vocab_size": 50265,
171
+ "wpa_task": false
172
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ba9dd554d657f97a6cb380ef39b7c698a8c2ff9319430ba7db258c2e049fa06e
3
+ size 513396923
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,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": true,
3
+ "bos_token": {
4
+ "__type": "AddedToken",
5
+ "content": "<s>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false
10
+ },
11
+ "clean_up_tokenization_spaces": true,
12
+ "cls_token": {
13
+ "__type": "AddedToken",
14
+ "content": "<s>",
15
+ "lstrip": false,
16
+ "normalized": true,
17
+ "rstrip": false,
18
+ "single_word": false
19
+ },
20
+ "cls_token_box": [
21
+ 0,
22
+ 0,
23
+ 0,
24
+ 0
25
+ ],
26
+ "eos_token": {
27
+ "__type": "AddedToken",
28
+ "content": "</s>",
29
+ "lstrip": false,
30
+ "normalized": true,
31
+ "rstrip": false,
32
+ "single_word": false
33
+ },
34
+ "errors": "replace",
35
+ "mask_token": {
36
+ "__type": "AddedToken",
37
+ "content": "<mask>",
38
+ "lstrip": true,
39
+ "normalized": true,
40
+ "rstrip": false,
41
+ "single_word": false
42
+ },
43
+ "model_max_length": 512,
44
+ "only_label_first_subword": true,
45
+ "pad_token": {
46
+ "__type": "AddedToken",
47
+ "content": "<pad>",
48
+ "lstrip": false,
49
+ "normalized": true,
50
+ "rstrip": false,
51
+ "single_word": false
52
+ },
53
+ "pad_token_box": [
54
+ 0,
55
+ 0,
56
+ 0,
57
+ 0
58
+ ],
59
+ "pad_token_label": -100,
60
+ "sep_token": {
61
+ "__type": "AddedToken",
62
+ "content": "</s>",
63
+ "lstrip": false,
64
+ "normalized": true,
65
+ "rstrip": false,
66
+ "single_word": false
67
+ },
68
+ "sep_token_box": [
69
+ 0,
70
+ 0,
71
+ 0,
72
+ 0
73
+ ],
74
+ "tokenizer_class": "GraphLayoutLMTokenizer",
75
+ "trim_offsets": true,
76
+ "unk_token": {
77
+ "__type": "AddedToken",
78
+ "content": "<unk>",
79
+ "lstrip": false,
80
+ "normalized": true,
81
+ "rstrip": false,
82
+ "single_word": false
83
+ },
84
+ "use_fast": true
85
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5fe14ec37171a0f13901e316e468ce337553c911e02d98596677b22a07da655d
3
+ size 3631
vocab.json ADDED
The diff for this file is too large to render. See raw diff