baby-dev commited on
Commit
ceeaac7
·
verified ·
1 Parent(s): 18d1a6c

Upload config.json

Browse files
Files changed (1) hide show
  1. config.json +50 -0
config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "katuni4ka/tiny-random-codegen2",
4
+ "activation_function": "gelu_new",
5
+ "architectures": [
6
+ "CodeGenForCausalLM"
7
+ ],
8
+ "attn_pdrop": 0.0,
9
+ "auto_map": {
10
+ "AutoConfig": "katuni4ka/tiny-random-codegen2--configuration_codegen.CodeGenConfig",
11
+ "AutoModel": "katuni4ka/tiny-random-codegen2--modeling_codegen.CodeGenModel",
12
+ "AutoModelForCausalLM": "katuni4ka/tiny-random-codegen2--modeling_codegen.CodeGenForCausalLM"
13
+ },
14
+ "bos_token_id": 50256,
15
+ "embd_pdrop": 0.0,
16
+ "eos_token_id": 50256,
17
+ "gradient_checkpointing": false,
18
+ "head_dim": 32,
19
+ "initializer_range": 0.02,
20
+ "layer_norm_epsilon": 1e-05,
21
+ "model_type": "codegen",
22
+ "n_ctx": 512,
23
+ "n_embd": 32,
24
+ "n_head": 8,
25
+ "n_inner": null,
26
+ "n_layer": 2,
27
+ "n_positions": 512,
28
+ "resid_pdrop": 0.0,
29
+ "rotary_dim": 4,
30
+ "scale_attn_weights": true,
31
+ "summary_activation": null,
32
+ "summary_first_dropout": 0.1,
33
+ "summary_proj_to_labels": true,
34
+ "summary_type": "cls_index",
35
+ "summary_use_proj": true,
36
+ "task_specific_params": {
37
+ "text-generation": {
38
+ "do_sample": true,
39
+ "max_length": 50,
40
+ "temperature": 1.0
41
+ }
42
+ },
43
+ "tie_word_embeddings": false,
44
+ "tokenizer_class": "GPT2Tokenizer",
45
+ "torch_dtype": "float32",
46
+ "transformers_version": "4.48.3",
47
+ "trust_remote_code": true,
48
+ "use_cache": false,
49
+ "vocab_size": 51200
50
+ }