nm-autobot commited on
Commit
e8054df
·
verified ·
1 Parent(s): 9db4a6b

Upload folder using huggingface_hub

Browse files
Files changed (4) hide show
  1. config.json +8 -21
  2. generation_config.json +1 -1
  3. model.safetensors +1 -1
  4. recipe.yaml +1 -0
config.json CHANGED
@@ -3,58 +3,45 @@
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": "nvfp4-pack-quantized",
27
  "input_activations": {
28
- "actorder": null,
29
- "block_structure": null,
30
  "dynamic": "local",
31
  "group_size": 16,
32
  "num_bits": 4,
33
  "observer": "static_minmax",
34
- "observer_kwargs": {},
35
  "scale_dtype": "torch.float8_e4m3fn",
36
  "strategy": "tensor_group",
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": 16,
50
  "num_bits": 4,
51
  "observer": "memoryless_minmax",
52
- "observer_kwargs": {},
53
  "scale_dtype": "torch.float8_e4m3fn",
54
  "strategy": "tensor_group",
55
  "symmetric": true,
56
- "type": "float",
57
- "zp_dtype": null
58
  }
59
  }
60
  },
@@ -64,19 +51,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.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
  }
 
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": "nvfp4-pack-quantized",
22
  "input_activations": {
 
 
23
  "dynamic": "local",
24
  "group_size": 16,
25
  "num_bits": 4,
26
  "observer": "static_minmax",
 
27
  "scale_dtype": "torch.float8_e4m3fn",
28
  "strategy": "tensor_group",
29
  "symmetric": true,
30
+ "type": "float"
 
31
  },
32
  "output_activations": null,
33
  "targets": [
34
  "Linear"
35
  ],
36
  "weights": {
 
 
37
  "dynamic": false,
38
  "group_size": 16,
39
  "num_bits": 4,
40
  "observer": "memoryless_minmax",
 
41
  "scale_dtype": "torch.float8_e4m3fn",
42
  "strategy": "tensor_group",
43
  "symmetric": true,
44
+ "type": "float"
 
45
  }
46
  }
47
  },
 
51
  "lm_head"
52
  ],
53
  "kv_cache_scheme": null,
54
+ "moe_sparsity_config": null,
55
  "quant_method": "compressed-tensors",
56
  "quantization_status": "compressed",
57
  "sparsity_config": {},
58
  "transform_config": {},
59
+ "version": "0.20.2a20261029"
60
  },
61
  "rms_norm_eps": 1e-05,
62
+ "rope_scaling": null,
63
+ "rope_theta": 10000.0,
 
 
64
  "tie_word_embeddings": false,
65
+ "torch_dtype": "bfloat16",
66
+ "transformers_version": "4.35.0",
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.10.1"
7
  }
 
3
  "eos_token_id": 2,
4
  "max_length": 2048,
5
  "pad_token_id": 0,
6
+ "transformers_version": "5.22.0"
7
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5b87a7a874c8ece8097044c631ac3a06ce6a52243aaa4095c2e4839115269f7c
3
  size 807401832
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:47c602584f31d39e5e1a1bb0b1a8297be7f90e61595dc2a7b3000127199ae6fe
3
  size 807401832
recipe.yaml CHANGED
@@ -5,3 +5,4 @@ default_stage:
5
  ignore: [lm_head, 're:.*mlp.gate[.].*']
6
  scheme: NVFP4
7
  bypass_divisibility_checks: false
 
 
5
  ignore: [lm_head, 're:.*mlp.gate[.].*']
6
  scheme: NVFP4
7
  bypass_divisibility_checks: false
8
+ requires_calibration_data: true