Download config.json from piotrkosecki/Naive-N0.5-Flash-NVFP4: direct link, hf CLI and curl.
- Browser
- Download file 7.81 kB
-
https://huggingface.co/piotrkosecki/Naive-N0.5-Flash-NVFP4/resolve/main/config.json
- Command line
-
hf download hf://piotrkosecki/Naive-N0.5-Flash-NVFP4/config.json
-
curl -L -o config.json https://huggingface.co/piotrkosecki/Naive-N0.5-Flash-NVFP4/resolve/main/config.json
7.81 kB
| { | |
| "add_full_attention_sink_bias": false, | |
| "add_swa_attention_sink_bias": true, | |
| "architectures": [ | |
| "NaiveN05FlashForCausalLM" | |
| ], | |
| "attention_bias": false, | |
| "attention_chunk_size": 128, | |
| "attention_dropout": 0.0, | |
| "attention_projection_layout": "split", | |
| "attention_value_scale": 0.707, | |
| "auto_map": { | |
| "AutoConfig": "configuration_naive_n05_flash.NaiveN05FlashConfig", | |
| "AutoModel": "modeling_naive_n05_flash.NaiveN05FlashModel", | |
| "AutoModelForCausalLM": "modeling_naive_n05_flash.NaiveN05FlashForCausalLM" | |
| }, | |
| "dtype": "bfloat16", | |
| "enable_dsa": true, | |
| "eos_token_id": 151645, | |
| "head_dim": 192, | |
| "hidden_act": "silu", | |
| "hidden_size": 4096, | |
| "hybrid_block_size": null, | |
| "hybrid_layer_pattern": [ | |
| 0, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 0, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 0, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 0, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 0, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 0, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 0, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 0, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 0 | |
| ], | |
| "index_head_dim": 128, | |
| "index_n_heads": 16, | |
| "index_n_kv_heads": 1, | |
| "index_top_k": 2048, | |
| "indexer_activation_dtype": "fp8_e4m3", | |
| "initializer_range": 0.02, | |
| "intermediate_size": 16384, | |
| "layer_types": [ | |
| "deepseek_sparse_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "deepseek_sparse_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "deepseek_sparse_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "deepseek_sparse_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "deepseek_sparse_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "deepseek_sparse_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "deepseek_sparse_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "deepseek_sparse_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "deepseek_sparse_attention" | |
| ], | |
| "layernorm_epsilon": 1e-05, | |
| "max_position_embeddings": 1048576, | |
| "model_type": "naive_n05_flash", | |
| "moe_intermediate_size": 2048, | |
| "moe_layer_freq": [ | |
| 0, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1 | |
| ], | |
| "n_group": 1, | |
| "n_routed_experts": 256, | |
| "n_shared_experts": null, | |
| "norm_topk_prob": true, | |
| "num_attention_heads": 64, | |
| "num_experts_per_tok": 8, | |
| "num_hidden_layers": 48, | |
| "num_key_value_heads": 4, | |
| "pad_token_id": 151643, | |
| "partial_rotary_factor": 0.334, | |
| "rope_parameters": { | |
| "rope_type": "default", | |
| "type": "default" | |
| }, | |
| "rope_theta": 10000000, | |
| "routed_scaling_factor": 1.0, | |
| "scoring_func": "sigmoid", | |
| "sliding_window": 128, | |
| "sliding_window_size": 128, | |
| "swa_head_dim": 192, | |
| "swa_num_attention_heads": 64, | |
| "swa_num_key_value_heads": 8, | |
| "swa_rope_theta": 10000, | |
| "swa_v_head_dim": 128, | |
| "tie_word_embeddings": false, | |
| "topk_group": 1, | |
| "topk_method": "noaux_tc", | |
| "transformers_version": "5.17.0", | |
| "use_cache": true, | |
| "v_head_dim": 128, | |
| "vocab_size": 152576, | |
| "quantization_config": { | |
| "config_groups": { | |
| "group_0": { | |
| "input_activations": { | |
| "dynamic": false, | |
| "num_bits": 4, | |
| "type": "float", | |
| "group_size": 16 | |
| }, | |
| "weights": { | |
| "dynamic": false, | |
| "num_bits": 4, | |
| "type": "float", | |
| "group_size": 16 | |
| }, | |
| "targets": [ | |
| "Linear" | |
| ] | |
| } | |
| }, | |
| "ignore": [ | |
| "lm_head", | |
| "model.embed_tokens", | |
| "model.layers.0*", | |
| "model.layers.1.mlp.gate", | |
| "model.layers.1.self_attn*", | |
| "model.layers.2.mlp.gate", | |
| "model.layers.2.self_attn*", | |
| "model.layers.3.mlp.gate", | |
| "model.layers.3.self_attn*", | |
| "model.layers.4.mlp.gate", | |
| "model.layers.4.self_attn*", | |
| "model.layers.5.mlp.gate", | |
| "model.layers.5.self_attn*", | |
| "model.layers.6.mlp.gate", | |
| "model.layers.6.self_attn*", | |
| "model.layers.7.mlp.gate", | |
| "model.layers.7.self_attn*", | |
| "model.layers.8.mlp.gate", | |
| "model.layers.8.self_attn*", | |
| "model.layers.9.mlp.gate", | |
| "model.layers.9.self_attn*", | |
| "model.layers.10.mlp.gate", | |
| "model.layers.10.self_attn*", | |
| "model.layers.11.mlp.gate", | |
| "model.layers.11.self_attn*", | |
| "model.layers.12.mlp.gate", | |
| "model.layers.12.self_attn*", | |
| "model.layers.13.mlp.gate", | |
| "model.layers.13.self_attn*", | |
| "model.layers.14.mlp.gate", | |
| "model.layers.14.self_attn*", | |
| "model.layers.15.mlp.gate", | |
| "model.layers.15.self_attn*", | |
| "model.layers.16.mlp.gate", | |
| "model.layers.16.self_attn*", | |
| "model.layers.17.mlp.gate", | |
| "model.layers.17.self_attn*", | |
| "model.layers.18.mlp.gate", | |
| "model.layers.18.self_attn*", | |
| "model.layers.19.mlp.gate", | |
| "model.layers.19.self_attn*", | |
| "model.layers.20.mlp.gate", | |
| "model.layers.20.self_attn*", | |
| "model.layers.21.mlp.gate", | |
| "model.layers.21.self_attn*", | |
| "model.layers.22.mlp.gate", | |
| "model.layers.22.self_attn*", | |
| "model.layers.23.mlp.gate", | |
| "model.layers.23.self_attn*", | |
| "model.layers.24.mlp.gate", | |
| "model.layers.24.self_attn*", | |
| "model.layers.25.mlp.gate", | |
| "model.layers.25.self_attn*", | |
| "model.layers.26.mlp.gate", | |
| "model.layers.26.self_attn*", | |
| "model.layers.27.mlp.gate", | |
| "model.layers.27.self_attn*", | |
| "model.layers.28.mlp.gate", | |
| "model.layers.28.self_attn*", | |
| "model.layers.29.mlp.gate", | |
| "model.layers.29.self_attn*", | |
| "model.layers.30.mlp.gate", | |
| "model.layers.30.self_attn*", | |
| "model.layers.31.mlp.gate", | |
| "model.layers.31.self_attn*", | |
| "model.layers.32.mlp.gate", | |
| "model.layers.32.self_attn*", | |
| "model.layers.33.mlp.gate", | |
| "model.layers.33.self_attn*", | |
| "model.layers.34.mlp.gate", | |
| "model.layers.34.self_attn*", | |
| "model.layers.35.mlp.gate", | |
| "model.layers.35.self_attn*", | |
| "model.layers.36.mlp.gate", | |
| "model.layers.36.self_attn*", | |
| "model.layers.37.mlp.gate", | |
| "model.layers.37.self_attn*", | |
| "model.layers.38.mlp.gate", | |
| "model.layers.38.self_attn*", | |
| "model.layers.39.mlp.gate", | |
| "model.layers.39.self_attn*", | |
| "model.layers.40.mlp.gate", | |
| "model.layers.40.self_attn*", | |
| "model.layers.41.mlp.gate", | |
| "model.layers.41.self_attn*", | |
| "model.layers.42.mlp.gate", | |
| "model.layers.42.self_attn*", | |
| "model.layers.43.mlp.gate", | |
| "model.layers.43.self_attn*", | |
| "model.layers.44.mlp.gate", | |
| "model.layers.44.self_attn*", | |
| "model.layers.45.mlp.gate", | |
| "model.layers.45.self_attn*", | |
| "model.layers.46.mlp.gate", | |
| "model.layers.46.self_attn*", | |
| "model.layers.47.mlp.gate", | |
| "model.layers.47.self_attn*" | |
| ], | |
| "quant_algo": "NVFP4", | |
| "producer": { | |
| "name": "modelopt", | |
| "version": "0.0.1.dev1+g23355eda9" | |
| }, | |
| "quant_method": "modelopt" | |
| } | |
| } | |