sharpenb commited on
Commit
b16a465
·
verified ·
1 Parent(s): 970505a

Upload folder using huggingface_hub (#3)

Browse files

- dc400d8fd524722417bd05af7bdce15d61b24d164a6de0cd944057aa0ffa5aa1 (4898d22f2d967a4d4bd8c661b223d6a1bd77085e)
- 38ad0cf6f4c491e46b36139deb5e104cfd67b7349f9a8a6ccaafe8dd40612b27 (ed731c0ae3dc92f566f13cfd5adb19a20aa0da45)

Files changed (3) hide show
  1. config.json +21 -1
  2. qmodel.pt +2 -2
  3. smash_config.json +1 -1
config.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "_attn_implementation_autoset": true,
3
- "_name_or_path": "PowerInfer/SmallThinker-3B-Preview",
4
  "architectures": [
5
  "Qwen2ForCausalLM"
6
  ],
@@ -17,6 +17,26 @@
17
  "num_attention_heads": 16,
18
  "num_hidden_layers": 36,
19
  "num_key_value_heads": 2,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  "rms_norm_eps": 1e-06,
21
  "rope_scaling": null,
22
  "rope_theta": 1000000.0,
 
1
  {
2
  "_attn_implementation_autoset": true,
3
+ "_name_or_path": "/tmp/models/tmpvj9nwc0p/tmprnq9n9q5",
4
  "architectures": [
5
  "Qwen2ForCausalLM"
6
  ],
 
17
  "num_attention_heads": 16,
18
  "num_hidden_layers": 36,
19
  "num_key_value_heads": 2,
20
+ "quantization_config": {
21
+ "quant_config": {
22
+ "offload_meta": false,
23
+ "scale_quant_params": null,
24
+ "weight_quant_params": {
25
+ "axis": 1,
26
+ "channel_wise": true,
27
+ "group_size": 64,
28
+ "nbits": 4,
29
+ "optimize": true,
30
+ "round_zero": true,
31
+ "view_as_float": false
32
+ },
33
+ "zero_quant_params": null
34
+ },
35
+ "quant_method": "hqq",
36
+ "skip_modules": [
37
+ "lm_head"
38
+ ]
39
+ },
40
  "rms_norm_eps": 1e-06,
41
  "rope_scaling": null,
42
  "rope_theta": 1000000.0,
qmodel.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:352a84ab9ca7251d5e65363d875b902b6514b641aace0ad937a8aec6263a23f6
3
- size 2183789680
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:123d4312b2da135c1b96183ca6f882ea2ab124574bc1433432c78668e0d9353d
3
+ size 2979815984
smash_config.json CHANGED
@@ -11,7 +11,7 @@
11
  "quant_hqq_weight_bits": 4,
12
  "max_batch_size": 1,
13
  "device": "cuda",
14
- "cache_dir": "/tmp/models/tmpjnwwvoec",
15
  "task": "",
16
  "save_load_fn": "hqq",
17
  "save_load_fn_args": {},
 
11
  "quant_hqq_weight_bits": 4,
12
  "max_batch_size": 1,
13
  "device": "cuda",
14
+ "cache_dir": "/tmp/models/tmpvj9nwc0p",
15
  "task": "",
16
  "save_load_fn": "hqq",
17
  "save_load_fn_args": {},