julianmb commited on
Commit
f35836e
·
verified ·
1 Parent(s): f4d913b

config: add model and ROCmFP4 quantization configuration

Browse files
Files changed (1) hide show
  1. config.json +29 -0
config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen3ForCausalLM"
4
+ ],
5
+ "model_type": "qwen3",
6
+ "quantization_config": {
7
+ "quant_method": "rocmfpx",
8
+ "quant_type": "ROCmFP4_FAST",
9
+ "bits_per_weight": 4.26,
10
+ "block_size": 32,
11
+ "cooperative_matrix_target": "gfx1151",
12
+ "mtp_heads": 1,
13
+ "turboquant_kv": true
14
+ },
15
+ "vocab_size": 152064,
16
+ "hidden_size": 5120,
17
+ "intermediate_size": 27648,
18
+ "num_hidden_layers": 64,
19
+ "num_attention_heads": 40,
20
+ "num_key_value_heads": 8,
21
+ "max_position_embeddings": 262144,
22
+ "rope_scaling": {
23
+ "type": "yarn",
24
+ "factor": 4.0,
25
+ "original_max_position_embeddings": 32768
26
+ },
27
+ "torch_dtype": "bfloat16",
28
+ "transformers_version": "4.45.0"
29
+ }