nm-autobot commited on
Commit
1d41c71
·
verified ·
1 Parent(s): cb775c4

Upload folder using huggingface_hub

Browse files
Files changed (4) hide show
  1. config.json +7 -17
  2. generation_config.json +1 -1
  3. model.safetensors +1 -1
  4. recipe.yaml +2 -1
config.json CHANGED
@@ -3,22 +3,17 @@
3
  "LlamaForCausalLM"
4
  ],
5
  "attention_bias": false,
6
- "attention_dropout": 0.0,
7
  "bos_token_id": 1,
8
- "dtype": "bfloat16",
9
  "eos_token_id": 2,
10
- "head_dim": 64,
11
  "hidden_act": "silu",
12
  "hidden_size": 2048,
13
  "initializer_range": 0.02,
14
  "intermediate_size": 5632,
15
  "max_position_embeddings": 2048,
16
- "mlp_bias": false,
17
  "model_type": "llama",
18
  "num_attention_heads": 32,
19
  "num_hidden_layers": 22,
20
  "num_key_value_heads": 4,
21
- "pad_token_id": null,
22
  "pretraining_tp": 1,
23
  "quantization_config": {
24
  "config_groups": {
@@ -30,18 +25,13 @@
30
  "Linear"
31
  ],
32
  "weights": {
33
- "actorder": null,
34
- "block_structure": null,
35
  "dynamic": false,
36
  "group_size": 128,
37
  "num_bits": 8,
38
  "observer": "memoryless_minmax",
39
- "observer_kwargs": {},
40
- "scale_dtype": null,
41
  "strategy": "group",
42
  "symmetric": true,
43
- "type": "int",
44
- "zp_dtype": null
45
  }
46
  }
47
  },
@@ -51,19 +41,19 @@
51
  "lm_head"
52
  ],
53
  "kv_cache_scheme": null,
 
54
  "quant_method": "compressed-tensors",
55
  "quantization_status": "compressed",
56
  "sparsity_config": {},
57
  "transform_config": {},
58
- "version": "0.17.1"
59
  },
60
  "rms_norm_eps": 1e-05,
61
- "rope_parameters": {
62
- "rope_theta": 10000.0,
63
- "rope_type": "default"
64
- },
65
  "tie_word_embeddings": false,
66
- "transformers_version": "5.10.1",
 
67
  "use_cache": true,
68
  "vocab_size": 32000
69
  }
 
3
  "LlamaForCausalLM"
4
  ],
5
  "attention_bias": false,
 
6
  "bos_token_id": 1,
 
7
  "eos_token_id": 2,
 
8
  "hidden_act": "silu",
9
  "hidden_size": 2048,
10
  "initializer_range": 0.02,
11
  "intermediate_size": 5632,
12
  "max_position_embeddings": 2048,
 
13
  "model_type": "llama",
14
  "num_attention_heads": 32,
15
  "num_hidden_layers": 22,
16
  "num_key_value_heads": 4,
 
17
  "pretraining_tp": 1,
18
  "quantization_config": {
19
  "config_groups": {
 
25
  "Linear"
26
  ],
27
  "weights": {
 
 
28
  "dynamic": false,
29
  "group_size": 128,
30
  "num_bits": 8,
31
  "observer": "memoryless_minmax",
 
 
32
  "strategy": "group",
33
  "symmetric": true,
34
+ "type": "int"
 
35
  }
36
  }
37
  },
 
41
  "lm_head"
42
  ],
43
  "kv_cache_scheme": null,
44
+ "moe_sparsity_config": null,
45
  "quant_method": "compressed-tensors",
46
  "quantization_status": "compressed",
47
  "sparsity_config": {},
48
  "transform_config": {},
49
+ "version": "0.20.2a20261028"
50
  },
51
  "rms_norm_eps": 1e-05,
52
+ "rope_scaling": null,
53
+ "rope_theta": 10000.0,
 
 
54
  "tie_word_embeddings": false,
55
+ "torch_dtype": "bfloat16",
56
+ "transformers_version": "4.35.0",
57
  "use_cache": true,
58
  "vocab_size": 32000
59
  }
generation_config.json CHANGED
@@ -3,5 +3,5 @@
3
  "eos_token_id": 2,
4
  "max_length": 2048,
5
  "pad_token_id": 0,
6
- "transformers_version": "5.10.1"
7
  }
 
3
  "eos_token_id": 2,
4
  "max_length": 2048,
5
  "pad_token_id": 0,
6
+ "transformers_version": "5.21.0"
7
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6d002a47269b36b40496d345e86831da64eff2535563d71c1fc5d7b6d0b5fae3
3
  size 1246411368
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:de2b54c279240f1255e86ac91861b332b7b519dbc146c2378ddb413186e508ac
3
  size 1246411368
recipe.yaml CHANGED
@@ -5,6 +5,7 @@ default_stage:
5
  ignore: [lm_head, 're:.*mlp.gate[.].*']
6
  scheme: W8A16
7
  bypass_divisibility_checks: false
 
8
  block_size: 128
9
  dampening_frac: 0.01
10
- offload_hessians: false
 
5
  ignore: [lm_head, 're:.*mlp.gate[.].*']
6
  scheme: W8A16
7
  bypass_divisibility_checks: false
8
+ requires_calibration_data: true
9
  block_size: 128
10
  dampening_frac: 0.01
11
+ batched_quantization: auto