estyle commited on
Commit
e7792fd
1 Parent(s): 77cdbcb

Upload config.json

Browse files
Files changed (1) hide show
  1. config.json +46 -0
config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/mnt/msranlpintern/models/markuplm-base_500k_ffn_5e-5/checkpoint-300000/checkpoint-300000/",
3
+ "architectures": [
4
+ "MarkupLMForQuestionAnswering"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "disable_xpath_emb": false,
10
+ "enable_xpath_emb_normalize": false,
11
+ "eos_token_id": 2,
12
+ "ffn_proj": true,
13
+ "fix_xpath_proj": false,
14
+ "gradient_checkpointing": false,
15
+ "has_relative_attention_bias": false,
16
+ "has_tree_attention_bias": false,
17
+ "hidden_act": "gelu",
18
+ "hidden_dropout_prob": 0.1,
19
+ "hidden_size": 768,
20
+ "init_model_type": "roberta",
21
+ "initializer_range": 0.02,
22
+ "intermediate_size": 3072,
23
+ "layer_norm_eps": 1e-05,
24
+ "max_depth": 50,
25
+ "max_position_embeddings": 514,
26
+ "max_rel_pos": 128,
27
+ "max_tree_id_unit_embeddings": 1024,
28
+ "max_xpath_subs_unit_embeddings": 1024,
29
+ "max_xpath_tag_unit_embeddings": 256,
30
+ "model_type": "markuplm",
31
+ "num_attention_heads": 12,
32
+ "num_hidden_layers": 12,
33
+ "pad_token_id": 1,
34
+ "pos_mode_for_path_emb": 1,
35
+ "position_embedding_type": "absolute",
36
+ "rel_pos_bins": 32,
37
+ "torch_dtype": "float32",
38
+ "transformers_version": "4.10.2",
39
+ "tree_id_unit_hidden_size": 32,
40
+ "tree_max_rel_pos": 128,
41
+ "tree_rel_pos_bins": 32,
42
+ "type_vocab_size": 1,
43
+ "use_cache": true,
44
+ "vocab_size": 50267,
45
+ "xpath_unit_hidden_size": 32
46
+ }