vikp commited on
Commit
c825901
·
1 Parent(s): aeb67df

Upload LayoutLMv3ForSequenceClassification

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