moyix commited on
Commit
95726ff
1 Parent(s): f98c7d0

Upload GPTJForCausalLM

Browse files
Files changed (2) hide show
  1. config.json +28 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "codegen-2B-multi-gptj.modeldir",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "GPTJForCausalLM"
6
+ ],
7
+ "attn_pdrop": 0.0,
8
+ "bos_token_id": 1,
9
+ "embd_pdrop": 0.0,
10
+ "eos_token_id": 2,
11
+ "initializer_range": 0.02,
12
+ "layer_norm_epsilon": 1e-05,
13
+ "model_type": "gptj",
14
+ "n_embd": 2560,
15
+ "n_head": 32,
16
+ "n_inner": null,
17
+ "n_layer": 32,
18
+ "n_positions": 2048,
19
+ "resid_pdrop": 0.0,
20
+ "rotary_dim": 64,
21
+ "scale_attn_weights": true,
22
+ "tie_word_embeddings": false,
23
+ "tokenizer_class": "CodeGenTokenizer",
24
+ "torch_dtype": "float16",
25
+ "transformers_version": "4.22.0.dev0",
26
+ "use_cache": true,
27
+ "vocab_size": 51200
28
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0d2b0d9f319cce5a1847722ac8acec40ab658d6dabda02f579aaaa9ccc616a9a
3
+ size 5693053717