nm-autobot commited on
Commit
91ebd47
·
verified ·
1 Parent(s): 930bd54

Upload folder using huggingface_hub

Browse files
Files changed (4) hide show
  1. config.json +24 -8
  2. generation_config.json +1 -1
  3. model.safetensors +1 -1
  4. recipe.yaml +27 -6
config.json CHANGED
@@ -3,17 +3,22 @@
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,13 +30,18 @@
25
  "Linear"
26
  ],
27
  "weights": {
 
 
28
  "dynamic": false,
29
  "group_size": null,
30
  "num_bits": 4,
31
  "observer": "memoryless_minmax",
 
 
32
  "strategy": "channel",
33
  "symmetric": true,
34
- "type": "int"
 
35
  }
36
  }
37
  },
@@ -41,26 +51,32 @@
41
  "lm_head"
42
  ],
43
  "kv_cache_scheme": {
 
 
44
  "dynamic": false,
45
  "group_size": null,
46
  "num_bits": 8,
 
 
 
47
  "strategy": "tensor",
48
  "symmetric": true,
49
- "type": "float"
 
50
  },
51
- "moe_sparsity_config": null,
52
  "quant_method": "compressed-tensors",
53
  "quantization_status": "compressed",
54
  "sparsity_config": {},
55
  "transform_config": {},
56
- "version": "0.20.2.dev3+g6c0f906d"
57
  },
58
  "rms_norm_eps": 1e-05,
59
- "rope_scaling": null,
60
- "rope_theta": 10000.0,
 
 
61
  "tie_word_embeddings": false,
62
- "torch_dtype": "bfloat16",
63
- "transformers_version": "4.35.0",
64
  "use_cache": true,
65
  "vocab_size": 32000
66
  }
 
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
  "Linear"
31
  ],
32
  "weights": {
33
+ "actorder": null,
34
+ "block_structure": null,
35
  "dynamic": false,
36
  "group_size": null,
37
  "num_bits": 4,
38
  "observer": "memoryless_minmax",
39
+ "observer_kwargs": {},
40
+ "scale_dtype": null,
41
  "strategy": "channel",
42
  "symmetric": true,
43
+ "type": "int",
44
+ "zp_dtype": null
45
  }
46
  }
47
  },
 
51
  "lm_head"
52
  ],
53
  "kv_cache_scheme": {
54
+ "actorder": null,
55
+ "block_structure": null,
56
  "dynamic": false,
57
  "group_size": null,
58
  "num_bits": 8,
59
+ "observer": "memoryless_minmax",
60
+ "observer_kwargs": {},
61
+ "scale_dtype": null,
62
  "strategy": "tensor",
63
  "symmetric": true,
64
+ "type": "float",
65
+ "zp_dtype": null
66
  },
 
67
  "quant_method": "compressed-tensors",
68
  "quantization_status": "compressed",
69
  "sparsity_config": {},
70
  "transform_config": {},
71
+ "version": "0.17.1"
72
  },
73
  "rms_norm_eps": 1e-05,
74
+ "rope_parameters": {
75
+ "rope_theta": 10000.0,
76
+ "rope_type": "default"
77
+ },
78
  "tie_word_embeddings": false,
79
+ "transformers_version": "5.10.1",
 
80
  "use_cache": true,
81
  "vocab_size": 32000
82
  }
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.21.0"
7
  }
 
3
  "eos_token_id": 2,
4
  "max_length": 2048,
5
  "pad_token_id": 0,
6
+ "transformers_version": "5.10.1"
7
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0173995cdff85432f48e729cbed61fd57af9b08639b9400677aed45c3b5bc1b7
3
  size 747622872
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b2bf1ff384f476bd3b75d061e2282ecf3dc8ed62167bfb527c30d636dbeaf392
3
  size 747622872
recipe.yaml CHANGED
@@ -4,17 +4,38 @@ quant_stage:
4
  config_groups:
5
  group_0:
6
  targets: [Linear]
7
- weights: {num_bits: 4, type: int, symmetric: true, group_size: null, strategy: channel,
8
- dynamic: false, observer: memoryless_minmax}
 
 
 
 
 
 
 
 
 
 
 
9
  input_activations: null
10
  output_activations: null
11
  format: null
12
  targets: [Linear]
13
  ignore: [lm_head]
14
- kv_cache_scheme: {num_bits: 8, type: float, symmetric: true, group_size: null, strategy: tensor,
15
- dynamic: false}
 
 
 
 
 
 
 
 
 
 
 
16
  bypass_divisibility_checks: false
17
- requires_calibration_data: true
18
  block_size: 128
19
  dampening_frac: 0.01
20
- batched_quantization: auto
 
4
  config_groups:
5
  group_0:
6
  targets: [Linear]
7
+ weights:
8
+ num_bits: 4
9
+ type: int
10
+ symmetric: true
11
+ group_size: null
12
+ strategy: channel
13
+ block_structure: null
14
+ dynamic: false
15
+ actorder: null
16
+ scale_dtype: null
17
+ zp_dtype: null
18
+ observer: memoryless_minmax
19
+ observer_kwargs: {}
20
  input_activations: null
21
  output_activations: null
22
  format: null
23
  targets: [Linear]
24
  ignore: [lm_head]
25
+ kv_cache_scheme:
26
+ num_bits: 8
27
+ type: float
28
+ symmetric: true
29
+ group_size: null
30
+ strategy: tensor
31
+ block_structure: null
32
+ dynamic: false
33
+ actorder: null
34
+ scale_dtype: null
35
+ zp_dtype: null
36
+ observer: memoryless_minmax
37
+ observer_kwargs: {}
38
  bypass_divisibility_checks: false
 
39
  block_size: 128
40
  dampening_frac: 0.01
41
+ offload_hessians: false