Rubavijayan commited on
Commit
ccc17d9
1 Parent(s): 14d6688

Create config.json

Browse files
Files changed (1) hide show
  1. config.json +41 -0
config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "QWenLMHeadModel"
4
+ ],
5
+ "auto_map": {
6
+ "AutoConfig": "configuration_qwen.QWenConfig",
7
+ "AutoModelForCausalLM": "modeling_qwen.QWenLMHeadModel"
8
+ },
9
+ "model_type": "qwen",
10
+ "num_hidden_layers": 28,
11
+ "num_attention_heads": 28,
12
+ "num_key_value_heads": 4,
13
+ "hidden_size": 4096,
14
+ "intermediate_size": 11008,
15
+ "hidden_act": "silu",
16
+ "rotary_pct": 1.0,
17
+ "rotary_emb_base": 10000,
18
+ "max_position_embeddings": 131072,
19
+ "initializer_range": 0.02,
20
+ "rms_norm_eps": 1e-06,
21
+ "use_cache": true,
22
+ "vocab_size": 151936,
23
+ "eos_token_id": 151643,
24
+ "bos_token_id": 151643,
25
+ "pad_token_id": 151643,
26
+ "tie_word_embeddings": false,
27
+ "use_parallel_residual": true,
28
+ "bias": false,
29
+ "rope_scaling": {
30
+ "type": "linear",
31
+ "factor": 4.0
32
+ },
33
+ "max_generate_tokens": 8192,
34
+ "quantization_config": {
35
+ "bits": 4,
36
+ "group_size": 32,
37
+ "quant_method": "gguf"
38
+ },
39
+ "torch_dtype": "float16",
40
+ "transformers_version": "4.32.0"
41
+ }