TheBloke commited on
Commit
27a36c9
1 Parent(s): 8f939b2

Update for Transformers AWQ support

Browse files
Files changed (1) hide show
  1. config.json +40 -33
config.json CHANGED
@@ -1,35 +1,42 @@
1
  {
2
- "_name_or_path": "/fsx/proj-trlx/conceptofmind/scaled-rope-private/save_model/final/yarn-llama-2-7b-3e-5-64k-400steps",
3
- "architectures": [
4
- "LlamaForCausalLM"
5
- ],
6
- "auto_map": {
7
- "AutoConfig": "configuration_llama.LlamaConfig",
8
- "AutoModelForCausalLM": "modeling_llama_together_yarn.LlamaForCausalLM"
9
- },
10
- "bos_token_id": 1,
11
- "eos_token_id": 2,
12
- "hidden_act": "silu",
13
- "hidden_size": 4096,
14
- "initializer_range": 0.02,
15
- "intermediate_size": 11008,
16
- "max_position_embeddings": 65536,
17
- "model_type": "llama",
18
- "num_attention_heads": 32,
19
- "num_hidden_layers": 32,
20
- "num_key_value_heads": 32,
21
- "pad_token_id": 0,
22
- "pretraining_tp": 1,
23
- "rms_norm_eps": 1e-05,
24
- "rope_scaling": {
25
- "factor": 16.0,
26
- "original_max_position_embeddings": 4096,
27
- "type": "yarn",
28
- "finetuned": true
29
- },
30
- "tie_word_embeddings": false,
31
- "torch_dtype": "bfloat16",
32
- "transformers_version": "4.32.0.dev0",
33
- "use_cache": true,
34
- "vocab_size": 32000
 
 
 
 
 
 
 
35
  }
 
1
  {
2
+ "_name_or_path": "/fsx/proj-trlx/conceptofmind/scaled-rope-private/save_model/final/yarn-llama-2-7b-3e-5-64k-400steps",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "auto_map": {
7
+ "AutoConfig": "configuration_llama.LlamaConfig",
8
+ "AutoModelForCausalLM": "modeling_llama_together_yarn.LlamaForCausalLM"
9
+ },
10
+ "bos_token_id": 1,
11
+ "eos_token_id": 2,
12
+ "hidden_act": "silu",
13
+ "hidden_size": 4096,
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 11008,
16
+ "max_position_embeddings": 65536,
17
+ "model_type": "llama",
18
+ "num_attention_heads": 32,
19
+ "num_hidden_layers": 32,
20
+ "num_key_value_heads": 32,
21
+ "pad_token_id": 0,
22
+ "pretraining_tp": 1,
23
+ "rms_norm_eps": 1e-05,
24
+ "rope_scaling": {
25
+ "factor": 16.0,
26
+ "original_max_position_embeddings": 4096,
27
+ "type": "yarn",
28
+ "finetuned": true
29
+ },
30
+ "tie_word_embeddings": false,
31
+ "torch_dtype": "bfloat16",
32
+ "transformers_version": "4.32.0.dev0",
33
+ "use_cache": true,
34
+ "vocab_size": 32000,
35
+ "quantization_config": {
36
+ "quant_method": "awq",
37
+ "zero_point": true,
38
+ "group_size": 128,
39
+ "bits": 4,
40
+ "version": "gemm"
41
+ }
42
  }