ghaith1997 commited on
Commit
9ad29bf
1 Parent(s): 4943124

Upload LayoutLMv3ForTokenClassification

Browse files
Files changed (2) hide show
  1. config.json +60 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "client",
18
+ "1": "date",
19
+ "2": "reference",
20
+ "3": "quantity",
21
+ "4": "RLX num",
22
+ "5": "Lot",
23
+ "6": "OA",
24
+ "7": "other"
25
+ },
26
+ "initializer_range": 0.02,
27
+ "input_size": 224,
28
+ "intermediate_size": 3072,
29
+ "label2id": {
30
+ "Lot": 5,
31
+ "OA": 6,
32
+ "RLX num": 4,
33
+ "client": 0,
34
+ "date": 1,
35
+ "other": 7,
36
+ "quantity": 3,
37
+ "reference": 2
38
+ },
39
+ "layer_norm_eps": 1e-05,
40
+ "max_2d_position_embeddings": 1024,
41
+ "max_position_embeddings": 514,
42
+ "max_rel_2d_pos": 256,
43
+ "max_rel_pos": 128,
44
+ "model_type": "layoutlmv3",
45
+ "num_attention_heads": 12,
46
+ "num_channels": 3,
47
+ "num_hidden_layers": 12,
48
+ "pad_token_id": 1,
49
+ "patch_size": 16,
50
+ "rel_2d_pos_bins": 64,
51
+ "rel_pos_bins": 32,
52
+ "second_input_size": 112,
53
+ "shape_size": 128,
54
+ "text_embed": true,
55
+ "torch_dtype": "float32",
56
+ "transformers_version": "4.27.4",
57
+ "type_vocab_size": 1,
58
+ "visual_embed": true,
59
+ "vocab_size": 50265
60
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a6995ca77fc7241516741e2e1ce0c58d1897c7bb3402509f4e3a6cc03b13366
3
+ size 501410857