nm-autobot commited on
Commit
433d61f
·
verified ·
1 Parent(s): 30eccc7

Upload folder using huggingface_hub

Browse files
Files changed (4) hide show
  1. config.json +16 -7
  2. generation_config.json +1 -1
  3. model.safetensors +1 -1
  4. recipe.yaml +14 -4
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": {
@@ -26,13 +31,17 @@
26
  ],
27
  "weights": {
28
  "actorder": "weight",
 
29
  "dynamic": false,
30
  "group_size": 128,
31
  "num_bits": 4,
32
  "observer": "memoryless_minmax",
 
 
33
  "strategy": "group",
34
  "symmetric": true,
35
- "type": "int"
 
36
  }
37
  }
38
  },
@@ -42,19 +51,19 @@
42
  "lm_head"
43
  ],
44
  "kv_cache_scheme": null,
45
- "moe_sparsity_config": null,
46
  "quant_method": "compressed-tensors",
47
  "quantization_status": "compressed",
48
  "sparsity_config": {},
49
  "transform_config": {},
50
- "version": "0.20.2.dev3+g6c0f906d"
51
  },
52
  "rms_norm_eps": 1e-05,
53
- "rope_scaling": null,
54
- "rope_theta": 10000.0,
 
 
55
  "tie_word_embeddings": false,
56
- "torch_dtype": "bfloat16",
57
- "transformers_version": "4.35.0",
58
  "use_cache": true,
59
  "vocab_size": 32000
60
  }
 
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": {
 
31
  ],
32
  "weights": {
33
  "actorder": "weight",
34
+ "block_structure": null,
35
  "dynamic": false,
36
  "group_size": 128,
37
  "num_bits": 4,
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
  "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
  }
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:86dfab024f5da97b9c370573f6a179039af9bcc8fa3b79efd64573c5e65d689b
3
  size 761968800
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eefa4fe860a5deb2a273b94525c27f6c183d5f1704a5c61510d6a5753cab3542
3
  size 761968800
recipe.yaml CHANGED
@@ -4,8 +4,19 @@ quant_stage:
4
  config_groups:
5
  group_0:
6
  targets: [Linear]
7
- weights: {num_bits: 4, type: int, symmetric: true, group_size: 128, strategy: group,
8
- dynamic: false, actorder: weight, observer: memoryless_minmax}
 
 
 
 
 
 
 
 
 
 
 
9
  input_activations: null
10
  output_activations: null
11
  format: null
@@ -13,8 +24,7 @@ quant_stage:
13
  ignore: [lm_head, 're:.*vision_tower.*', 're:.*multi_modal_projector.*', 're:.*visual.*',
14
  're:.*vision_model.*']
15
  bypass_divisibility_checks: false
16
- requires_calibration_data: true
17
  block_size: 128
18
  dampening_frac: 0.01
19
  actorder: weight
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: 128
12
+ strategy: group
13
+ block_structure: null
14
+ dynamic: false
15
+ actorder: weight
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
 
24
  ignore: [lm_head, 're:.*vision_tower.*', 're:.*multi_modal_projector.*', 're:.*visual.*',
25
  're:.*vision_model.*']
26
  bypass_divisibility_checks: false
 
27
  block_size: 128
28
  dampening_frac: 0.01
29
  actorder: weight
30
+ offload_hessians: false