omarelsayeed commited on
Commit
98657c7
·
verified ·
1 Parent(s): bd6795a

Upload LayoutLMv3ForTokenClassification

Browse files
Files changed (2) hide show
  1. config.json +10 -11
  2. model.safetensors +2 -2
config.json CHANGED
@@ -1,18 +1,18 @@
1
  {
2
- "_name_or_path": "microsoft/layoutlmv3-large",
3
  "architectures": [
4
  "LayoutLMv3ForTokenClassification"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
- "bos_token_id": 0,
8
  "classifier_dropout": null,
9
- "coordinate_size": 171,
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": 1024,
16
  "id2label": {
17
  "0": 0,
18
  "1": 1,
@@ -72,7 +72,7 @@
72
  },
73
  "initializer_range": 0.02,
74
  "input_size": 224,
75
- "intermediate_size": 4096,
76
  "label2id": {
77
  "0": 0,
78
  "1": 1,
@@ -136,19 +136,18 @@
136
  "max_rel_2d_pos": 256,
137
  "max_rel_pos": 128,
138
  "model_type": "layoutlmv3",
139
- "num_attention_heads": 16,
140
  "num_channels": 3,
141
- "num_hidden_layers": 24,
142
- "pad_token_id": 1,
143
  "patch_size": 16,
144
  "rel_2d_pos_bins": 64,
145
  "rel_pos_bins": 32,
146
- "second_input_size": 112,
147
- "shape_size": 170,
148
  "text_embed": true,
149
  "torch_dtype": "float32",
150
  "transformers_version": "4.45.1",
151
  "type_vocab_size": 1,
152
  "visual_embed": true,
153
- "vocab_size": 50265
154
  }
 
1
  {
2
+ "_name_or_path": "team-lucid/layoutlmv3-small-ko",
3
  "architectures": [
4
  "LayoutLMv3ForTokenClassification"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 1,
8
  "classifier_dropout": null,
9
+ "coordinate_size": 64,
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": 384,
16
  "id2label": {
17
  "0": 0,
18
  "1": 1,
 
72
  },
73
  "initializer_range": 0.02,
74
  "input_size": 224,
75
+ "intermediate_size": 1536,
76
  "label2id": {
77
  "0": 0,
78
  "1": 1,
 
136
  "max_rel_2d_pos": 256,
137
  "max_rel_pos": 128,
138
  "model_type": "layoutlmv3",
139
+ "num_attention_heads": 6,
140
  "num_channels": 3,
141
+ "num_hidden_layers": 12,
142
+ "pad_token_id": 0,
143
  "patch_size": 16,
144
  "rel_2d_pos_bins": 64,
145
  "rel_pos_bins": 32,
146
+ "shape_size": 64,
 
147
  "text_embed": true,
148
  "torch_dtype": "float32",
149
  "transformers_version": "4.45.1",
150
  "type_vocab_size": 1,
151
  "visual_embed": true,
152
+ "vocab_size": 50560
153
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:423cffb0d7548476d56d6810c33f5594e6c7b923b289228974b72c5c414d6710
3
- size 1428496428
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d11700bde5287ae8b6635e5d83b0386c2257ab1148ef755c0958a7c7fe81060
3
+ size 166874676