{"schema_version":"1.2.0","id":"tencent/Hy4-preview","snapshot":{"generated":"2026-11-27T14:50:55Z","digest":"3e3b3951a5cae62c","snapshot_id":11754},"family":{"key":"hy4","representative":"tencent/Hy4-preview","members":2,"relation":"original"},"architecture":{"value":{"arch":"HYV4ForCausalLM","model_type":"hy_v4","layers":78,"hidden":6144,"heads":64,"kv_heads":8,"head_dim":64,"vocab":120832,"act":"silu","tied_embeddings":false,"dtype":"bfloat16","attn":"MLA","gqa_ratio":8.0,"moe_layers":78,"experts":256,"experts_per_tok":8,"shared_experts":1,"moe_intermediate":2048,"ffn_dense":18432,"is_moe":true,"layer_types":[{"i":0,"attn_kind":"a","mlp_kind":"?","attn":"MLA","heads":64,"kv_heads":8,"head_dim":64,"kv_lora_rank":512,"qk_rope_head_dim":64,"sparse":true,"index_n_heads":32,"index_head_dim":128,"index_topk":2048,"qkv_bias":false,"norm":"rmsnorm","norm_source":"rms_norm_eps","kv_per_token":1152}],"layer_schedule":"000000000000000000000000000000000000000000000000000000000000000000000000000000","layer_note":"attention per layer from `layer_types`; 78 of 78 MoE \u2014 positions not stated"},"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":"attention - MLA + sparse","lines":["latent 512 + rope 64","selects a sparse subset of keys"],"facts":{"attn_kind":"a","attn":"MLA","heads":64,"kv_heads":8},"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":"MLP kind not stated","lines":["width not stated","silu"],"facts":{"mlp_kind":"?"},"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":["the config does not say which layers route to experts"]},"attention.0":{"kind":"attention","label":"MLA","nodes":[{"id":"qkv","kind":"qkv","label":"QKV projection","lines":["64 query heads x 64","8 KV heads","no bias"],"facts":{"heads":64,"kv_heads":8,"head_dim":64,"qkv_bias":false},"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":"indexer","kind":"indexer","label":"sparse indexer","lines":["32 heads - dim 128","selects 2,048 keys"],"facts":{"index_n_heads":32,"index_head_dim":128,"index_topk":2048},"source":"layer_types[0].index_n_heads/index_head_dim/index_topk"},{"id":"attention","kind":"attention","label":"attention - MLA + sparse","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"],["indexer","attention"]]},"mlp.0":{"kind":"mlp","label":"MLP kind not stated","nodes":[{"id":"ffn","kind":"ffn","label":"MLP","lines":["kind not stated"],"withheld":"the config does not say which layers route to experts, so neither shape can be drawn"}],"edges":[]}},"model":{"kind":"model","label":"HYV4ForCausalLM","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":["120,832 x 6144"],"facts":{"vocab":120832,"hidden":6144,"tied_embeddings":false},"source":"spec.vocab/hidden/tied_embeddings"},{"id":"block.0","kind":"use","label":"transformer block","lines":["full attention","MLP kind not stated"],"facts":{"attn_kind":"a","mlp_kind":"?"},"ref":"block.0","count":78,"source":"layer_types[0]","withheld":"part of this block's kind is not recognised"},{"id":"norm","kind":"norm","label":"final norm","lines":["hidden 6144"],"facts":{"hidden":6144},"source":"spec.hidden"},{"id":"head","kind":"head","label":"linear output layer","lines":["6144 x 120,832"],"facts":{"vocab":120832,"hidden":6144},"source":"spec.vocab/hidden"}],"facts":{"params_total":779960992733,"params_active":40085767133,"kv_bytes_per_token":89856,"vocab":120832,"hidden":6144,"ctx":1048576},"edges":[["text","embedding"],["embedding","block.0"],["block.0","norm"],["norm","head"]]},"omissions":["1 multi-token-prediction layer on top of the stack (published as `mtp_layers`)"]},"provenance":{"class":"derived","source":"config.json","method":"spec-v1"}},"lineage":{"org":"tencent","tier":"A","foundational":false,"excluded_because":"role","family":"hy","generation":"4","size":"300B-1T","role":"preview","line":null,"ladder":["2","3","4"],"position":3,"rungs":3,"first_of_line":false,"new_rung":false},"params":{"total":779960992733,"active":40085767133,"active_ratio":0.0514,"params_per_expert":37748736,"mtp_excluded":9663676416,"provenance":{"class":"derived","method":"moe-subtract-mtp-v1","total_from":"safetensors-header-v1","from_base":null},"withheld":null},"inference":{"kv_bytes_per_token":89856,"attn_layers":78,"gb_fp16":1559.92,"gb_q4":428.98,"gb_active_fp16":80.17,"ctx":1048576},"quants":null,"evidence":{"provider_meta":{"open_weights":true,"release_date":"2026-11-04","ctx":1048576,"cost_in":1.170936,"cost_out":3.511404,"reasoning":true,"tool_call":true,"measured_as":"Hy4"}},"claims":[],"diagrams":{"structure":"/diagrams/tencent--Hy4-preview-structure.svg"},"history":{"points":4,"first":"2026-09-16T15:22:25Z","last":"2026-11-25T21:21:23Z"},"links":{"hf":"https://huggingface.co/tencent/Hy4-preview","papers":["https://arxiv.org/abs/2512.02556","https://arxiv.org/abs/2603.12201"],"license":"apache-2.0"},"counters":{"downloads":10362,"likes":571,"created":"2026-08-27","modified":"2026-08-28"},"flags":{"variant":false,"gated":false,"closed_weights":false}}