nm-autobot commited on
Commit
0360e8d
·
verified ·
1 Parent(s): 3be81fe

Upload folder using huggingface_hub

Browse files
Files changed (4) hide show
  1. config.json +8 -24
  2. generation_config.json +1 -1
  3. model.safetensors +1 -1
  4. recipe.yaml +1 -0
config.json CHANGED
@@ -3,58 +3,42 @@
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": {
25
  "group_0": {
26
  "format": "float-quantized",
27
  "input_activations": {
28
- "actorder": null,
29
- "block_structure": null,
30
  "dynamic": true,
31
  "group_size": null,
32
  "num_bits": 8,
33
- "observer": null,
34
- "observer_kwargs": {},
35
- "scale_dtype": null,
36
  "strategy": "token",
37
  "symmetric": true,
38
- "type": "float",
39
- "zp_dtype": null
40
  },
41
  "output_activations": null,
42
  "targets": [
43
  "Linear"
44
  ],
45
  "weights": {
46
- "actorder": null,
47
- "block_structure": null,
48
  "dynamic": false,
49
  "group_size": null,
50
  "num_bits": 8,
51
  "observer": "memoryless_minmax",
52
- "observer_kwargs": {},
53
- "scale_dtype": null,
54
  "strategy": "channel",
55
  "symmetric": true,
56
- "type": "float",
57
- "zp_dtype": null
58
  }
59
  }
60
  },
@@ -64,19 +48,19 @@
64
  "lm_head"
65
  ],
66
  "kv_cache_scheme": null,
 
67
  "quant_method": "compressed-tensors",
68
  "quantization_status": "compressed",
69
  "sparsity_config": {},
70
  "transform_config": {},
71
- "version": "0.17.2.dev0"
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
  }
 
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": {
20
  "group_0": {
21
  "format": "float-quantized",
22
  "input_activations": {
 
 
23
  "dynamic": true,
24
  "group_size": null,
25
  "num_bits": 8,
 
 
 
26
  "strategy": "token",
27
  "symmetric": true,
28
+ "type": "float"
 
29
  },
30
  "output_activations": null,
31
  "targets": [
32
  "Linear"
33
  ],
34
  "weights": {
 
 
35
  "dynamic": false,
36
  "group_size": null,
37
  "num_bits": 8,
38
  "observer": "memoryless_minmax",
 
 
39
  "strategy": "channel",
40
  "symmetric": true,
41
+ "type": "float"
 
42
  }
43
  }
44
  },
 
48
  "lm_head"
49
  ],
50
  "kv_cache_scheme": null,
51
+ "moe_sparsity_config": null,
52
  "quant_method": "compressed-tensors",
53
  "quantization_status": "compressed",
54
  "sparsity_config": {},
55
  "transform_config": {},
56
+ "version": "0.20.0"
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
  }
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:40b3b4ebc7f4718ed8dd7c67312924ce44239f6a5aea37065bf91c6f67697449
3
  size 1232042384
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b40c72328b2310f82aba07b1f0e77dc979231d9ba6aaae92974ec5397d093ba4
3
  size 1232042384
recipe.yaml CHANGED
@@ -5,3 +5,4 @@ default_stage:
5
  ignore: [lm_head, 're:.*mlp.gate[.].*']
6
  scheme: FP8_DYNAMIC
7
  bypass_divisibility_checks: false
 
 
5
  ignore: [lm_head, 're:.*mlp.gate[.].*']
6
  scheme: FP8_DYNAMIC
7
  bypass_divisibility_checks: false
8
+ requires_calibration_data: false