Raincleared commited on
Commit
94d7019
1 Parent(s): a7d71ec

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +32 -0
config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "SparseLLM/prosparse-llama-2-7b",
3
+ "architectures": [
4
+ "SparseLlamaForCausalLM"
5
+ ],
6
+ "auto_map": {
7
+ "AutoConfig": "configuration_sparsellama.SparseLlamaConfig",
8
+ "AutoModel": "modeling_sparsellama.SparseLlamaForCausalLM",
9
+ "AutoModelForCausalLM": "modeling_sparsellama.SparseLlamaForCausalLM"
10
+ },
11
+ "bos_token_id": 1,
12
+ "eos_token_id": 2,
13
+ "hidden_act": "fatrelu",
14
+ "hidden_act_param": 0.01,
15
+ "hidden_size": 4096,
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 11008,
18
+ "max_position_embeddings": 4096,
19
+ "model_type": "sparsellama",
20
+ "num_attention_heads": 32,
21
+ "num_hidden_layers": 32,
22
+ "num_key_value_heads": 32,
23
+ "pretraining_tp": 1,
24
+ "rms_norm_eps": 1e-05,
25
+ "rope_scaling": null,
26
+ "tie_word_embeddings": false,
27
+ "torch_dtype": "bfloat16",
28
+ "transformers_version": "4.31.0.dev0",
29
+ "use_cache": true,
30
+ "vocab_size": 32000,
31
+ "max_length": 4096
32
+ }