Download config.json from jc-914/prism-quantized: direct link, hf CLI and curl.
- Browser
- Download file 2.18 kB
-
https://huggingface.co/jc-914/prism-quantized/resolve/main/config.json
- Command line
-
hf download hf://jc-914/prism-quantized/config.json
-
curl -L -o config.json https://huggingface.co/jc-914/prism-quantized/resolve/main/config.json
2.18 kB
| { | |
| "architectures": [ | |
| "SarvamMLAForCausalLM" | |
| ], | |
| "attention_dropout": 0.0, | |
| "attn_implementation": null, | |
| "auto_map": { | |
| "AutoConfig": "configuration_sarvam_moe.SarvamMLAConfig", | |
| "AutoModel": "modeling_sarvam_moe.SarvamMLAModel", | |
| "AutoModelForCausalLM": "modeling_sarvam_moe.SarvamMLAForCausalLM" | |
| }, | |
| "default_theta": 10000.0, | |
| "dtype": "bfloat16", | |
| "embedding_dropout": 0.0, | |
| "eos_token_id": 1, | |
| "first_k_dense_replace": 1, | |
| "head_dim": 576, | |
| "hidden_act": "silu", | |
| "hidden_size": 4096, | |
| "initializer_range": 0.006, | |
| "intermediate_size": 16384, | |
| "kv_lora_rank": 512, | |
| "max_position_embeddings": 131072, | |
| "model_type": "sarvam_mla", | |
| "moe_intermediate_size": 2048, | |
| "moe_router_enable_expert_bias": true, | |
| "num_attention_heads": 64, | |
| "num_experts": 128, | |
| "num_experts_per_tok": 8, | |
| "num_hidden_layers": 32, | |
| "num_shared_experts": 1, | |
| "output_dropout": 0.0, | |
| "output_router_logits": false, | |
| "pad_token_id": 0, | |
| "q_head_dim": 192, | |
| "qk_nope_head_dim": 128, | |
| "qk_rope_head_dim": 64, | |
| "rms_norm_eps": 1e-06, | |
| "rope_scaling": { | |
| "beta_fast": 32, | |
| "beta_slow": 1, | |
| "factor": 40, | |
| "mscale": 1.0, | |
| "mscale_all_dim": 1.0, | |
| "original_max_position_embeddings": 4096, | |
| "type": "deepseek_yarn" | |
| }, | |
| "rope_theta": 10000.0, | |
| "routed_scaling_factor": 2.5, | |
| "tie_word_embeddings": false, | |
| "transformers_version": "4.57.2", | |
| "use_cache": false, | |
| "use_qk_norm": true, | |
| "v_head_dim": 128, | |
| "vocab_size": 262144, | |
| "torch_dtype": "bfloat16", | |
| "quantization": { | |
| "routed_experts": { | |
| "format": "int4", | |
| "method": "GPTQ (damp 0.01, MSE clip search)", | |
| "symmetric": true, | |
| "group_size": 128, | |
| "scale_dtype": "float32", | |
| "packing": "uint8 [E, N, K/2]; in each 128-group byte j = elem j (low nibble) | elem j+64 (high nibble); value = nibble - 8", | |
| "calibration": "262144 tokens of Prism-format requests over multilingual Wikipedia (11 languages)" | |
| }, | |
| "other_projections": { | |
| "format": "float8_e4m3fn", | |
| "weight_scale": "per output row (absmax / 448)", | |
| "note": "unchanged from sarvamai/prism" | |
| }, | |
| "embeddings_norms": "bfloat16", | |
| "router": "float32" | |
| } | |
| } |