cccornflake commited on
Commit
31ae7ba
1 Parent(s): 8759728

Upload LayoutLMForTokenClassification

Browse files
Files changed (2) hide show
  1. config.json +41 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "LayoutLMForTokenClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "finetuning_task": "token_classification",
7
+ "hidden_act": "gelu",
8
+ "hidden_dropout_prob": 0.1,
9
+ "hidden_size": 768,
10
+ "id2label": {
11
+ "0": "1",
12
+ "1": "2",
13
+ "2": "3"
14
+ },
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 3072,
17
+ "label2id": {
18
+ "1": "0",
19
+ "2": "1",
20
+ "3": "2"
21
+ },
22
+ "layer_norm_eps": 1e-12,
23
+ "max_2d_position_embeddings": 1024,
24
+ "max_length": 512,
25
+ "max_position_embeddings": 512,
26
+ "model_type": "layoutlm",
27
+ "num_attention_heads": 12,
28
+ "num_hidden_layers": 12,
29
+ "output_past": true,
30
+ "pad_token_id": 0,
31
+ "position_embedding_type": "absolute",
32
+ "torch_dtype": "float32",
33
+ "transformers_version": "4.31.0",
34
+ "type_vocab_size": 2,
35
+ "use_cache": true,
36
+ "vila_preprocessor_config": {
37
+ "agg_level": "row",
38
+ "group_bbox_agg": "first"
39
+ },
40
+ "vocab_size": 30523
41
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6cd61e55c75228cadd786f8fe8d1513b13564af5e0cabcee42c55529efda8990
3
+ size 450590055