hajime9652 commited on
Commit
3fd5fe6
1 Parent(s): 41a946e

add model and tokenizer

Browse files
config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "./backend/PyTorch",
3
+ "architectures": [
4
+ "XLNetLMHeadModel"
5
+ ],
6
+ "attn_type": "bi",
7
+ "bi_data": false,
8
+ "bos_token_id": 1,
9
+ "clamp_len": -1,
10
+ "d_head": 64,
11
+ "d_inner": 3072,
12
+ "d_model": 768,
13
+ "dropout": 0.1,
14
+ "end_n_top": 5,
15
+ "eos_token_id": 2,
16
+ "ff_activation": "relu",
17
+ "initializer_range": 0.02,
18
+ "layer_norm_eps": 1e-12,
19
+ "mem_len": null,
20
+ "model_type": "xlnet",
21
+ "n_head": 12,
22
+ "n_layer": 12,
23
+ "pad_token_id": 5,
24
+ "reuse_len": null,
25
+ "same_length": false,
26
+ "start_n_top": 5,
27
+ "summary_activation": "tanh",
28
+ "summary_last_dropout": 0.1,
29
+ "summary_type": "last",
30
+ "summary_use_proj": true,
31
+ "transformers_version": "4.4.2",
32
+ "untie_r": true,
33
+ "use_mems_eval": true,
34
+ "use_mems_train": false,
35
+ "vocab_size": 32000
36
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:74722a2a4748b2953b2b58e85c6602afa6dea3b5026ae175da6f1ce276ef6ec8
3
+ size 467078149
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "sep_token": "<sep>", "pad_token": "<pad>", "cls_token": "<cls>", "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true}, "additional_special_tokens": ["<eop>", "<eod>"]}
spiece.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:16de27cef4dccb24df5691048e5afcb5fba9c5434dd8796e2707d75aa5c6232a
3
+ size 811665
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"do_lower_case": false, "remove_space": true, "keep_accents": false, "bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "sep_token": "<sep>", "pad_token": "<pad>", "cls_token": "<cls>", "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "additional_special_tokens": ["<eop>", "<eod>"], "special_tokens_map_file": null, "tokenizer_file": null, "name_or_path": "./backend/PyTorch"}