{"schema_version":"1.2.0","id":"bartowski/google_gemma-3-4b-it-GGUF","snapshot":{"generated":"2026-11-27T14:50:55Z","digest":"3e3b3951a5cae62c","snapshot_id":11754},"family":{"key":"gemma34b","representative":"google/gemma-3-4b-it","members":8,"relation":"mirror"},"architecture":{"value":{"arch":"gemma3","model_type":"gemma3","layers":34,"hidden":2560,"heads":8,"kv_heads":4,"head_dim":256,"rope_theta":1000000.0,"attn":"GQA","gqa_ratio":2.0,"shared_experts":0,"is_moe":false,"layer_types":[{"i":0,"attn_kind":"s","mlp_kind":"d","attn":"GQA","heads":8,"kv_heads":4,"head_dim":256,"window":1024,"kv_per_token":4096}],"layer_schedule":"0000000000000000000000000000000000","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":["8 query -> 4 KV heads","window 1024"],"facts":{"attn_kind":"s","attn":"GQA","heads":8,"kv_heads":4,"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":"GQA","nodes":[{"id":"qkv","kind":"qkv","label":"QKV projection","lines":["8 query heads x 256","4 KV heads"],"facts":{"heads":8,"kv_heads":4,"head_dim":256},"source":"layer_types[0].heads/kv_heads/head_dim/qkv_bias"},{"id":"attention","kind":"attention","label":"sliding attention","lines":["2:1 query heads share a KV head","window 1024 tokens - the cache stops there","4.0 KB per token"],"facts":{"attn":"GQA","kv_per_token":4096,"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"]]},"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":"gemma3","nodes":[{"id":"text","kind":"text","label":"tokenized text","lines":["up to 128k tokens"],"facts":{"ctx":131072},"source":"spec.ctx"},{"id":"embedding","kind":"embedding","label":"token embedding","lines":["embedding"],"facts":{"hidden":2560},"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":34,"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":["vocabulary projection"],"facts":{"hidden":2560},"source":"spec.vocab/hidden"}],"facts":{"params_total":3880099328,"params_active":3880099328,"kv_bytes_per_token":0,"kv_window_bytes":142606336,"hidden":2560,"ctx":131072},"edges":[["text","embedding"],["embedding","block.0"],["block.0","norm"],["norm","head"]]},"omissions":[]},"provenance":{"class":"derived","source":"gguf-header","method":"spec-v1"}},"lineage":{"org":"bartowski","tier":"C","foundational":false,"excluded_because":"repack","family":"google gemma","generation":"3","size":"4B","role":"it","line":null},"params":{"total":3880099328,"active":3880099328,"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":142606336,"max_ctx_sliding":1024,"sliding_layers":34,"attn_layers":34,"gb_fp16":7.76,"gb_active_fp16":7.76,"ctx":131072},"quants":[{"format":"IQ2_M","bytes":1537868192,"files":1,"path":"google_gemma-3-4b-it-IQ2_M.gguf"},{"format":"IQ3_XXS","bytes":1689338272,"files":1,"path":"google_gemma-3-4b-it-IQ3_XXS.gguf"},{"format":"Q2_K","bytes":1729028512,"files":1,"path":"google_gemma-3-4b-it-Q2_K.gguf"},{"format":"IQ3_XS","bytes":1863254432,"files":1,"path":"google_gemma-3-4b-it-IQ3_XS.gguf"},{"format":"Q2_K_L","bytes":1891557792,"files":1,"path":"google_gemma-3-4b-it-Q2_K_L.gguf"},{"format":"Q3_K_S","bytes":1937228192,"files":1,"path":"google_gemma-3-4b-it-Q3_K_S.gguf"},{"format":"IQ3_M","bytes":1986666912,"files":1,"path":"google_gemma-3-4b-it-IQ3_M.gguf"},{"format":"Q3_K_M","bytes":2098323872,"files":1,"path":"google_gemma-3-4b-it-Q3_K_M.gguf"},{"format":"Q3_K_L","bytes":2235949472,"files":1,"path":"google_gemma-3-4b-it-Q3_K_L.gguf"},{"format":"IQ4_XS","bytes":2263105952,"files":1,"path":"google_gemma-3-4b-it-IQ4_XS.gguf"},{"format":"IQ4_NL","bytes":2363376032,"files":1,"path":"google_gemma-3-4b-it-IQ4_NL.gguf"},{"format":"Q4_0","bytes":2369929632,"files":1,"path":"google_gemma-3-4b-it-Q4_0.gguf"},{"format":"Q4_K_S","bytes":2377793952,"files":1,"path":"google_gemma-3-4b-it-Q4_K_S.gguf"},{"format":"Q3_K_XL","bytes":2398478752,"files":1,"path":"google_gemma-3-4b-it-Q3_K_XL.gguf"},{"format":"Q4_K_M","bytes":2489758112,"files":1,"path":"google_gemma-3-4b-it-Q4_K_M.gguf"},{"format":"Q4_1","bytes":2563916192,"files":1,"path":"google_gemma-3-4b-it-Q4_1.gguf"},{"format":"Q4_K_L","bytes":2652287392,"files":1,"path":"google_gemma-3-4b-it-Q4_K_L.gguf"},{"format":"Q5_K_S","bytes":2764456352,"files":1,"path":"google_gemma-3-4b-it-Q5_K_S.gguf"},{"format":"Q5_K_M","bytes":2829562272,"files":1,"path":"google_gemma-3-4b-it-Q5_K_M.gguf"},{"format":"Q5_K_L","bytes":2992091552,"files":1,"path":"google_gemma-3-4b-it-Q5_K_L.gguf"},{"format":"Q6_K","bytes":3190604192,"files":1,"path":"google_gemma-3-4b-it-Q6_K.gguf"},{"format":"Q6_K_L","bytes":3353133472,"files":1,"path":"google_gemma-3-4b-it-Q6_K_L.gguf"},{"format":"Q8_0","bytes":4130226592,"files":1,"path":"google_gemma-3-4b-it-Q8_0.gguf"},{"format":"BF16","bytes":7767474336,"files":1,"path":"google_gemma-3-4b-it-bf16.gguf"}],"evidence":{"provider_meta":{"open_weights":true,"release_date":"2025-03-12","ctx":131072,"cost_in":0.04,"cost_out":0.05,"reasoning":false,"tool_call":false,"measured_as":"Gemma 3 4B IT"}},"claims":[{"field":"params.total","claim":"4b","derived":3880099328,"delta":0.0309,"quote":"4b","source":"repo-name","source_url":"https://huggingface.co/bartowski/google_gemma-3-4b-it-GGUF"}],"diagrams":{"structure":"/diagrams/bartowski--google_gemma-3-4b-it-GGUF-structure.svg"},"history":{"points":3,"first":"2026-09-22T13:37:33Z","last":"2026-09-22T19:46:58Z"},"links":{"hf":"https://huggingface.co/bartowski/google_gemma-3-4b-it-GGUF","papers":[],"license":null},"counters":{"downloads":40294,"likes":40,"created":"2025-03-12","modified":"2025-03-22"},"flags":{"variant":true,"gated":false,"closed_weights":false}}