{"schema_version":"1.2.0","id":"dphn/dolphin-2.9.2-Phi-3-Medium","snapshot":{"generated":"2026-11-27T14:50:55Z","digest":"3e3b3951a5cae62c","snapshot_id":11754},"family":{"key":null,"representative":"dphn/dolphin-2.9.2-Phi-3-Medium","members":1,"relation":"original"},"architecture":{"value":{"arch":"MistralForCausalLM","model_type":"mistral","layers":40,"hidden":5120,"heads":40,"kv_heads":10,"head_dim":128,"vocab":32064,"act":"silu","rope_theta":10000.0,"tied_embeddings":false,"dtype":"bfloat16","attn":"GQA","gqa_ratio":4.0,"shared_experts":0,"moe_intermediate":17920,"ffn_dense":17920,"is_moe":false,"layer_types":[{"i":0,"attn_kind":"s","mlp_kind":"d","attn":"GQA","heads":40,"kv_heads":10,"head_dim":128,"window":2048,"ffn_dense":17920,"ffn_gate":"swiglu","ffn_gate_source":"hidden_act: silu","norm":"rmsnorm","norm_source":"rms_norm_eps","kv_per_token":5120}],"layer_schedule":"0000000000000000000000000000000000000000","layer_note":"sliding window 2048 on every layer"},"graph":{"schema":"osynk-arch/1","root":"model","defs":{"block.0":{"kind":"block","label":"transformer block","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":["40 query -> 10 KV heads","window 2048"],"facts":{"attn_kind":"s","attn":"GQA","heads":40,"kv_heads":10,"window":2048},"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":"dense MLP","lines":["width 17920","silu"],"facts":{"mlp_kind":"d","ffn_dense":17920},"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":[]},"attention.0":{"kind":"attention","label":"GQA","nodes":[{"id":"qkv","kind":"qkv","label":"QKV projection","lines":["40 query heads x 128","10 KV heads"],"facts":{"heads":40,"kv_heads":10,"head_dim":128},"source":"layer_types[0].heads/kv_heads/head_dim/qkv_bias"},{"id":"attention","kind":"attention","label":"sliding attention","lines":["4:1 query heads share a KV head","window 2048 tokens - the cache stops there","5.0 KB per token"],"facts":{"attn":"GQA","kv_per_token":5120,"window":2048},"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":"dense MLP","nodes":[{"id":"ffn","kind":"ffn","label":"dense FFN","lines":["width 17920","silu"],"facts":{"ffn_dense":17920,"ffn_gate":"swiglu","act":"silu"},"source":"layer_types[].ffn_gate (hidden_act: silu)","derived":"hidden_act: silu"}],"edges":[]}},"model":{"kind":"model","label":"MistralForCausalLM","nodes":[{"id":"text","kind":"text","label":"tokenized text","lines":["up to 4k tokens"],"facts":{"ctx":4096},"source":"spec.ctx"},{"id":"embedding","kind":"embedding","label":"token embedding","lines":["32,064 x 5120"],"facts":{"vocab":32064,"hidden":5120,"tied_embeddings":false},"source":"spec.vocab/hidden/tied_embeddings"},{"id":"block.0","kind":"use","label":"transformer block","lines":["sliding attention","dense MLP"],"facts":{"attn_kind":"s","mlp_kind":"d","window":2048},"ref":"block.0","count":40,"source":"layer_types[0]"},{"id":"norm","kind":"norm","label":"final norm","lines":["hidden 5120"],"facts":{"hidden":5120},"source":"spec.hidden"},{"id":"head","kind":"head","label":"linear output layer","lines":["5120 x 32,064"],"facts":{"vocab":32064,"hidden":5120},"source":"spec.vocab/hidden"}],"facts":{"params_total":3821079552,"params_active":3821079552,"kv_bytes_per_token":0,"kv_window_bytes":419430400,"vocab":32064,"hidden":5120,"ctx":4096},"edges":[["text","embedding"],["embedding","block.0"],["block.0","norm"],["norm","head"]]},"omissions":[]},"provenance":{"class":"derived","source":"config.json","method":"spec-v1"}},"lineage":{"org":"dphn","tier":"C","foundational":false,"excluded_because":"finetune","family":"dolphin 2. phi medium","generation":"9.2.3","size":"3-10B","role":null,"line":null},"params":{"total":3821079552,"active":3821079552,"active_ratio":1.0,"params_per_expert":null,"mtp_excluded":null,"provenance":{"class":"derived","method":"dense-identity-v1","total_from":"base-borrow-v1","from_base":"unsloth/Phi-3-mini-4k-instruct"},"withheld":null},"inference":{"kv_bytes_per_token":0,"kv_window_bytes":419430400,"max_ctx_sliding":2048,"sliding_layers":40,"attn_layers":40,"gb_fp16":7.64,"gb_q4":2.1,"gb_active_fp16":7.64,"ctx":4096},"quants":null,"evidence":null,"claims":[],"diagrams":{"structure":"/diagrams/dphn--dolphin-2.9.2-Phi-3-Medium-structure.svg"},"history":{"points":2,"first":"2026-09-22T13:47:06Z","last":"2026-09-22T19:46:58Z"},"links":{"hf":"https://huggingface.co/dphn/dolphin-2.9.2-Phi-3-Medium","papers":[],"license":"mit"},"counters":{"downloads":9208,"likes":27,"created":"2024-05-31","modified":"2024-06-02"},"flags":{"variant":false,"gated":false,"closed_weights":false}}