Canwen Xu commited on
Commit
51b8a71
1 Parent(s): 7f2cbb9

Upload files

Browse files
Files changed (4) hide show
  1. config.json +36 -0
  2. pytorch_model.bin +3 -0
  3. spiece.model +0 -0
  4. tf_model.h5 +3 -0
config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "TsinghuaAI/CPM-Generate",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "GPT2LMHeadModel"
6
+ ],
7
+ "attn_pdrop": 0.1,
8
+ "bos_token_id": 50256,
9
+ "embd_pdrop": 0.1,
10
+ "eos_token_id": 50256,
11
+ "gradient_checkpointing": false,
12
+ "initializer_range": 0.02,
13
+ "layer_norm_epsilon": 1e-05,
14
+ "model_type": "gpt2",
15
+ "n_ctx": 1024,
16
+ "n_embd": 2560,
17
+ "n_head": 32,
18
+ "n_inner": null,
19
+ "n_layer": 32,
20
+ "n_positions": 1024,
21
+ "pad_token_id": 0,
22
+ "resid_pdrop": 0.1,
23
+ "summary_activation": null,
24
+ "summary_first_dropout": 0.1,
25
+ "summary_proj_to_labels": true,
26
+ "summary_type": "cls_index",
27
+ "summary_use_proj": true,
28
+ "task_specific_params": {
29
+ "text-generation": {
30
+ "do_sample": true,
31
+ "max_length": 120
32
+ }
33
+ },
34
+ "tokenizer_class": "XLNetTokenizer",
35
+ "vocab_size": 30000
36
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e8f8b4742c8c2d142670ca89d94f2782efe5e4a1fa17378aef8210ab0169ddba
3
+ size 10422021287
spiece.model ADDED
Binary file (713 kB). View file
 
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d853c2da907a44218db1933553d3b6f179970fb0c81a64f0be8027273120a0aa
3
+ size 10388738808