{"schema_version":"1.2.0","id":"JetBrains/Mellum2.1-12B-A2.5B-Thinking","snapshot":{"generated":"2026-11-27T14:50:55Z","digest":"3e3b3951a5cae62c","snapshot_id":11754},"family":{"key":"mellum2112ba25b","representative":"JetBrains/Mellum2.1-12B-A2.5B-Thinking","members":4,"relation":"original"},"architecture":{"value":{"arch":"MellumForCausalLM","model_type":"mellum","layers":28,"hidden":2304,"heads":32,"kv_heads":4,"head_dim":128,"vocab":98304,"act":"silu","tied_embeddings":false,"attn":"GQA","gqa_ratio":8.0,"moe_layers":28,"experts":64,"experts_per_tok":8,"shared_experts":0,"moe_intermediate":896,"ffn_dense":7168,"is_moe":true,"layer_types":[{"i":0,"attn_kind":"s","mlp_kind":"?","attn":"GQA","heads":32,"kv_heads":4,"head_dim":128,"window":1024,"qkv_bias":false,"norm":"rmsnorm","norm_source":"rms_norm_eps","kv_per_token":2048},{"i":1,"attn_kind":"a","mlp_kind":"?","attn":"GQA","heads":32,"kv_heads":4,"head_dim":128,"qkv_bias":false,"norm":"rmsnorm","norm_source":"rms_norm_eps","kv_per_token":2048}],"layer_schedule":"0001000100010001000100010001","layer_note":"attention per layer from `layer_types` (21 sliding, 7 full); 28 of 28 MoE \u2014 positions not stated"},"graph":{"schema":"osynk-arch/1","root":"model","defs":{"block.0":{"kind":"block","label":"block type 0","nodes":[{"id":"in","kind":"io","label":"in","lines":["residual stream"]},{"id":"norm1","kind":"norm","label":"RMSNorm","lines":["inferred from rms_norm_eps"],"facts":{"norm":"rmsnorm"},"source":"layer_types[0].norm (rms_norm_eps)","derived":"rms_norm_eps"},{"id":"attention","kind":"use","label":"sliding attention","lines":["32 query -> 4 KV heads","window 1024"],"facts":{"attn_kind":"s","attn":"GQA","heads":32,"kv_heads":4,"window":1024},"ref":"attention.0","source":"layer_types[0].attn/kv_lora_rank/heads/kv_heads/window"},{"id":"add1","kind":"add","label":"+","lines":["residual"]},{"id":"norm2","kind":"norm","label":"norm","lines":["same as above"]},{"id":"mlp","kind":"use","label":"MLP kind not stated","lines":["width not stated","silu"],"facts":{"mlp_kind":"?"},"ref":"mlp.0","source":"layer_types[0].mlp_kind/experts/experts_per_tok/ffn_dense"},{"id":"add2","kind":"add","label":"+","lines":["residual"]},{"id":"out","kind":"io","label":"out","lines":["to the next layer"]}],"edges":[["in","norm1"],["norm1","attention"],["attention","add1"],["add1","norm2"],["norm2","mlp"],["mlp","add2"],["add2","out"],["in","add1"],["add1","add2"]],"omissions":["the config does not say which layers route to experts"]},"block.1":{"kind":"block","label":"block type 1","nodes":[{"id":"in","kind":"io","label":"in","lines":["residual stream"]},{"id":"norm1","kind":"norm","label":"RMSNorm","lines":["inferred from rms_norm_eps"],"facts":{"norm":"rmsnorm"},"source":"layer_types[1].norm (rms_norm_eps)","derived":"rms_norm_eps"},{"id":"attention","kind":"use","label":"full attention","lines":["32 query -> 4 KV heads"],"facts":{"attn_kind":"a","attn":"GQA","heads":32,"kv_heads":4},"ref":"attention.1","source":"layer_types[1].attn/kv_lora_rank/heads/kv_heads/window"},{"id":"add1","kind":"add","label":"+","lines":["residual"]},{"id":"norm2","kind":"norm","label":"norm","lines":["same as above"]},{"id":"mlp","kind":"use","label":"MLP kind not stated","lines":["width not stated","silu"],"facts":{"mlp_kind":"?"},"ref":"mlp.1","source":"layer_types[1].mlp_kind/experts/experts_per_tok/ffn_dense"},{"id":"add2","kind":"add","label":"+","lines":["residual"]},{"id":"out","kind":"io","label":"out","lines":["to the next layer"]}],"edges":[["in","norm1"],["norm1","attention"],["attention","add1"],["add1","norm2"],["norm2","mlp"],["mlp","add2"],["add2","out"],["in","add1"],["add1","add2"]],"omissions":["the config does not say which layers route to experts"]},"attention.0":{"kind":"attention","label":"GQA","nodes":[{"id":"qkv","kind":"qkv","label":"QKV projection","lines":["32 query heads x 128","4 KV heads","no bias"],"facts":{"heads":32,"kv_heads":4,"head_dim":128,"qkv_bias":false},"source":"layer_types[0].heads/kv_heads/head_dim/qkv_bias"},{"id":"attention","kind":"attention","label":"sliding attention","lines":["8:1 query heads share a KV head","window 1024 tokens - the cache stops there","2.0 KB per token"],"facts":{"attn":"GQA","kv_per_token":2048,"window":1024},"source":"layer_types[0].attn/kv_lora_rank/window/kv_per_token"},{"id":"proj","kind":"proj","label":"output projection","lines":["back to hidden"]}],"edges":[["qkv","attention"],["attention","proj"]]},"mlp.0":{"kind":"mlp","label":"MLP kind not stated","nodes":[{"id":"ffn","kind":"ffn","label":"MLP","lines":["kind not stated"],"withheld":"the config does not say which layers route to experts, so neither shape can be drawn"}],"edges":[]},"attention.1":{"kind":"attention","label":"GQA","nodes":[{"id":"qkv","kind":"qkv","label":"QKV projection","lines":["32 query heads x 128","4 KV heads","no bias"],"facts":{"heads":32,"kv_heads":4,"head_dim":128,"qkv_bias":false},"source":"layer_types[1].heads/kv_heads/head_dim/qkv_bias"},{"id":"attention","kind":"attention","label":"full attention","lines":["8:1 query heads share a KV head","2.0 KB per token"],"facts":{"attn":"GQA","kv_per_token":2048},"source":"layer_types[1].attn/kv_lora_rank/window/kv_per_token"},{"id":"proj","kind":"proj","label":"output projection","lines":["back to hidden"]}],"edges":[["qkv","attention"],["attention","proj"]]},"mlp.1":{"kind":"mlp","label":"MLP kind not stated","nodes":[{"id":"ffn","kind":"ffn","label":"MLP","lines":["kind not stated"],"withheld":"the config does not say which layers route to experts, so neither shape can be drawn"}],"edges":[]}},"model":{"kind":"model","label":"MellumForCausalLM","nodes":[{"id":"text","kind":"text","label":"tokenized text","lines":["up to 128k tokens"],"facts":{"ctx":131072},"source":"spec.ctx"},{"id":"embedding","kind":"embedding","label":"token embedding","lines":["98,304 x 2304"],"facts":{"vocab":98304,"hidden":2304,"tied_embeddings":false},"source":"spec.vocab/hidden/tied_embeddings"},{"id":"block.0","kind":"use","label":"block type 0","lines":["sliding attention","MLP kind not stated"],"facts":{"attn_kind":"s","mlp_kind":"?","window":1024},"ref":"block.0","count":21,"source":"layer_types[0]","withheld":"part of this block's kind is not recognised"},{"id":"block.1","kind":"use","label":"block type 1","lines":["full attention","MLP kind not stated"],"facts":{"attn_kind":"a","mlp_kind":"?"},"ref":"block.1","count":7,"source":"layer_types[1]","withheld":"part of this block's kind is not recognised"},{"id":"norm","kind":"norm","label":"final norm","lines":["hidden 2304"],"facts":{"hidden":2304},"source":"spec.hidden"},{"id":"head","kind":"head","label":"linear output layer","lines":["2304 x 98,304"],"facts":{"vocab":98304,"hidden":2304},"source":"spec.vocab/hidden"}],"facts":{"params_total":12149923072,"params_active":2439060736,"kv_bytes_per_token":14336,"kv_window_bytes":44040192,"vocab":98304,"hidden":2304,"ctx":131072},"edges":[["text","embedding"],["embedding","block.0"],["block.0","block.1"],["block.1","norm"],["norm","head"]]},"omissions":[]},"provenance":{"class":"derived","source":"config.json","method":"spec-v1"}},"lineage":{"org":"JetBrains","tier":"C","foundational":false,"excluded_because":"role","family":"mellum","generation":"2.1","size":"12B 2.5B","role":"thinking","line":null},"params":{"total":12149923072,"active":2439060736,"active_ratio":0.2007,"params_per_expert":6193152,"mtp_excluded":null,"provenance":{"class":"derived","method":"moe-subtract-v1","total_from":"safetensors-header-v1","from_base":null},"withheld":null},"inference":{"kv_bytes_per_token":14336,"kv_window_bytes":44040192,"max_ctx_sliding":1024,"sliding_layers":21,"attn_layers":28,"gb_fp16":24.3,"gb_q4":6.68,"gb_active_fp16":4.88,"ctx":131072},"quants":null,"evidence":null,"claims":[{"field":"params.total","claim":"12B","derived":12149923072,"delta":-0.0123,"quote":"12B","source":"repo-name","source_url":"https://huggingface.co/JetBrains/Mellum2.1-12B-A2.5B-Thinking"},{"field":"params.active","claim":"A2.5B","derived":2439060736,"delta":0.025,"quote":"A2.5B","source":"repo-name","source_url":"https://huggingface.co/JetBrains/Mellum2.1-12B-A2.5B-Thinking"}],"diagrams":{"structure":"/diagrams/JetBrains--Mellum2.1-12B-A2.5B-Thinking-structure.svg"},"history":{"points":1,"first":"2026-10-31T14:45:36Z","last":"2026-10-31T14:45:36Z"},"links":{"hf":"https://huggingface.co/JetBrains/Mellum2.1-12B-A2.5B-Thinking","papers":["https://arxiv.org/abs/2605.31268"],"license":"apache-2.0"},"counters":{"downloads":39509,"likes":213,"created":"2026-09-20","modified":"2026-10-07"},"flags":{"variant":false,"gated":false,"closed_weights":false}}