{"schema_version":"1.2.0","id":"litert-community/Gemma3-1B-IT","snapshot":{"generated":"2026-11-27T14:50:55Z","digest":"3e3b3951a5cae62c","snapshot_id":11754},"family":{"key":"gemma31b","representative":"google/gemma-3-1b-it","members":10,"relation":"republish"},"architecture":{"value":{"arch":"Gemma3ForCausalLM","model_type":"gemma3_text","layers":26,"hidden":1152,"heads":4,"kv_heads":1,"head_dim":256,"vocab":262144,"rope_theta":1000000,"dtype":"bfloat16","attn":"GQA","gqa_ratio":4.0,"shared_experts":0,"moe_intermediate":6912,"ffn_dense":6912,"is_moe":false,"layer_types":[{"i":0,"attn_kind":"s","mlp_kind":"d","attn":"GQA","heads":4,"kv_heads":1,"head_dim":256,"window":512,"qkv_bias":false,"ffn_dense":6912,"norm":"rmsnorm","norm_source":"rms_norm_eps","kv_per_token":1024}],"layer_schedule":"00000000000000000000000000","layer_note":"sliding window 512 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":"RMSNorm","lines":["inferred from rms_norm_eps"],"facts":{"norm":"rmsnorm"},"source":"layer_types[0].norm (rms_norm_eps)","derived":"rms_norm_eps"},{"id":"attention","kind":"use","label":"sliding attention","lines":["4 query -> 1 KV heads","window 512"],"facts":{"attn_kind":"s","attn":"GQA","heads":4,"kv_heads":1,"window":512},"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 6912"],"facts":{"mlp_kind":"d","ffn_dense":6912},"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":["4 query heads x 256","1 KV heads","no bias"],"facts":{"heads":4,"kv_heads":1,"head_dim":256,"qkv_bias":false},"source":"layer_types[0].heads/kv_heads/head_dim/qkv_bias"},{"id":"attention","kind":"attention","label":"sliding attention","lines":["4:1 query heads share a KV head","window 512 tokens - the cache stops there","1.0 KB per token"],"facts":{"attn":"GQA","kv_per_token":1024,"window":512},"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 6912"],"facts":{"ffn_dense":6912},"source":"layer_types[].ffn_dense","withheld":"the config states no activation, so the gating shape is not stated either"}],"edges":[]}},"model":{"kind":"model","label":"Gemma3ForCausalLM","nodes":[{"id":"text","kind":"text","label":"tokenized text","lines":["up to 32k tokens"],"facts":{"ctx":32768},"source":"spec.ctx"},{"id":"embedding","kind":"embedding","label":"token embedding","lines":["262,144 x 1152"],"facts":{"vocab":262144,"hidden":1152},"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":512},"ref":"block.0","count":26,"source":"layer_types[0]"},{"id":"norm","kind":"norm","label":"final norm","lines":["hidden 1152"],"facts":{"hidden":1152},"source":"spec.hidden"},{"id":"head","kind":"head","label":"linear output layer","lines":["1152 x 262,144"],"facts":{"vocab":262144,"hidden":1152},"source":"spec.vocab/hidden"}],"facts":{"params_total":1000000000,"params_active":1000000000,"kv_bytes_per_token":0,"kv_window_bytes":13631488,"vocab":262144,"hidden":1152,"ctx":32768},"edges":[["text","embedding"],["embedding","block.0"],["block.0","norm"],["norm","head"]]},"omissions":[]},"provenance":{"class":"derived","source":"config.json@unsloth/gemma-3-1b-it","method":"spec-v1","inherited_from":"unsloth/gemma-3-1b-it"}},"lineage":{"org":"litert-community","tier":"C","foundational":false,"excluded_because":"role","family":"gemma","generation":"3","size":"1B","role":"it","line":null},"params":{"total":1000000000,"active":1000000000,"active_ratio":1.0,"params_per_expert":null,"mtp_excluded":null,"provenance":{"class":"claim","method":"dense-identity-v1","total_from":"name-hint-v1","from_base":null},"withheld":null},"inference":{"kv_bytes_per_token":0,"kv_window_bytes":13631488,"max_ctx_sliding":512,"sliding_layers":26,"attn_layers":26,"gb_fp16":2.0,"gb_q4":0.55,"gb_active_fp16":2.0,"ctx":32768},"quants":null,"evidence":null,"claims":[],"diagrams":{"structure":"/diagrams/litert-community--Gemma3-1B-IT-structure.svg"},"history":{"points":3,"first":"2026-09-16T15:22:25Z","last":"2026-09-22T19:46:58Z"},"links":{"hf":"https://huggingface.co/litert-community/Gemma3-1B-IT","papers":[],"license":"gemma"},"counters":{"downloads":11466,"likes":1251,"created":"2025-03-11","modified":"2026-11-10"},"flags":{"variant":true,"gated":"auto","closed_weights":false}}