yassin99 commited on
Commit
88025aa
·
1 Parent(s): 3e0993c

Upload LayoutLMForTokenClassification

Browse files
Files changed (2) hide show
  1. config.json +44 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/content/layoutlmv1-2/checkpoint-2000",
3
+ "architectures": [
4
+ "LayoutLMForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "hidden_act": "gelu",
8
+ "hidden_dropout_prob": 0.1,
9
+ "hidden_size": 768,
10
+ "id2label": {
11
+ "0": "date-of-issue",
12
+ "1": "issuing-authority",
13
+ "2": "license-plate-number",
14
+ "3": "model-of-vehicle",
15
+ "4": "other",
16
+ "5": "owner",
17
+ "6": "vehicle-color"
18
+ },
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 3072,
21
+ "label2id": {
22
+ "date-of-issue": 0,
23
+ "issuing-authority": 1,
24
+ "license-plate-number": 2,
25
+ "model-of-vehicle": 3,
26
+ "other": 4,
27
+ "owner": 5,
28
+ "vehicle-color": 6
29
+ },
30
+ "layer_norm_eps": 1e-12,
31
+ "max_2d_position_embeddings": 1024,
32
+ "max_position_embeddings": 512,
33
+ "model_type": "layoutlm",
34
+ "num_attention_heads": 12,
35
+ "num_hidden_layers": 12,
36
+ "output_past": true,
37
+ "pad_token_id": 0,
38
+ "position_embedding_type": "absolute",
39
+ "torch_dtype": "float32",
40
+ "transformers_version": "4.30.2",
41
+ "type_vocab_size": 2,
42
+ "use_cache": true,
43
+ "vocab_size": 30522
44
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1b2da7775e9f45ed96d65c6a2455396a8e80fff375dcb7e3faa1bd9c331dd958
3
+ size 450608389