reymondzzzz commited on
Commit
2bbfb67
1 Parent(s): dd45570

Upload GPTRefactForCausalLM

Browse files
Files changed (3) hide show
  1. config.json +28 -0
  2. generation_config.json +7 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_function": "gelu_new",
3
+ "architectures": [
4
+ "GPTRefactForCausalLM"
5
+ ],
6
+ "attention_softmax_in_fp32": true,
7
+ "attn_pdrop": 0.1,
8
+ "bos_token_id": 50256,
9
+ "do_sample": true,
10
+ "embd_pdrop": 0.1,
11
+ "eos_token_id": 50256,
12
+ "initializer_range": 0.02,
13
+ "layer_norm_epsilon": 1e-05,
14
+ "model_type": "gpt_bigcode",
15
+ "multi_query": true,
16
+ "n_embd": 2048,
17
+ "n_head": 32,
18
+ "n_inner": null,
19
+ "n_layer": 32,
20
+ "n_positions": 1024,
21
+ "resid_pdrop": 0.1,
22
+ "scale_attention_softmax_in_fp32": true,
23
+ "scale_attn_weights": true,
24
+ "torch_dtype": "float32",
25
+ "transformers_version": "4.28.1",
26
+ "use_cache": true,
27
+ "vocab_size": 49216
28
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 50256,
4
+ "do_sample": true,
5
+ "eos_token_id": 50256,
6
+ "transformers_version": "4.28.1"
7
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:90c3d5d52d19ceeec70bb4c53edfe2d98eb1acb710c62446e426391adb32301c
3
+ size 6343470101