Hanlard commited on
Commit
dd0170d
1 Parent(s): 815a42b

Upload config.json

Browse files
Files changed (1) hide show
  1. config.json +38 -0
config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_function": "gelu",
3
+ "architectures": [
4
+ "GPTPanguForCausalLM"
5
+ ],
6
+ "attn_pdrop": 0.1,
7
+ "bos_token_id": 9,
8
+ "embd_pdrop": 0.1,
9
+ "eos_token_id": 9,
10
+ "hidden_size": 2560,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": null,
13
+ "layer_norm_epsilon": 1e-05,
14
+ "max_position_embeddings": 1024,
15
+ "model_type": "gpt_pangu",
16
+ "num_heads": 32,
17
+ "num_layers": 32,
18
+ "n_layer": 32,
19
+ "resid_pdrop": 0.1,
20
+ "scale_attn_weights": true,
21
+ "summary_activation": null,
22
+ "summary_first_dropout": 0.1,
23
+ "summary_proj_to_labels": true,
24
+ "summary_type": "cls_index",
25
+ "summary_use_proj": true,
26
+ "torch_dtype": "float32",
27
+ "transformers_version": "4.13.0",
28
+ "use_cache": true,
29
+ "vocab_size": 40000,
30
+
31
+
32
+ "tokenizer_class": "GPTPanguTokenizer",
33
+ "auto_map": {
34
+ "AutoConfig": "configuration_gptpangu.GPTPanguConfig",
35
+ "AutoTokenizer": ["tokenization_gptpangu.GPTPanguTokenizer", null],
36
+ "AutoModelForCausalLM": "modeling_gptpangu.GPTPanguForCausalLM"
37
+ }
38
+ }