{"schema_version":"1.2.0","id":"ai-sage/GigaChat4-37B-A4B-GGUF","snapshot":{"generated":"2026-11-27T14:50:55Z","digest":"3e3b3951a5cae62c","snapshot_id":11754},"family":{"key":null,"representative":"ai-sage/GigaChat4-37B-A4B-GGUF","members":1,"relation":"original"},"architecture":{"value":{"arch":"gigachat4","model_type":"gigachat4","layers":33,"hidden":2560,"heads":32,"kv_heads":1,"head_dim":576,"vocab":128256,"rope_theta":100000.0,"attn":"MLA","gqa_ratio":32.0,"moe_layers":32,"experts":192,"experts_per_tok":8,"shared_experts":1,"moe_intermediate":768,"is_moe":true,"layer_types":[{"i":0,"attn_kind":"a","mlp_kind":"d","attn":"MLA","heads":32,"kv_heads":1,"head_dim":576,"kv_lora_rank":512,"qk_rope_head_dim":64,"kv_per_token":1152},{"i":1,"attn_kind":"a","mlp_kind":"m","attn":"MLA","heads":32,"kv_heads":1,"head_dim":576,"kv_lora_rank":512,"qk_rope_head_dim":64,"experts":192,"experts_per_tok":8,"expert_width":768,"shared_experts":1,"kv_per_token":1152}],"layer_schedule":"011111111111111111111111111111111","layer_note":"experts from the sparse-step rule"},"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":"norm","lines":["type not stated"],"withheld":"no norm key in the config, so the type cannot be told"},{"id":"attention","kind":"use","label":"attention - MLA","lines":["latent 512 + rope 64"],"facts":{"attn_kind":"a","attn":"MLA","heads":32,"kv_heads":1},"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":[]},"block.1":{"kind":"block","label":"block type 1","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":"attention - MLA","lines":["latent 512 + rope 64"],"facts":{"attn_kind":"a","attn":"MLA","heads":32,"kv_heads":1},"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":"MoE MLP","lines":["8 of 192 experts","width 768"],"facts":{"mlp_kind":"m","experts":192,"experts_per_tok":8},"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":[]},"attention.0":{"kind":"attention","label":"MLA","nodes":[{"id":"qkv","kind":"qkv","label":"QKV projection","lines":["32 query heads x 576","1 KV heads"],"facts":{"heads":32,"kv_heads":1,"head_dim":576},"source":"layer_types[0].heads/kv_heads/head_dim/qkv_bias"},{"id":"rope","kind":"rope","label":"rope","lines":["decoupled dim 64"],"facts":{"qk_rope_head_dim":64},"source":"layer_types[0].qk_rope_head_dim"},{"id":"attention","kind":"attention","label":"attention - MLA","lines":["latent 512 + rope 64","a learned latent, not full K/V","1.1 KB per token"],"facts":{"attn":"MLA","kv_lora_rank":512,"kv_per_token":1152},"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":[]},"attention.1":{"kind":"attention","label":"MLA","nodes":[{"id":"qkv","kind":"qkv","label":"QKV projection","lines":["32 query heads x 576","1 KV heads"],"facts":{"heads":32,"kv_heads":1,"head_dim":576},"source":"layer_types[1].heads/kv_heads/head_dim/qkv_bias"},{"id":"rope","kind":"rope","label":"rope","lines":["decoupled dim 64"],"facts":{"qk_rope_head_dim":64},"source":"layer_types[1].qk_rope_head_dim"},{"id":"attention","kind":"attention","label":"attention - MLA","lines":["latent 512 + rope 64","a learned latent, not full K/V","1.1 KB per token"],"facts":{"attn":"MLA","kv_lora_rank":512,"kv_per_token":1152},"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"],["rope","attention"]]},"mlp.1":{"kind":"mlp","label":"MoE MLP","nodes":[{"id":"router","kind":"router","label":"router","lines":["top 8/192"],"facts":{"experts_per_tok":8},"source":"layer_types[1].router_*/experts_per_tok","withheld":"the config does not state the score function or the top-k normalisation"},{"id":"experts","kind":"use","label":"192 experts","lines":["width 768 each","8 fire per token"],"facts":{"experts":192,"expert_width":768,"experts_per_tok":8},"ref":"ffn.1","source":"layer_types[1].experts/expert_width/experts_per_tok"},{"id":"shared","kind":"expert","label":"1 shared expert","lines":["always on, every token"],"facts":{"shared_experts":1},"source":"layer_types[1].shared_experts/shared_width"}],"edges":[["router","experts"],["router","shared"]]},"ffn.1":{"kind":"ffn","label":"the expert FFN","edges":[],"nodes":[{"id":"ffn","kind":"ffn","label":"feed-forward","lines":["up -> gate * act -> down","width 768"],"facts":{"expert_width":768},"source":"layer_types[].expert_width","withheld":"the config states no activation, so the gating shape is not stated either"}]}},"model":{"kind":"model","label":"gigachat4","nodes":[{"id":"text","kind":"text","label":"tokenized text","lines":["up to 1024k tokens"],"facts":{"ctx":1048576},"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":"block type 0","lines":["full attention","dense MLP"],"facts":{"attn_kind":"a","mlp_kind":"d"},"ref":"block.0","count":1,"source":"layer_types[0]"},{"id":"block.1","kind":"use","label":"block type 1","lines":["full attention","MoE MLP"],"facts":{"attn_kind":"a","mlp_kind":"m","experts":192,"experts_per_tok":8},"ref":"block.1","count":32,"source":"layer_types[1]"},{"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":38257903040,"params_active":3529065920,"vocab":128256,"hidden":2560,"ctx":1048576},"edges":[["text","embedding"],["embedding","block.0"],["block.0","block.1"],["block.1","norm"],["norm","head"]]},"omissions":[]},"provenance":{"class":"derived","source":"gguf-header","method":"spec-v1"}},"lineage":{"org":"ai-sage","tier":"C","foundational":false,"excluded_because":"repack","family":"gigachat","generation":"4","size":"37B 4B","role":null,"line":null},"params":{"total":38257903040,"active":3529065920,"active_ratio":0.0922,"params_per_expert":5898240,"mtp_excluded":null,"provenance":{"class":"derived","method":"moe-subtract-v1","total_from":"gguf-header-v1","from_base":null},"withheld":[{"field":"inference.kv_bytes_per_token","reason":"hybrid (SSM/linear attention) layer mix not stated; only full-attention layers hold a KV cache"}]},"inference":{"attn_layers":33,"gb_fp16":76.52,"gb_active_fp16":7.06,"ctx":1048576},"quants":[{"format":"Q4_K_M","bytes":23253070016,"files":1,"path":"GigaChat4-37B-A4B-Q4_K_M/GigaChat4-37B-A4B-Q4_K_M.gguf"},{"format":"Q6_K","bytes":31483633856,"files":1,"path":"GigaChat4-37B-A4B-Q6_K/GigaChat4-37B-A4B-Q6_K.gguf"},{"format":"Q8_0","bytes":40737835200,"files":1,"path":"GigaChat4-37B-A4B-Q8_0/GigaChat4-37B-A4B-Q8_0.gguf"},{"format":"BF16","bytes":76581194144,"files":2,"path":"GigaChat4-37B-A4B-bf16/GigaChat4-37B-A4B-bf16-00001-of-00002.gguf"}],"evidence":null,"claims":[{"field":"params.total","claim":"37B","derived":38257903040,"delta":-0.0329,"quote":"37B","source":"repo-name","source_url":"https://huggingface.co/ai-sage/GigaChat4-37B-A4B-GGUF"},{"field":"params.active","claim":"A4B","derived":3529065920,"delta":0.1334,"quote":"A4B","source":"repo-name","source_url":"https://huggingface.co/ai-sage/GigaChat4-37B-A4B-GGUF"}],"diagrams":{"structure":"/diagrams/ai-sage--GigaChat4-37B-A4B-GGUF-structure.svg"},"history":{"points":1,"first":"2026-11-27T14:38:04Z","last":"2026-11-27T14:38:04Z"},"links":{"hf":"https://huggingface.co/ai-sage/GigaChat4-37B-A4B-GGUF","papers":[],"license":"other"},"counters":{"downloads":16942,"likes":93,"created":"2026-11-22","modified":"2026-11-26"},"flags":{"variant":false,"gated":false,"closed_weights":false}}