Resi commited on
Commit
ca410c1
1 Parent(s): c66c23c

Upload LayoutLMv3ForTokenClassification

Browse files
Files changed (2) hide show
  1. config.json +54 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/layoutlmv3-base",
3
+ "architectures": [
4
+ "LayoutLMv3ForTokenClassification"
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": "Ersteller",
18
+ "1": "Leitungsanlage",
19
+ "2": "Dokumenttyp",
20
+ "3": "Mast",
21
+ "4": "Massstab"
22
+ },
23
+ "initializer_range": 0.02,
24
+ "input_size": 224,
25
+ "intermediate_size": 3072,
26
+ "label2id": {
27
+ "Dokumenttyp": 2,
28
+ "Ersteller": 0,
29
+ "Leitungsanlage": 1,
30
+ "Massstab": 4,
31
+ "Mast": 3
32
+ },
33
+ "layer_norm_eps": 1e-05,
34
+ "max_2d_position_embeddings": 1024,
35
+ "max_position_embeddings": 514,
36
+ "max_rel_2d_pos": 256,
37
+ "max_rel_pos": 128,
38
+ "model_type": "layoutlmv3",
39
+ "num_attention_heads": 12,
40
+ "num_channels": 3,
41
+ "num_hidden_layers": 12,
42
+ "pad_token_id": 1,
43
+ "patch_size": 16,
44
+ "rel_2d_pos_bins": 64,
45
+ "rel_pos_bins": 32,
46
+ "second_input_size": 112,
47
+ "shape_size": 128,
48
+ "text_embed": true,
49
+ "torch_dtype": "float32",
50
+ "transformers_version": "4.41.0.dev0",
51
+ "type_vocab_size": 1,
52
+ "visual_embed": true,
53
+ "vocab_size": 50265
54
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d9b1e77c91f92120a1d2f4b8eaacf608b3596b31424ae5254e0aab6db7977752
3
+ size 501349380