devashish-pisal commited on
Commit
7a61e90
·
verified ·
1 Parent(s): c752379

upload model

Browse files
config.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "LayoutLMv3ForTokenClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "bos_token_id": 0,
7
+ "classifier_dropout": null,
8
+ "coordinate_size": 128,
9
+ "dtype": "float32",
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": "B-ADDRESS",
18
+ "1": "B-COMPANY",
19
+ "2": "B-DATE",
20
+ "3": "B-TOTAL",
21
+ "4": "I-ADDRESS",
22
+ "5": "I-COMPANY",
23
+ "6": "I-TOTAL",
24
+ "7": "O"
25
+ },
26
+ "initializer_range": 0.02,
27
+ "input_size": 224,
28
+ "intermediate_size": 3072,
29
+ "label2id": {
30
+ "B-ADDRESS": 0,
31
+ "B-COMPANY": 1,
32
+ "B-DATE": 2,
33
+ "B-TOTAL": 3,
34
+ "I-ADDRESS": 4,
35
+ "I-COMPANY": 5,
36
+ "I-TOTAL": 6,
37
+ "O": 7
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
+ "transformers_version": "5.3.0",
56
+ "type_vocab_size": 1,
57
+ "use_cache": false,
58
+ "visual_embed": true,
59
+ "vocab_size": 50265
60
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee3a4ed8ff31fd0695c75a98f3fbd58e433268226ab08742d3d89f4b787c4827
3
+ size 501358584
processor_config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "image_processor": {
3
+ "apply_ocr": false,
4
+ "data_format": "channels_first",
5
+ "do_normalize": true,
6
+ "do_rescale": true,
7
+ "do_resize": true,
8
+ "image_mean": [
9
+ 0.5,
10
+ 0.5,
11
+ 0.5
12
+ ],
13
+ "image_processor_type": "LayoutLMv3ImageProcessorFast",
14
+ "image_std": [
15
+ 0.5,
16
+ 0.5,
17
+ 0.5
18
+ ],
19
+ "resample": 2,
20
+ "rescale_factor": 0.00392156862745098,
21
+ "size": {
22
+ "height": 224,
23
+ "width": 224
24
+ },
25
+ "tesseract_config": ""
26
+ },
27
+ "processor_class": "LayoutLMv3Processor"
28
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": true,
3
+ "apply_ocr": false,
4
+ "backend": "tokenizers",
5
+ "bos_token": "<s>",
6
+ "cls_token": "<s>",
7
+ "cls_token_box": [
8
+ 0,
9
+ 0,
10
+ 0,
11
+ 0
12
+ ],
13
+ "eos_token": "</s>",
14
+ "errors": "replace",
15
+ "is_local": false,
16
+ "mask_token": "<mask>",
17
+ "model_max_length": 512,
18
+ "only_label_first_subword": true,
19
+ "pad_token": "<pad>",
20
+ "pad_token_box": [
21
+ 0,
22
+ 0,
23
+ 0,
24
+ 0
25
+ ],
26
+ "pad_token_label": -100,
27
+ "processor_class": "LayoutLMv3Processor",
28
+ "sep_token": "</s>",
29
+ "sep_token_box": [
30
+ 0,
31
+ 0,
32
+ 0,
33
+ 0
34
+ ],
35
+ "tokenizer_class": "LayoutLMv3Tokenizer",
36
+ "unk_token": "<unk>"
37
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3114070c6c715c12913d7569602ec2974bb06f58826667ba9e738909f81225a4
3
+ size 4792