{"schema_version":"1.2.0","id":"microsoft/bitnet-b1.58-2B-4T-gguf","snapshot":{"generated":"2026-11-27T14:50:55Z","digest":"3e3b3951a5cae62c","snapshot_id":11754},"family":{"key":"b1582b4t","representative":"microsoft/bitnet-b1.58-2B-4T-gguf","members":2,"relation":"original"},"architecture":{"value":{"arch":"bitnet-b1.58","model_type":"bitnet-b1.58","layers":30,"hidden":2560,"heads":20,"kv_heads":5,"head_dim":128,"vocab":128256,"rope_theta":500000.0,"attn":"GQA","gqa_ratio":4.0,"shared_experts":0,"is_moe":false,"layer_types":[{"i":0,"attn_kind":"a","mlp_kind":"d","attn":"GQA","heads":20,"kv_heads":5,"head_dim":128,"qk_rope_head_dim":128,"kv_per_token":2560}],"layer_schedule":"000000000000000000000000000000","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":["20 query -> 5 KV heads"],"facts":{"attn_kind":"a","attn":"GQA","heads":20,"kv_heads":5},"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 not stated"],"facts":{"mlp_kind":"d"},"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":["20 query heads x 128","5 KV heads"],"facts":{"heads":20,"kv_heads":5,"head_dim":128},"source":"layer_types[0].heads/kv_heads/head_dim/qkv_bias"},{"id":"rope","kind":"rope","label":"rope","lines":["decoupled dim 128"],"facts":{"qk_rope_head_dim":128},"source":"layer_types[0].qk_rope_head_dim"},{"id":"attention","kind":"attention","label":"full attention","lines":["4:1 query heads share a KV head","2.5 KB per token"],"facts":{"attn":"GQA","kv_per_token":2560},"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"],["rope","attention"]]},"mlp.0":{"kind":"mlp","label":"dense MLP","nodes":[{"id":"ffn","kind":"ffn","label":"dense FFN","lines":["width not stated"],"source":"layer_types[].ffn_dense/expert_width","withheld":"the config states one FFN width and this model uses it for the experts, so the dense width is unknown"}],"edges":[]}},"model":{"kind":"model","label":"bitnet-b1.58","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":["128,256 x 2560"],"facts":{"vocab":128256,"hidden":2560},"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":30,"source":"layer_types[0]"},{"id":"norm","kind":"norm","label":"final norm","lines":["hidden 2560"],"facts":{"hidden":2560},"source":"spec.hidden"},{"id":"head","kind":"head","label":"linear output layer","lines":["2560 x 128,256"],"facts":{"vocab":128256,"hidden":2560},"source":"spec.vocab/hidden"}],"facts":{"params_total":2412820480,"params_active":2412820480,"kv_bytes_per_token":76800,"vocab":128256,"hidden":2560,"ctx":4096,"native_format":"ggml-model-i2_s"},"edges":[["text","embedding"],["embedding","block.0"],["block.0","norm"],["norm","head"]]},"omissions":[]},"provenance":{"class":"derived","source":"gguf-header","method":"spec-v1"}},"lineage":{"org":"microsoft","tier":"A","foundational":false,"excluded_because":"repack","family":"bitnet 4t","generation":"1.58","size":"2B","role":null,"line":null,"ladder":["1","1.5","2","4"],"rungs":4,"first_of_line":false,"new_rung":false},"params":{"total":2412820480,"active":2412820480,"active_ratio":1.0,"params_per_expert":null,"mtp_excluded":null,"provenance":{"class":"derived","method":"dense-identity-v1","total_from":"gguf-header-v1","from_base":null},"withheld":null},"inference":{"kv_bytes_per_token":76800,"attn_layers":30,"gb_fp16":4.83,"gb_active_fp16":4.83,"ctx":4096,"native_format":"ggml-model-i2_s"},"quants":[{"format":"ggml-model-i2_s","bytes":1187801280,"files":1,"path":"ggml-model-i2_s.gguf"}],"evidence":null,"claims":[{"field":"params.total","claim":"2B","derived":2412820480,"delta":-0.1711,"quote":"2B","source":"repo-name","source_url":"https://huggingface.co/microsoft/bitnet-b1.58-2B-4T-gguf"}],"diagrams":{"structure":"/diagrams/microsoft--bitnet-b1.58-2B-4T-gguf-structure.svg"},"history":{"points":2,"first":"2026-09-22T13:57:03Z","last":"2026-09-22T14:15:33Z"},"links":{"hf":"https://huggingface.co/microsoft/bitnet-b1.58-2B-4T-gguf","papers":["https://arxiv.org/abs/2504.12285"],"license":"mit"},"counters":{"downloads":18213,"likes":307,"created":"2025-04-15","modified":"2025-12-17"},"flags":{"variant":false,"gated":false,"closed_weights":false}}