OtraBoi commited on
Commit
c306f80
1 Parent(s): 2a578c0

Upload config.json

Browse files
Files changed (1) hide show
  1. config.json +65 -0
config.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/content/artifacts/Doc_Classify_LayoutLMv3:v0",
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": "Other",
18
+ "1": "Organic",
19
+ "2": "Halal",
20
+ "3": "SQF_Audit",
21
+ "4": "BRC_Audit",
22
+ "5": "SQF_Cert",
23
+ "6": "FSSC_Audit",
24
+ "7": "BRC_Cert",
25
+ "8": "FSSC_Cert",
26
+ "9": "Kosher"
27
+ },
28
+ "initializer_range": 0.02,
29
+ "input_size": 224,
30
+ "intermediate_size": 3072,
31
+ "label2id": {
32
+ "BRC_Audit": 4,
33
+ "BRC_Cert": 7,
34
+ "FSSC_Audit": 6,
35
+ "FSSC_Cert": 8,
36
+ "Halal": 2,
37
+ "Kosher": 9,
38
+ "Organic": 1,
39
+ "Other": 0,
40
+ "SQF_Audit": 3,
41
+ "SQF_Cert": 5
42
+ },
43
+ "layer_norm_eps": 1e-05,
44
+ "max_2d_position_embeddings": 1024,
45
+ "max_position_embeddings": 514,
46
+ "max_rel_2d_pos": 256,
47
+ "max_rel_pos": 128,
48
+ "model_type": "layoutlmv3",
49
+ "num_attention_heads": 12,
50
+ "num_channels": 3,
51
+ "num_hidden_layers": 12,
52
+ "pad_token_id": 1,
53
+ "patch_size": 16,
54
+ "problem_type": "single_label_classification",
55
+ "rel_2d_pos_bins": 64,
56
+ "rel_pos_bins": 32,
57
+ "second_input_size": 112,
58
+ "shape_size": 128,
59
+ "text_embed": true,
60
+ "torch_dtype": "float32",
61
+ "transformers_version": "4.21.1",
62
+ "type_vocab_size": 1,
63
+ "visual_embed": true,
64
+ "vocab_size": 50265
65
+ }