xhyi commited on
Commit
53f6f9b
1 Parent(s): 92f15ff
Files changed (2) hide show
  1. config.json +46 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "PT_SFCodeGen_350M",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "CodeGenForCausalLM"
6
+ ],
7
+ "attn_pdrop": 0.0,
8
+ "auto_map": {
9
+ "AutoConfig": "configuration_codegen.CodeGenConfig",
10
+ "AutoModel": "modeling_codegen.CodeGenModel",
11
+ "AutoModelForCausalLM": "modeling_codegen.CodeGenForCausalLM"
12
+ },
13
+ "bos_token_id": 1,
14
+ "embd_pdrop": 0.0,
15
+ "eos_token_id": 2,
16
+ "gradient_checkpointing": false,
17
+ "initializer_range": 0.02,
18
+ "layer_norm_epsilon": 1e-05,
19
+ "model_type": "codegen",
20
+ "n_ctx": 2048,
21
+ "n_embd": 1024,
22
+ "n_head": 16,
23
+ "n_inner": null,
24
+ "n_layer": 20,
25
+ "n_positions": 2048,
26
+ "resid_pdrop": 0.0,
27
+ "rotary_dim": 32,
28
+ "scale_attn_weights": true,
29
+ "summary_activation": null,
30
+ "summary_first_dropout": 0.1,
31
+ "summary_proj_to_labels": true,
32
+ "summary_type": "cls_index",
33
+ "summary_use_proj": true,
34
+ "task_specific_params": {
35
+ "text-generation": {
36
+ "do_sample": true,
37
+ "max_length": 50,
38
+ "temperature": 1.0
39
+ }
40
+ },
41
+ "tokenizer_class": "GPT2Tokenizer",
42
+ "torch_dtype": "float32",
43
+ "transformers_version": "4.18.0",
44
+ "use_cache": true,
45
+ "vocab_size": 51200
46
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:efba863ceaf7a9616d9ba6f1c444c4a99fe2a71fd5d9666f20e0c6c2388abab7
3
+ size 1510798183