[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-116110":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":8,"htmlUrl":8,"language":9,"languages":8,"totalLinesOfCode":8,"stars":10,"forks":11,"watchers":12,"openIssues":13,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":15,"stars7d":16,"stars30d":16,"stars90d":14,"forks30d":14,"starsTrendScore":17,"compositeScore":18,"rankGlobal":8,"rankLanguage":8,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":20,"hasPages":20,"topics":22,"createdAt":8,"pushedAt":23,"updatedAt":24,"readmeContent":25,"aiSummary":26,"trendingCount":14,"starSnapshotCount":14,"syncStatus":27,"lastSyncTime":28,"discoverSource":29},116110,"SenseNova-Loop","OpenSenseNova\u002FSenseNova-Loop","OpenSenseNova",null,"Python",292,23,1,5,0,7,75,50,82.64,"Apache License 2.0",false,"main",[],"2026-11-18 10:03:54","2026-11-23 19:14:31","# SenseNova-Loop-9B\n\n\u003Cp align=\"center\">\n  \u003Cstrong>English\u003C\u002Fstrong> | \u003Ca href=\".\u002FREADME_CN.md\">简体中文\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fhuggingface.co\u002Fsensenova\u002FSenseNova-Loop-9B\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F%F0%9F%A4%97%20HuggingFace-SenseNova--Loop--9B-yellow\" alt=\"SenseNova-Loop-9B on Hugging Face\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fhuggingface.co\u002Fsensenova\u002FSenseNova-Loop-9B-Preview\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F%F0%9F%A4%97%20HuggingFace-SenseNova--Loop--9B--Preview-yellow\" alt=\"SenseNova-Loop-9B-Preview on Hugging Face\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fmodelscope.cn\u002Fmodels\u002Fsensenova\u002FSenseNova-Loop-9B\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FModelScope-SenseNova--Loop--9B-624AFF?logo=modelscope&amp;logoColor=white\" alt=\"SenseNova-Loop-9B on ModelScope\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fmodelscope.cn\u002Fmodels\u002FSenseNova\u002FSenseNova-Loop-9B-Preview\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FModelScope-SenseNova--Loop--9B--Preview-624AFF?logo=modelscope&amp;logoColor=white\" alt=\"SenseNova-Loop-9B-Preview on ModelScope\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FOpenSenseNova\u002FSenseNova-Loop\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FGitHub-SenseNova--Loop-181717?logo=github&amp;logoColor=white\" alt=\"GitHub repository\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FOpenSenseNova\u002FSenseNova-Loop\u002Fblob\u002Fmain\u002FLICENSE\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-Apache%202.0-blue.svg\" alt=\"Apache 2.0 License\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fhuggingface.co\u002Fsensenova\u002FSenseNova-Loop-9B-Preview\u002Fblob\u002Fmain\u002Fconfig.json\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FArchitecture-sensenova__loop-2459B8\" alt=\"sensenova_loop architecture\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fdiscord.com\u002Finvite\u002FBuTXPHmQub\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FDiscord-Join-5865F2?logo=discord&amp;logoColor=white\" alt=\"Join Discord\">\u003C\u002Fa>\n\u003C\u002Fp>\n\n## 🌐 Architecture\n\n![这张图是SenseNova-Loop-9B的整体架构示意图，整体以淡紫色调呈现。图的上部展示模型的宏观层级流转：先经过前置循环的A层，随后进入标注为Looped block的循环模块，该模块包含1-st Looped Pass等多轮循环传递，每轮均包含多个TBK单元，对应模型中部的B层，之后进入后置循环的最后C层，最终接入LM Head得到输出。图的下部为mHC模块的内部细节，展示了特征通过Transform分支的Attention\u002FFFN计算、结合双随机矩阵的残差混合多流操作，完成特征的迭代更新，直观呈现该模型的核心特殊架构设计。](assets\u002Fhero.png)\n\n## 📣 News\n\n**🔥 2026-11-18:** Added download links for the [AWQ](https:\u002F\u002Fhuggingface.co\u002Fsensenova\u002FSenseNova-Loop-9B-AWQ) and [GGUF](https:\u002F\u002Fhuggingface.co\u002Fsensenova\u002FSenseNova-Loop-9B-GGUF) weights.\n\n**🔥 2026-11-17:** We release SenseNova-Loop-9B, with model weights and code available to the community.\n\n**🔥 2026-10-31:** We release SenseNova-Loop-9B-Preview, with model weights and code available to the community.\n\n## 🚀 SenseNova-Loop-9B: Deeper Computation with Fewer Parameters\n\nWe officially release SenseNova-Loop-9B. Building on the Preview's exploration of parameter efficiency, the model reuses layer weights through a looped architecture and combines them with manifold-constrained hyper-connections (mHC) to expand computational depth within a compact parameter budget. It is designed for complex reasoning, coding, tool use, and multimodal tasks.\n\nSince the Preview release, we have received community interest and feedback on model use, inference deployment, and ecosystem integration. The official release retains the looped architecture and two-stream mHC, further improving performance on agentic, coding, and data analysis tasks while continuing to explore the capabilities of looped computation.\n\nSenseNova-Loop-9B has approximately 9B parameters. By repeatedly executing shared middle layers, it extends 32 physical decoder layers into 56 layer executions. The model accepts text and images and generates text, supporting long-context understanding and multi-step tasks. In agentic and data analysis evaluations, the model is competitive with Qwen3.8-27B: it scores 41.36 versus 44.60 on NL2Repo and 65.31 versus 65.01 on AIDABench.\n\n### Model Highlights\n\n- **Shared looped block:** 24 decoder layers are executed twice in sequence, producing 56 layer computations from 32 distinct layers per forward pass.\n- **Two-stream mHC:** learned mappings route and combine information between two residual streams within the looped block.\n- **Hybrid attention:** the decoder interleaves linear and full attention in a repeating four-layer pattern.\n- **Long-context multimodal training:** the training recipe includes text, images, code, and tool-use trajectories, with the context length extended to 512K tokens.\n- **Low-memory deployment:** With 4-bit weights and an 8-bit KV cache, multimodal inference at a 256K context length requires approximately 15 GiB of GPU memory.\n- **Official quantized release:** An official AWQ 4-bit version is available on launch day for easier deployment.\n\n## 🎬 Showcase\n\n### 3D\n\n![Cloudside Market: rotating 3D scene](assets\u002Fshowcase_ref_3d.gif)\n\n### SVG + Web\n\n![ORBIT: an interactive space exploration website](assets\u002Fshowcase_ref_orbit.gif)\n\n### Poster\n\n![Distortion FM: an animated music festival poster](assets\u002Fshowcase_ref_poster.gif)\n\n### Web\n\n![TYPE RELAY: an interactive typography exhibition](assets\u002Fshowcase_ref_web.gif)\n\n### Design\n\n![Beyond the Coastline: a photo editorial website](assets\u002Fshowcase_ref_coast.gif)\n\n## 📊 Model Performance: From Preview to Release\n\nWe evaluate SenseNova-Loop-9B on agentic, coding, and data analysis tasks, comparing the release with the Preview and other models.\n\n![Benchmark comparison of SenseNova-Loop-9B, the Preview, and other models](assets\u002Frelease_benchmark_iuua.png)\n\nThe release outperforms the Preview on all seven benchmarks shown. AutomationBench rises from 14.33 to 36.67, Terminal-Bench 2.1 from 40.45 to 59.55, and GAIA from 37.86 to 69.90.\n\nCompared with Qwen3.8-27B, the release matches its 36.67 on AutomationBench and scores 65.31 versus 65.01 on AIDABench. On NL2Repo, it scores 41.36 versus 44.60. Its BIRD score of 72.34 is 0.96 percentage points above the Preview's 71.38.\n\n## 🧠 Model Architecture\n\nSenseNova-Loop-9B is built on a 32-layer multimodal decoder combining shared-weight looped computation, hybrid attention, and two-stream manifold-constrained hyper-connections (mHC). It extends computation depth by reusing middle-layer parameters, accepts text and images, generates text, and supports a context length of up to 512K tokens.\n\n### Model Specifications\n\n| Property | SenseNova-Loop-9B |\n|-|-|\n| Architecture | Autoregressive multimodal decoder; looped block with two-stream mHC |\n| Parameter scale | Approximately 9B total parameters; approximately 14.6B inference-equivalent parameters |\n| Input \u002F output | Text and images \u002F text |\n| Distinct decoder layers | 32 |\n| Looped layer range \u002F passes | [4, 28) \u002F 2, with shared weights |\n| Decoder layer executions | 56 per forward pass |\n| mHC residual streams | 2 |\n| Context length | 512K tokens |\n| Weight precision | BF16 backbone; FP32 mHC routing parameters |\n\n### Looped Decoder\n\nInputs first pass through layers 0–3, then through the same block of layers 4–27 twice, and finally through layers 28–31 and the output head. If B denotes the looped block and h its input, the looped computation can be written as B(B(h)).\n\nDuring inference, each forward pass performs 56 decoder-layer computations while storing only 32 sets of decoder-layer weights. The looped block shares the same weights across both passes, with the output of the first pass serving as input to the second.\n\n### Hybrid Attention\n\nThe decoder interleaves linear attention and full attention. Each group of four layers contains three linear-attention layers followed by one full-attention layer. The loop boundaries align with complete four-layer groups, so both passes preserve the same attention pattern.\n\n### Two-Stream mHC\n\nWithin the looped block, mHC uses two residual streams to carry information around decoder-layer computations. Learned mappings determine how each layer reads from the streams, mixes information between them, and writes its output back to the residual state. The stream-mixing map is constrained with Sinkhorn normalization, using 20 iterations in the model configuration.\n\nThe two streams can be viewed as two sets of hidden states carried in parallel. A looped layer reads from the streams, applies attention or feed-forward computation, and writes its output back. Repeated row and column normalization constrains how information is mixed between the streams. These 20 normalization iterations are internal to mHC and are separate from the two passes through the looped block.\n\nThe loop range, number of passes, and mHC routing parameters together define the checkpoint's execution configuration. A compatible inference implementation must load these parameters and preserve the same computation order.\n\n| Configuration | Value |\n|-|-|\n| Distinct decoder layers \u002F executions | 32 \u002F 56 |\n| Looped layer range \u002F passes | [4, 28) \u002F 2 |\n| Hidden dimension | 4,096 |\n| Feed-forward dimension | 12,288 |\n| Vocabulary size | 248,320 |\n| Full-attention heads \u002F KV heads | 16 \u002F 4 |\n| mHC residual streams \u002F Sinkhorn iterations | 2 \u002F 20 |\n\n## 🔬 Loop Scaling: Exploring the Benefits of Looped Computation\n\n![Loop Scaling: matched training and inference loops across four benchmarks](assets\u002Floop_scaling_zh_latest.png)\n\nLooped Transformers show promising performance scaling, offering another way to expand model capability through repeated computation. Using the original 9B model with a standard single forward pass (Loop 1) as the baseline, we vary the number of loops while holding the training data and other settings constant. Overall performance improves across the four tasks, with the best results at three or four loops. AIDABench-QA and Workbuddy-office peak at three loops, improving by 6.42% and 16.93% relative to the baseline; LiveCodeBench V6 and AIDABench data visualization peak at four loops, improving by 8.10% and 8.55%.\n\nTo balance inference efficiency, both the Preview and the release use two loops by default. Deeper loops nevertheless provide further gains: moving from two to four loops improves LiveCodeBench V6 by 1.04 percentage points and AIDABench data visualization by 1.35 percentage points. These experiments cover one to four loops, leaving the potential of deeper looping open for further study.\n\nDifferent tasks respond differently to loop depth. We will continue exploring deeper computation and Dynamic Loop architectures that adapt the number of loops to each input, allocating computation according to task complexity.\n\n## 💾 Low-Memory Deployment\n\nThe shared looped architecture uses approximately 9B distinct parameters. With 4-bit weight quantization, the model weights occupy approximately 4.9 GB. Using an 8-bit or 4-bit KV cache can further reduce memory requirements for long-context inference. The estimated minimum GPU memory requirements for deployment are:\n\n| Context length | 8-bit KV cache | 4-bit KV cache |\n| --- | ---: | ---: |\n| 64K | ~10 GiB | ~9 GiB |\n| 128K | ~12 GiB | ~10 GiB |\n| 256K | ~15 GiB | ~12 GiB |\n\n## Get Started\n\n### Model Weights\n\n| Weights | Download | Files |\n| --- | --- | --- |\n| BF16 | [Hugging Face](https:\u002F\u002Fhuggingface.co\u002Fsensenova\u002FSenseNova-Loop-9B) · [ModelScope](https:\u002F\u002Fmodelscope.cn\u002Fmodels\u002Fsensenova\u002FSenseNova-Loop-9B) | Release weights in Safetensors format |\n| AWQ | [Hugging Face](https:\u002F\u002Fhuggingface.co\u002Fsensenova\u002FSenseNova-Loop-9B-AWQ) | 4-bit AWQ weights and matching MTP draft |\n| GGUF | [Hugging Face](https:\u002F\u002Fhuggingface.co\u002Fsensenova\u002FSenseNova-Loop-9B-GGUF) | BF16, Q8_0, Q5_K_M, and Q4_K_M |\n\n### Text Generation with Transformers\n\nUse Transformers to load the model from a Hugging Face repository or a local model directory. The examples below cover single-GPU text generation and serving with inference engines.\n\n#### Requirements\n\nThe checked Preview environment uses Transformers 5.18.0, PyTorch 2.11.0, and CUDA 13.0. The model directory must include the configuration, tokenizer, chat template, custom model code, and all weight shards.\n\nFirst install a CUDA-compatible build of [PyTorch](https:\u002F\u002Fpytorch.org\u002Fget-started\u002Flocally\u002F), then install the remaining dependencies:\n\n```bash\npython -m pip install \"transformers==5.18.0\" accelerate safetensors\n```\n\nSet model_id to the release model directory or repository ID, then run:\n\n```python\nimport torch\nfrom transformers import AutoModelForCausalLM, AutoTokenizer\n\nmodel_id = \"\u002Fpath\u002Fto\u002FSenseNova-Loop-9B\"\ndevice = \"cuda:0\"\n\ntokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)\nmodel = AutoModelForCausalLM.from_pretrained(\n    model_id,\n    trust_remote_code=True,\n    dtype=torch.bfloat16,\n    device_map={\"\": device},\n).eval()\n\nmessages = [{\"role\": \"user\", \"content\": \"What is 13 times 7?\"}]\nprompt = tokenizer.apply_chat_template(\n    messages,\n    tokenize=False,\n    add_generation_prompt=True,\n    enable_thinking=True,\n)\ninputs = tokenizer(prompt, return_tensors=\"pt\").to(device)\nwith torch.inference_mode():\n    outputs = model.generate(\n        **inputs,\n        max_new_tokens=512,\n        do_sample=False,\n        use_cache=True,\n    )\nresponse = tokenizer.decode(\n    outputs[0, inputs.input_ids.shape[1]:],\n    skip_special_tokens=True,\n)\nprint(response)\n```\n\nThe example enables thinking mode, uses greedy decoding, and generates up to 512 new tokens. Set enable_thinking to False to disable thinking, or change device to select a GPU. trust_remote_code=True loads the custom SenseNova Loop model implementation.\n\n### Deployment\n\nThe following commands are adapted from the Preview deployment examples. Replace the model path with the release checkpoint directory; the release engine versions and configurations will be updated with the model.\n\n#### LightLLM\n\nFour-GPU deployment example:\n\n```bash\ndocker pull ghcr.io\u002Fmodeltc\u002Flightllm:main\n\ndocker run --rm --gpus all --ipc=host -p 8000:8000 \\\n  -v \u002Fpath\u002Fto\u002FSenseNova-Loop-9B:\u002Fmodel \\\n  -e LOADWORKER=4 -e LIGHTLLM_TRITON_AUTOTUNE_LEVEL=1 \\\n  ghcr.io\u002Fmodeltc\u002Flightllm:main \\\n  python -m lightllm.server.api_server \\\n    --model_dir \u002Fmodel --model_name SenseNova-Loop-9B \\\n    --tp 4 --host 0.0.0.0 --port 8000\n```\n\nOnce the service is running, send an OpenAI-compatible request:\n\n```bash\ncurl http:\u002F\u002Flocalhost:8000\u002Fv1\u002Fchat\u002Fcompletions \\\n  -H 'Content-Type: application\u002Fjson' \\\n  -d '{\"model\": \"SenseNova-Loop-9B\", \"messages\": [{\"role\": \"user\", \"content\": \"Hello!\"}], \"max_tokens\": 128}'\n```\n\n#### SGLang\n\nUse the version from [SGLang PR #47281](https:\u002F\u002Fgithub.com\u002Fsgl-project\u002Fsglang\u002Fpull\u002F47281), which includes the SenseNova Loop implementation, and replace the model path:\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Fsgl-project\u002Fsglang.git\ncd sglang\ngit fetch origin pull\u002F47281\u002Fhead\ngit checkout -b sensenova-loop FETCH_HEAD\npython -m pip install -e .\u002Fpython\n\nsglang serve --model-path \u002Fpath\u002Fto\u002FSenseNova-Loop-9B\n```\n\n#### vLLM\n\nUse the version from [vLLM PR #64832](https:\u002F\u002Fgithub.com\u002Fvllm-project\u002Fvllm\u002Fpull\u002F64832), which includes the SenseNova Loop implementation, and replace the model path:\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Fvllm-project\u002Fvllm.git\ncd vllm\ngit fetch origin pull\u002F64832\u002Fhead\ngit checkout -b sensenova-loop FETCH_HEAD\npython -m pip install -e .\n\nvllm serve \u002Fpath\u002Fto\u002FSenseNova-Loop-9B \\\n  --served-model-name sensenova_loop \\\n  --tensor-parallel-size 4 \\\n  --dtype bfloat16\n```\n\n### Inference Acceleration\n\nSenseNova-Loop supports MTP speculative decoding. DSpark and DFlash2 draft model training instructions are available in [SenseSpec](https:\u002F\u002Fgithub.com\u002FOpenSenseNova\u002FSenseSpec); available release draft weights and launch settings will be updated with the model.\n\n## 🏋️ Training\n\nFor model fine-tuning, refer to the SenseNova-Loop examples in [OpenSenseNova\u002Ftorchtitan](https:\u002F\u002Fgithub.com\u002FOpenSenseNova\u002Ftorchtitan).\n\nTraining scripts for DSpark and DFlash2 speculative decoding draft models are available in [OpenSenseNova\u002FSenseSpec](https:\u002F\u002Fgithub.com\u002FOpenSenseNova\u002FSenseSpec).\n\n## ⚠️ Known Limitations\n\nGiven its size and development time, SenseNova-Loop-9B has room for improvement in the following areas:\n\n- **Complex instruction following:** The model may misunderstand or miss requirements when given many complex tool definitions or multiple constraints.\n- **Coding and general agent tasks:** Performance can be inconsistent on coding and general agent tasks. The model can correct some errors through additional steps, but its ability to handle complex, long-horizon tasks still needs improvement.\n- **Complex web generation:** Websites with complex 3D scenes and rich animations may not be completed in a single turn. Some examples require user feedback and two to three rounds of refinement.\n\nWe will continue to improve the model and plan to apply the Loop architecture to larger models in the future. We welcome community feedback and reports of issues.\n\n## 📄 License and Citation\n\nThe model project is licensed under the [Apache License 2.0](https:\u002F\u002Fgithub.com\u002FOpenSenseNova\u002FSenseNova-Loop\u002Fblob\u002Fmain\u002FLICENSE).\n\n---\n","SenseNova-Loop-9B 是一个基于循环架构的大语言模型，通过权重复用与流形约束超连接（mHC）机制，在保持9B参数量级的前提下显著提升计算深度和推理能力。核心特点包括多轮循环前馈（Looped Block）、双随机矩阵驱动的残差混合特征更新、支持AWQ\u002FGGUF量化部署，以及对复杂推理、代码生成、工具调用和轻量级多模态任务的优化适配。适用于资源受限但需强逻辑推理能力的边缘端或中等规模服务场景，如本地AI助手、自动化脚本生成、教育类交互系统等。",2,"2026-11-24 04:52:49","CREATED_QUERY"]