ybelkada HF staff commited on
Commit
28a9624
1 Parent(s): 4a86cf3

Upload CodeGenForCausalLM

Browse files
Files changed (2) hide show
  1. config.json +35 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "hf-internal-testing/tiny-random-CodeGenForCausalLM",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "CodeGenForCausalLM"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.0,
8
+ "attn_pdrop": 0.0,
9
+ "bos_token_id": 0,
10
+ "embd_pdrop": 0.0,
11
+ "eos_token_id": 0,
12
+ "hidden_act": "gelu",
13
+ "hidden_dropout_prob": 0.0,
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 37,
16
+ "is_decoder": true,
17
+ "layer_norm_epsilon": 1e-05,
18
+ "model_type": "codegen",
19
+ "n_ctx": 2048,
20
+ "n_embd": 32,
21
+ "n_head": 4,
22
+ "n_inner": null,
23
+ "n_layer": 5,
24
+ "n_positions": 512,
25
+ "pad_token_id": 1023,
26
+ "resid_pdrop": 0.0,
27
+ "rotary_dim": 4,
28
+ "scale_attn_weights": true,
29
+ "tie_word_embeddings": false,
30
+ "torch_dtype": "float32",
31
+ "transformers_version": "4.25.1",
32
+ "type_vocab_size": 16,
33
+ "use_cache": true,
34
+ "vocab_size": 1024
35
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a6412226dd57d950d2b11c92f5d42bd7e7f113076752dd6d6ffffd868adeded
3
+ size 1842759