Checkpoint tokenizer
×The tokenizer files shipped with the checkpoint.
Explanation
tokenizer.json is in the checkpoint’s repository and is pinned by its checksum only.
Sources
In codetokenizer.json
Contextual evidence
The reference configuration: 43 layers of width 4,096, 64 heads of 512 features with a 64-feature rotary part, a 1,024-feature query latent, a grouped output of 8 groups at rank 1,024, a window of 128, the per-layer compression ratios (0, 0, then 4 and 128 alternating, and 0 for the MTP block; 0 is a layer of window attention only), an indexer of 64 heads of 128 keeping 512, hyper-connections of 4 streams with 20 Sinkhorn iterations, 256 routed experts of 2,048 of which 6 are used with 1 shared, square-root-softplus scores scaled by 1.5, three hash-routed layers, and YaRN over 65,536 positions.
config.json 1–34 ↗ · deepseek-ai/DeepSeek-V4-Flash @ 60d8d70770c6
Excerpt
{
"vocab_size": 129280,
"dim": 4096,
"moe_inter_dim": 2048,
"n_layers": 43,
"n_hash_layers": 3,
"n_heads": 64,
"n_routed_experts": 256,
"n_shared_experts": 1,
"n_activated_experts": 6,
"score_func": "sqrtsoftplus",
"route_scale": 1.5,
"swiglu_limit": 10.0,
"q_lora_rank": 1024,
"head_dim": 512,
"rope_head_dim": 64,
"o_groups": 8,
"o_lora_rank": 1024,
"window_size": 128,
"original_seq_len": 65536,
"rope_theta": 10000,
"rope_factor": 16,
"beta_fast": 32,
"beta_slow": 1,
"index_n_heads": 64,
"index_head_dim": 128,
"index_topk": 512,
"hc_mult": 4,
"hc_sinkhorn_iters": 20,
"dtype": "fp8",
"scale_fmt": "ue8m0",
"expert_dtype": "fp4",
"compress_rope_theta": 160000,
"compress_ratios": [0, 0, 4, 128, 4, 128, 4, 128, 4, 128, 4, 128, 4, 128, 4, 128, 4, 128, 4, 128, 4, 128, 4, 128, 4, 128, 4, 128, 4, 128, 4, 128, 4, 128, 4, 128, 4, 128, 4, 128, 4, 128, 4, 0]