vbv373 commited on
Commit
4ab1505
·
verified ·
1 Parent(s): 9bc393f

Upload config

Browse files
Files changed (1) hide show
  1. config.json +43 -0
config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "Salesforce/codegen-350M-mono",
4
+ "activation_function": "gelu_new",
5
+ "architectures": [
6
+ "CodeGenForCausalLM"
7
+ ],
8
+ "attn_pdrop": 0.0,
9
+ "bos_token_id": 1,
10
+ "embd_pdrop": 0.0,
11
+ "eos_token_id": 50256,
12
+ "gradient_checkpointing": false,
13
+ "initializer_range": 0.02,
14
+ "layer_norm_epsilon": 1e-05,
15
+ "model_type": "codegen",
16
+ "n_ctx": 2048,
17
+ "n_embd": 1024,
18
+ "n_head": 16,
19
+ "n_inner": null,
20
+ "n_layer": 20,
21
+ "n_positions": 2048,
22
+ "resid_pdrop": 0.0,
23
+ "rotary_dim": 32,
24
+ "scale_attn_weights": true,
25
+ "summary_activation": null,
26
+ "summary_first_dropout": 0.1,
27
+ "summary_proj_to_labels": true,
28
+ "summary_type": "cls_index",
29
+ "summary_use_proj": true,
30
+ "task_specific_params": {
31
+ "text-generation": {
32
+ "do_sample": true,
33
+ "max_length": 50,
34
+ "temperature": 1.0
35
+ }
36
+ },
37
+ "tie_word_embeddings": false,
38
+ "tokenizer_class": "GPT2Tokenizer",
39
+ "torch_dtype": "float16",
40
+ "transformers_version": "4.48.2",
41
+ "use_cache": true,
42
+ "vocab_size": 51200
43
+ }