txsun commited on
Commit
9ed415a
1 Parent(s): f5469d8

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +49 -0
config.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "moss-moon-003-sft-int4",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "MossForCausalLM"
6
+ ],
7
+ "auto_map": {
8
+ "AutoConfig": "configuration_moss.MossConfig",
9
+ "AutoModel": "modeling_moss.MossModel",
10
+ "AutoModelForCausalLM": "modeling_moss.MossForCausalLM"
11
+ },
12
+ "attn_pdrop": 0.0,
13
+ "bos_token_id": 106028,
14
+ "embd_pdrop": 0.0,
15
+ "eos_token_id": 106068,
16
+ "gradient_checkpointing": false,
17
+ "initializer_range": 0.02,
18
+ "layer_norm_epsilon": 1e-05,
19
+ "model_type": "moss",
20
+ "n_ctx": 2048,
21
+ "n_embd": 6144,
22
+ "n_head": 24,
23
+ "n_inner": null,
24
+ "n_layer": 34,
25
+ "n_positions": 2048,
26
+ "resid_pdrop": 0.0,
27
+ "rotary_dim": 64,
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
+ "tie_word_embeddings": false,
42
+ "tokenizer_class": "GPT2Tokenizer",
43
+ "torch_dtype": "float16",
44
+ "transformers_version": "4.25.1",
45
+ "use_cache": true,
46
+ "vocab_size": 107008,
47
+ "wbits": 4,
48
+ "groupsize": 128
49
+ }