Explore the research collection
5 entries · Compare the first 2 datasets · Follow this search
- Model
Qwenputer: a fully functioning, deterministic RISC-V CPU inside Qwen3.5
A stock Qwen3.5-4B with a 32-bit RISC-V CPU compiled directly into its weights — no training involved, a compiler sets every CPU weight directly. Mechanism: Qwen3.5 uses Gated DeltaNet (a linear RNN) in 3 of 4 attention layers; setting gate=1 and write strength beta=1 with one-hot key encoding makes each GDN head's state matrix work as exact, addressable RAM (one row per address, fixed size regardless of context length, unlike a KV cache). The CPU (RV32IM + Zba extension + bignum unit) is 11 compiled layers placed before Qwen's 32 layers; Qwen's own weights are unchanged, CPU weights added in extra dims/layers (hidden size 3968 = Qwen's 2560 + computer dims; vocab +230,324 trace tokens). Each instruction becomes a few generated tokens (ADDR, VAL, STEP); Qwen piggybacks on its trained tool-call format for `calc`, but no external tool, runtime, or sandbox ever runs — the compiled layers read the call, execute, and write the tool response. The CPU passes the official riscv-tests, matches qemu, and ran 18 million instructions free-running with no error; ~230,000 output positions replayed against a reference machine with zero mismatches. It runs C and MicroPython in the forward passes. Benchmarks (greedy, 40 problems/set, HF/blog tables): DeepMind div_big Qwenputer 97.5% vs Python-tool 95% vs base 72.5%; mul_big 97.5% vs 100% vs 55%; mul_div_multiple_longer 100% vs 97.5% vs 90%; add_or_sub_big 97.5% vs 97.5% vs 87.5%; NUPA long-integer arithmetic 48.6% (base) → 100% (Qwenputer, same as Python tool); synthetic integer arithmetic 97.5% vs base 75%. Normal text behaviour stays within noise of base (KL 6e-4 vs noise floor 5e-4). Experimental extension: an in-model filesystem in DeltaNet state (put/append/get/list/delete; 1,024 directory slots, up to 512 files, ~53k tokens of text; state saveable across conversations) — code on the rv-store branch, separate HF model, still experimental.
- Paper
A Unified View of Attention and Residual Sinks: Outlier-Driven Rescaling is Essential for Transformer Training
Unifies the two emergent outlier phenomena in LLMs — attention sinks (a few tokens receiving large attention logits) and residual sinks (fixed dimensions with persistently large activations) — under 'outlier-driven rescaling': the outliers work jointly with normalization (softmax attention, RMSNorm) to rescale non-outlier components, and this mechanism is validated across architectures and training token counts. Main conclusions: (1) outliers function jointly with normalization — removing normalization eliminates the outliers but degrades training stability and performance; clipping outliers while keeping normalization also degrades, so outlier-driven rescaling contributes to training stability; (2) outliers act as rescale factors, not contributors — their post-norm contributions are far smaller than non-outliers'; (3) outliers can be absorbed into learnable parameters or replaced by explicit gated rescaling (GatedNorm), improving training performance by an average of 2 points and drastically improving quantization robustness (only 1.2 points degradation under W4A4). Since outliers' post-norm contribution is tiny, relying on them is what makes LLM quantization a nightmare (huge dynamic ranges).
- Dataset
deepswe-clm-train-embeddings-8k (DeepSWE CLM/PRM training embeddings)
MIT dataset of frozen Qwen3-8B last-token-pooled embeddings (4096-d float16): 405,919 steps · 4,701 trajectories · 113 tasks from DeepSWE training-pool rollouts. State = chat-templated step context truncated to last 8191 tokens; action = raw action text (embed_shard.py, max_model_len 8192). Columns include trajectory_id, step_idx, task_id, reward, model, config, state_embedding, action_embedding. Card notes this is the data released DeepSWE PRM heads (tarsur385/deepswe-prm-heads-8k) were fine-tuned on; CLM README uses the same dataset path for train/finetune.py --task clm. Eval rollouts called out separately as tarsur385/deepswe-prm-embeddings-8k; CLM README also mentions Contrastive-LM/deepswe-clm-embeddings-8k for bon_eval (not found on Hub at catalog).
- Model
Qwen2.5-Math-PRM-72B
Qwen2.5-Math process reward model (72B) for mathematical reasoning / ProcessBench-style scoring; companion to PRM lessons paper.
- Dataset
WebWorldData
[](https://opensource.org/licenses/LICENSE-2.0) [](https://github.com/QwenLM/WebWorld) [](https://huggingface.co/datasets/Qwen/WebWorldData) [](https://modelscope.cn/datasets/Qwen/WebWorldData) [](https://huggingface.co/Qwen/WebWorld-8B) [](https://modelscope.cn/models/Qwen/WebWorld-8B) [](https://huggingface.co/Qwen/WebWorld-14B) [](https://modelscope.cn/models/Qwen/WebWorld-14B) [](https://huggingface.co/Qwen/WebWorld-32B) [](https://modelscope.cn/models/Qwen/WebWorld-32B)