Tadashi commited on
Commit
b9a4afc
·
1 Parent(s): b9d0a6d

initial commit

Browse files
added_tokens.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"[Q]": 250002, "[S]": 250003}
config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/layoutxlm-base",
3
+ "architectures": [
4
+ "LayoutLMv2ModelNoVisual"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "convert_sync_batchnorm": true,
9
+ "coordinate_size": 128,
10
+ "eos_token_id": 2,
11
+ "fast_qkv": false,
12
+ "gradient_checkpointing": false,
13
+ "has_relative_attention_bias": false,
14
+ "has_spatial_attention_bias": false,
15
+ "has_visual_segment_embedding": true,
16
+ "hidden_act": "gelu",
17
+ "hidden_dropout_prob": 0.1,
18
+ "hidden_size": 768,
19
+ "image_feature_pool_shape": [
20
+ 7,
21
+ 7,
22
+ 256
23
+ ],
24
+ "initializer_range": 0.02,
25
+ "intermediate_size": 3072,
26
+ "layer_norm_eps": 1e-05,
27
+ "max_2d_position_embeddings": 1024,
28
+ "max_position_embeddings": 514,
29
+ "max_rel_2d_pos": 256,
30
+ "max_rel_pos": 128,
31
+ "model_type": "layoutlmv2",
32
+ "num_attention_heads": 12,
33
+ "num_hidden_layers": 12,
34
+ "output_past": true,
35
+ "pad_token_id": 1,
36
+ "position_embedding_type": "absolute",
37
+ "rel_2d_pos_bins": 64,
38
+ "rel_pos_bins": 32,
39
+ "shape_size": 128,
40
+ "transformers_version": "4.5.1",
41
+ "type_vocab_size": 1,
42
+ "use_cache": true,
43
+ "vocab_size": 250002
44
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:92bf6b3a37ccba7110adfbac92cdff2528bfd507af732a1a1a60adf64092d33d
3
+ size 1114357083
sentencepiece.bpe.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfc8146abe2a0488e9e2a0c56de7952f7c11ab059eca145a0a727afce0db2865
3
+ size 5069051
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "sep_token": "</s>", "pad_token": "<pad>", "cls_token": "<s>", "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": false}, "additional_special_tokens": ["[Q]", "[S]"]}
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"bos_token": "<s>", "eos_token": "</s>", "sep_token": "</s>", "cls_token": "<s>", "unk_token": "<unk>", "pad_token": "<pad>", "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "additional_special_tokens": ["[Q]", "[S]"], "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "xlm-roberta-base"}