{"schema_version":"1.2.0","id":"unsloth/gemma-4-12b-it-GGUF","snapshot":{"generated":"2026-11-27T14:50:55Z","digest":"3e3b3951a5cae62c","snapshot_id":11754},"family":{"key":"gemma412b","representative":"google/gemma-4-12B-it","members":17,"relation":"mirror"},"architecture":{"value":{"arch":"gemma4","model_type":"gemma4","layers":48,"hidden":3840,"heads":16,"kv_heads":16,"head_dim":512,"rope_theta":1000000.0,"attn":"MHA","gqa_ratio":1.0,"shared_experts":0,"is_moe":false,"layer_types":[{"i":0,"attn_kind":"s","mlp_kind":"d","attn":"MHA","heads":16,"kv_heads":16,"head_dim":512,"qk_rope_head_dim":512,"window":1024,"kv_per_token":32768}],"layer_schedule":"000000000000000000000000000000000000000000000000","layer_note":"sliding window 1024 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":"norm","lines":["type not stated"],"withheld":"no norm key in the config, so the type cannot be told"},{"id":"attention","kind":"use","label":"sliding attention","lines":["16 query -> 16 KV heads","window 1024"],"facts":{"attn_kind":"s","attn":"MHA","heads":16,"kv_heads":16,"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":"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":"MHA","nodes":[{"id":"qkv","kind":"qkv","label":"QKV projection","lines":["16 query heads x 512"],"facts":{"heads":16,"kv_heads":16,"head_dim":512},"source":"layer_types[0].heads/kv_heads/head_dim/qkv_bias"},{"id":"rope","kind":"rope","label":"rope","lines":["decoupled dim 512"],"facts":{"qk_rope_head_dim":512},"source":"layer_types[0].qk_rope_head_dim"},{"id":"attention","kind":"attention","label":"sliding attention","lines":["every head has its own K/V","window 1024 tokens - the cache stops there","32.0 KB per token"],"facts":{"attn":"MHA","kv_per_token":32768,"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"],["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":"gemma4","nodes":[{"id":"text","kind":"text","label":"tokenized text","lines":["up to 256k tokens"],"facts":{"ctx":262144},"source":"spec.ctx"},{"id":"embedding","kind":"embedding","label":"token embedding","lines":["embedding"],"facts":{"hidden":3840},"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":1024},"ref":"block.0","count":48,"source":"layer_types[0]"},{"id":"norm","kind":"norm","label":"final norm","lines":["hidden 3840"],"facts":{"hidden":3840},"source":"spec.hidden"},{"id":"head","kind":"head","label":"linear output layer","lines":["vocabulary projection"],"facts":{"hidden":3840},"source":"spec.vocab/hidden"}],"facts":{"params_total":11907350576,"params_active":11907350576,"kv_bytes_per_token":0,"kv_window_bytes":1610612736,"hidden":3840,"ctx":262144},"edges":[["text","embedding"],["embedding","block.0"],["block.0","norm"],["norm","head"]]},"omissions":[]},"provenance":{"class":"derived","source":"gguf-header","method":"spec-v1"}},"lineage":{"org":"unsloth","tier":"C","foundational":false,"excluded_because":"repack","family":"gemma","generation":"4","size":"12B","role":"it","line":null,"rungs":0,"first_of_line":false,"new_rung":false,"base_of":"google/gemma-4-12B"},"params":{"total":11907350576,"active":11907350576,"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":0,"kv_window_bytes":1610612736,"max_ctx_sliding":1024,"sliding_layers":48,"attn_layers":48,"gb_fp16":23.81,"gb_active_fp16":23.81,"ctx":262144},"quants":[{"format":"IQ2_M","bytes":4213353280,"files":1,"path":"gemma-4-12b-it-UD-IQ2_M.gguf"},{"format":"IQ3_XXS","bytes":4639716160,"files":1,"path":"gemma-4-12b-it-UD-IQ3_XXS.gguf"},{"format":"Q2_K_XL","bytes":4661419840,"files":1,"path":"gemma-4-12b-it-UD-Q2_K_XL.gguf"},{"format":"Q3_K_S","bytes":5135014720,"files":1,"path":"gemma-4-12b-it-Q3_K_S.gguf"},{"format":"Q3_K_M","bytes":5693872960,"files":1,"path":"gemma-4-12b-it-Q3_K_M.gguf"},{"format":"Q3_K_XL","bytes":6022684480,"files":1,"path":"gemma-4-12b-it-UD-Q3_K_XL.gguf"},{"format":"IQ4_XS","bytes":6375734080,"files":1,"path":"gemma-4-12b-it-IQ4_XS.gguf"},{"format":"IQ4_NL","bytes":6716357440,"files":1,"path":"gemma-4-12b-it-IQ4_NL.gguf"},{"format":"Q4_0","bytes":6738475840,"files":1,"path":"gemma-4-12b-it-Q4_0.gguf"},{"format":"Q4_K_S","bytes":6764526400,"files":1,"path":"gemma-4-12b-it-Q4_K_S.gguf"},{"format":"Q4_K_M","bytes":7121861440,"files":1,"path":"gemma-4-12b-it-Q4_K_M.gguf"},{"format":"Q4_K_XL","bytes":7366423360,"files":1,"path":"gemma-4-12b-it-UD-Q4_K_XL.gguf"},{"format":"Q4_1","bytes":7397604160,"files":1,"path":"gemma-4-12b-it-Q4_1.gguf"},{"format":"Q5_K_S","bytes":8204680000,"files":1,"path":"gemma-4-12b-it-Q5_K_S.gguf"},{"format":"Q5_K_M","bytes":8413576000,"files":1,"path":"gemma-4-12b-it-Q5_K_M.gguf"},{"format":"Q5_K_XL","bytes":8606021440,"files":1,"path":"gemma-4-12b-it-UD-Q5_K_XL.gguf"},{"format":"Q6_K","bytes":9786022720,"files":1,"path":"gemma-4-12b-it-Q6_K.gguf"},{"format":"Q6_K_XL","bytes":10685012800,"files":1,"path":"gemma-4-12b-it-UD-Q6_K_XL.gguf"},{"format":"Q8_0","bytes":12669647680,"files":1,"path":"gemma-4-12b-it-Q8_0.gguf"},{"format":"Q8_K_XL","bytes":13637327680,"files":1,"path":"gemma-4-12b-it-UD-Q8_K_XL.gguf"},{"format":"BF16","bytes":23832066656,"files":1,"path":"gemma-4-12b-it-BF16.gguf"}],"evidence":{"provider_meta":{"open_weights":true,"release_date":"2026-06-09","ctx":262144,"cost_in":0.1,"cost_out":0.3,"reasoning":false,"tool_call":true,"measured_as":"Gemma 4 12B IT"}},"claims":[],"diagrams":{"structure":"/diagrams/unsloth--gemma-4-12b-it-GGUF-structure.svg"},"history":{"points":3,"first":"2026-09-22T13:37:33Z","last":"2026-09-22T19:46:58Z"},"links":{"hf":"https://huggingface.co/unsloth/gemma-4-12b-it-GGUF","papers":[],"license":"apache-2.0"},"counters":{"downloads":2415369,"likes":997,"created":"2026-05-29","modified":"2026-07-17"},"flags":{"variant":true,"gated":false,"closed_weights":false}}