{"schema_version":"1.2.0","id":"state-spaces/mamba-130m-hf","snapshot":{"generated":"2026-11-27T14:50:55Z","digest":"3e3b3951a5cae62c","snapshot_id":11754},"family":{"key":null,"representative":"state-spaces/mamba-130m-hf","members":1,"relation":"original"},"architecture":{"value":{"arch":"MambaForCausalLM","model_type":"mamba","layers":24,"hidden":768,"vocab":50280,"act":"silu","dtype":"float32","attn":"MHA","shared_experts":0,"moe_intermediate":1536,"ffn_dense":1536,"is_moe":false,"layer_types":[{"i":0,"attn_kind":"a","mlp_kind":"d","attn":"MHA","ffn_dense":1536,"ffn_gate":"swiglu","ffn_gate_source":"hidden_act: silu"}],"layer_schedule":"000000000000000000000000","layer_note":""},"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":"norm","lines":["type not stated"],"withheld":"no norm key in the config, so the type cannot be told"},{"id":"attention","kind":"use","label":"full attention","lines":["grouping not stated"],"facts":{"attn_kind":"a","attn":"MHA"},"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 1536","silu"],"facts":{"mlp_kind":"d","ffn_dense":1536},"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":"MHA","nodes":[{"id":"qkv","kind":"qkv","label":"QKV projection","lines":["head count not stated"],"source":"layer_types[0].heads/kv_heads/head_dim/qkv_bias"},{"id":"attention","kind":"attention","label":"full attention","lines":["grouping not stated"],"facts":{"attn":"MHA"},"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 1536","silu"],"facts":{"ffn_dense":1536,"ffn_gate":"swiglu","act":"silu"},"source":"layer_types[].ffn_gate (hidden_act: silu)","derived":"hidden_act: silu"}],"edges":[]}},"model":{"kind":"model","label":"MambaForCausalLM","nodes":[{"id":"text","kind":"text","label":"tokenized text","lines":["input"],"source":"spec.ctx"},{"id":"embedding","kind":"embedding","label":"token embedding","lines":["50,280 x 768"],"facts":{"vocab":50280,"hidden":768},"source":"spec.vocab/hidden/tied_embeddings"},{"id":"block.0","kind":"use","label":"transformer block","lines":["full attention","dense MLP"],"facts":{"attn_kind":"a","mlp_kind":"d"},"ref":"block.0","count":24,"source":"layer_types[0]"},{"id":"norm","kind":"norm","label":"final norm","lines":["hidden 768"],"facts":{"hidden":768},"source":"spec.hidden"},{"id":"head","kind":"head","label":"linear output layer","lines":["768 x 50,280"],"facts":{"vocab":50280,"hidden":768},"source":"spec.vocab/hidden"}],"facts":{"params_total":129135360,"params_active":129135360,"vocab":50280,"hidden":768},"edges":[["text","embedding"],["embedding","block.0"],["block.0","norm"],["norm","head"]]},"omissions":[]},"provenance":{"class":"derived","source":"config.json","method":"spec-v1"}},"lineage":{"org":"state-spaces","tier":"B","foundational":true,"excluded_because":null,"family":"mamba 130m","generation":null,"size":"<1B","role":null,"line":null,"rungs":0,"first_of_line":false,"new_rung":false},"params":{"total":129135360,"active":129135360,"active_ratio":1.0,"params_per_expert":null,"mtp_excluded":null,"provenance":{"class":"derived","method":"dense-identity-v1","total_from":"safetensors-header-v1","from_base":null},"withheld":null},"inference":{"attn_layers":24,"gb_fp16":0.26,"gb_q4":0.07,"gb_active_fp16":0.26},"quants":null,"evidence":null,"claims":[],"diagrams":{"structure":"/diagrams/state-spaces--mamba-130m-hf-structure.svg"},"history":{"points":1,"first":"2026-09-16T15:22:25Z","last":"2026-09-16T15:22:25Z"},"links":{"hf":"https://huggingface.co/state-spaces/mamba-130m-hf","papers":[],"license":null},"counters":{"downloads":51121,"likes":76,"created":"2024-03-06","modified":"2024-03-06"},"flags":{"variant":false,"gated":false,"closed_weights":false}}