Instructions to use NoemaAI-labs/Noema-1.5-4B-Fast with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NoemaAI-labs/Noema-1.5-4B-Fast with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="NoemaAI-labs/Noema-1.5-4B-Fast") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("NoemaAI-labs/Noema-1.5-4B-Fast") model = AutoModelForCausalLM.from_pretrained("NoemaAI-labs/Noema-1.5-4B-Fast", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use NoemaAI-labs/Noema-1.5-4B-Fast with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "NoemaAI-labs/Noema-1.5-4B-Fast" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "NoemaAI-labs/Noema-1.5-4B-Fast", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/NoemaAI-labs/Noema-1.5-4B-Fast
- SGLang
How to use NoemaAI-labs/Noema-1.5-4B-Fast with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "NoemaAI-labs/Noema-1.5-4B-Fast" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "NoemaAI-labs/Noema-1.5-4B-Fast", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "NoemaAI-labs/Noema-1.5-4B-Fast" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "NoemaAI-labs/Noema-1.5-4B-Fast", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use NoemaAI-labs/Noema-1.5-4B-Fast with Docker Model Runner:
docker model run hf.co/NoemaAI-labs/Noema-1.5-4B-Fast
Website ยท Noema 1.5 4B Deep ยท GGUF ยท MLX
Noema 1.5 4B Fast
Noema 1.5 4B Fast is the efficiency-first model of the Noema 1.5 4B family, post-trained by NoemaAI Labs from Qwen3.5-4B. It reasons briefly and decisively, and it was trained specifically to stop reasoning in circles: on a stress test of 1,000 hard prompts it falls into a doom loop about 98% less often than its base model in every setting we tested, including as a 4-bit build under llama.cpp.
Shorter reasoning makes Fast quick and economical for everyday use. On the reasoning-heavy benchmarks it answers with two to four times fewer output tokens than Qwen3.5-4B; on GPQA Diamond it is level, within measurement noise, with the 75.9% that Qwen3.5-4B scores when given an 81,920-token budget, while spending about a third of the tokens, and on the hard stress test it answers correctly three times as often.
Its sibling, Noema 1.5 4B Deep, reasons at greater length and recovers most of the competition-mathematics accuracy that Fast gives up. Both are open-weight text models small enough to run locally once quantized.
Highlights
- About 98% fewer doom loops. On the 1,000-prompt stress test Fast loops on 1.1% of prompts under greedy decoding and 0.6% as a Q4_K_M build under llama.cpp, where Qwen3.5-4B loops on 65.0% and 46.8%.
- Two to four times fewer tokens on hard reasoning. At temperature 0.6 its mean answer is 15.6K tokens on AIME 2026 against 36.9K, and 17.3K on LiveCodeBench v6 against 56.4K.
- Full-budget science accuracy with a third of the tokens. 75.4 on GPQA Diamond under Qwen's preset at 9,385 tokens per answer, level within measurement noise with the 75.9 Qwen3.5-4B reaches at 28,915 tokens with an 81,920-token budget.
- Three times as accurate on hard prompts. 49.2% of the gradable stress-test prompts answered correctly under greedy decoding, against 16.5% for Qwen3.5-4B.
- Steady over long conversations. Not a single loop across 100 conversations of 20 to 50 turns, where Qwen3.5-4B looped in 51; 92.2 on IFEval (prompt strict) with thinking at temperature 0.6.
- Ready for local inference. GGUF builds from BF16 down to Q4_K_M and MLX builds from BF16 down to 4-bit, each GGUF quantization measured against the BF16 weights.
Choosing between Deep and Fast
| Noema 1.5 4B Deep | Noema 1.5 4B Fast | |
|---|---|---|
| Best suited to | Hard mathematics and competitive programming, when an answer is worth waiting for | Everyday questions, science and writing, on phones or with tight output budgets |
| AIME 2026, temperature 0.6 | 80.0 | 69.0 |
| LiveCodeBench v6, temperature 0.6 | 55.9 | 52.9 |
| GPQA Diamond, temperature 0.6 | 75.8 | 75.6 |
| Mean output tokens on AIME 2026 | 22.7K | 15.6K |
| Mean output tokens on GPQA Diamond | 13.6K | 9.2K |
| Stress-test answers still running at 32,768 tokens (greedy) | 13.9% | 1.1% |
| Suggested output limit | 81,920 tokens for contest mathematics and code, 32,768 otherwise | 32,768 tokens |
Benchmarks
Thinking mode, temperature 0.6 (recommended)
Score ยท mean output tokens per answer. Bold marks the best score in each row.
| Benchmark | Samples | Output limit | Noema 1.5 4B Fast | Noema 1.5 4B Deep | Qwen3.5-4B |
|---|---|---|---|---|---|
| AIME 2026 | 16 | 81,920 | 69.0 ยท 15.6K | 80.0 ยท 22.7K | 77.3 ยท 36.9K |
| HMMT February 2026 | 16 | 81,920 | 51.7 ยท 18.4K | 55.3 ยท 31.8K | 53.2 ยท 50.3K |
| arxivmath 0826 | 16 | 81,920 | 4.1 ยท 20.1K | 3.3 ยท 39.3K | 0.3 ยท 78.1K |
| LiveCodeBench v6 | 4 | 81,920 | 52.9 ยท 17.3K | 55.9 ยท 23.4K | 36.9 ยท 56.4K |
| GPQA Diamond | 8 | 32,768 | 75.6 ยท 9.2K | 75.8 ยท 13.6K | 55.4 ยท 23.4K |
| MMLU-Pro | 1 | 32,768 | 79.2 ยท 3.8K | 79.6 ยท 4.8K | 79.0 ยท 5.9K |
| IFEval (prompt strict) | 1 | 32,768 | 92.2 ยท 4.1K | 94.1 ยท 4.8K | 57.9 ยท 15.0K |
Thinking mode, Qwen's general preset
Temperature 1.0, top-p 0.95, top-k 20 and presence penalty 1.5, the setting Qwen recommends for general thinking tasks.
| Benchmark | Samples | Output limit | Noema 1.5 4B Fast | Noema 1.5 4B Deep | Qwen3.5-4B |
|---|---|---|---|---|---|
| AIME 2026 | 16 | 81,920 | 69.2 ยท 15.6K | 80.4 ยท 23.3K | 85.4 ยท 36.3K |
| HMMT February 2026 | 16 | 81,920 | 47.7 ยท 17.9K | 60.2 ยท 30.8K | 64.0 ยท 46.9K |
| arxivmath 0826 | 16 | 81,920 | 4.3 ยท 18.8K | 4.3 ยท 39.8K | 1.4 ยท 61.5K |
| LiveCodeBench v6 | 4 | 81,920 | 51.6 ยท 14.7K | 53.6 ยท 20.3K | 57.1 ยท 43.6K |
| GPQA Diamond | 8 | 32,768 | 75.4 ยท 9.4K | 74.7 ยท 14.1K | 59.1 ยท 22.8K |
| MMLU-Pro | 1 | 32,768 | 78.6 ยท 3.9K | 79.6 ยท 4.8K | 79.1 ยท 5.3K |
| IFEval (prompt strict) | 1 | 32,768 | 92.6 ยท 4.0K | 92.4 ยท 4.6K | 90.8 ยท 5.0K |
Non-thinking mode
| Benchmark | Samples | Output limit | Noema 1.5 4B Fast | Noema 1.5 4B Deep | Qwen3.5-4B |
|---|---|---|---|---|---|
| GPQA Diamond | 8 | 8,192 | 70.4 | 66.3 | 67.6 |
| IFEval (prompt strict) | 1 | 8,192 | 80.6 | 80.4 | 80.2 |
| IFBench (prompt strict) | 1 | 8,192 | 27.7 | 27.7 | 29.3 |
| LiveCodeBench v6 | 4 | 16,384 | 39.4 | 41.1 | 44.3 |
| MMLU-Pro | 1 | 8,192 | 76.7 | 77.1 | 76.6 |
| Multi-IF (three turns, mean) | 1 | 8,192 | 49.5 | 49.6 | 48.9 |
Loops and stability
Stress test of 1,000 hard prompts with thinking on and a 32,768-token limit unless stated otherwise. Lower is better for loops.
| Measure | Noema 1.5 4B Fast | Noema 1.5 4B Deep | Qwen3.5-4B |
|---|---|---|---|
| Doom loops, greedy decoding | 1.1% | 13.9% | 65.0% |
| Doom loops, sampled (temperature 1.0, top-p 0.95, top-k 20) | 0.6% | 12.3% | 41.0% |
| Doom loops, Qwen's preset (adds presence penalty 1.5) | 0.1% | 8.8% | 29.6% |
| Doom loops, Q4_K_M GGUF under llama.cpp defaults | 0.6% | 13.6% | 46.8% |
| Doom loops, greedy, with the full 81,920-token budget | 0.1% | 0.0% | about 58% |
| Accuracy on the gradable stress-test prompts, greedy | 49.2% | 47.2% | 16.5% |
| Long conversations with a loop (of 100, 20 to 50 turns each) | 0 | 0 | 51 |
Accuracy against answer length
Under Qwen's preset, Deep reaches its base model's mean accuracy over these four benchmarks with about 40% fewer tokens, while Fast gives up about five points of that mean for answers less than half as long. At temperature 0.6, where Qwen3.5-4B often runs out of room, both tiers are well ahead of it at a fraction of its length.
A note on Qwen3.5-4B's scores. Several of the base model's scores above are well below the figures Qwen publishes, and in each case the reason is the same: its answers run out of room. On LiveCodeBench v6 Qwen reports 55.8; under Qwen's own preset we measure 57.1, in line with it, but at temperature 0.6 59% of its answers are still being written at the 81,920-token limit and its score falls to 36.9. On GPQA Diamond Qwen reports 76.2; at the 32,768-token limit Qwen recommends for most queries, 33% of its answers under Qwen's preset and 38% at temperature 0.6 are unfinished, giving 59.1 and 55.4, and rerun with 81,920 tokens it scores 75.9 at a mean of 28,915 tokens per answer. An unfinished answer counts as wrong for every model alike, and both Noema tiers finish almost every answer within the same limits. The benchmark graphic shows Qwen's published values hatched above our measured ones, with the share of unfinished answers under each bar where it is large.
How these numbers were produced. All three models ran in the same harness, with identical prompts and graders, as BF16 weights served by vLLM 0.30.0. Scores are averaged over several samples per item where the table says so. An answer still running at its output limit is scored as incorrect, and the token means include those answers at the limit, which makes the base model's means an underestimate of what it would have spent if allowed to finish. The output limits follow Qwen's guidance for Qwen3.5-4B: 81,920 tokens for competition mathematics and programming and 32,768 for other thinking tasks. None of these benchmark sets was used for training or for choosing checkpoints.
The two thinking presets are temperature 0.6 with top-p 0.95 and top-k 20 (Qwen's suggested setting for precise coding, and our recommended default), and Qwen's general thinking preset, which raises the temperature to 1.0 and adds a presence penalty of 1.5. Non-thinking mode uses Qwen's non-thinking preset: temperature 0.7, top-p 0.8, top-k 20 and presence penalty 1.5.
A doom loop is an answer in which some passage of at least 60 characters recurs four or more times, or which is still running at the 32,768-token limit. The stress test holds 1,000 held-out prompts weighted heavily toward hard problems (400 hard mathematics, 200 science, 200 code, 100 open-ended and 100 multi-turn), so its rates describe behaviour on difficult prompts and should not be read as the share of everyday answers that loop. The long-conversation set has 100 conversations of 20 to 50 turns in which every turn is generated by the model under test, with thinking on and temperature 1.0.
Quickstart
Transformers
Noema 1.5 4B needs a version of transformers with Qwen3.5 support (qwen3_5_text); it was validated with Transformers 5.19.0. The packaged generation config samples at temperature 0.6, top-p 0.95 and top-k 20.
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "NoemaAI-labs/Noema-1.5-4B-Fast"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, dtype=torch.bfloat16, device_map="auto")
messages = [{"role": "user", "content": "How many positive divisors does 2024 have?"}]
inputs = tokenizer.apply_chat_template(
messages,
add_generation_prompt=True,
enable_thinking=True, # set to False for direct answers without a reasoning trace
return_dict=True,
return_tensors="pt",
).to(model.device)
outputs = model.generate(**inputs, max_new_tokens=32768)
text = tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:], skip_special_tokens=True)
reasoning, _, answer = text.rpartition("</think>")
print(answer.strip())
vLLM
vllm serve NoemaAI-labs/Noema-1.5-4B-Fast \
--max-model-len 40960 \
--reasoning-parser qwen3 \
--enable-auto-tool-choice --tool-call-parser qwen3_coder
from openai import OpenAI
client = OpenAI(base_url="http://localhost:8000/v1", api_key="EMPTY")
response = client.chat.completions.create(
model="NoemaAI-labs/Noema-1.5-4B-Fast",
messages=[{"role": "user", "content": "How many positive divisors does 2024 have?"}],
max_tokens=32768,
temperature=0.6,
top_p=0.95,
extra_body={"top_k": 20},
# For non-thinking mode, add "chat_template_kwargs": {"enable_thinking": False} to extra_body.
)
print(response.choices[0].message.content)
The reasoning trace is returned separately from the answer by the qwen3 reasoning parser, and tool calls are parsed by qwen3_coder, the configuration under which tool calling was evaluated.
llama.cpp
llama-server -hf NoemaAI-labs/Noema-1.5-4B-Fast-GGUF:Q4_K_M --jinja -c 40960 \
--temp 0.6 --top-p 0.95 --top-k 20 --min-p 0
The server exposes an OpenAI-compatible endpoint on port 8080. To answer without thinking, start it with --chat-template-kwargs '{"enable_thinking": false}'. See the GGUF repository for every quantization and its measured quality.
MLX
pip install "mlx-lm==0.31.3"
mlx_lm.generate --model NoemaAI-labs/Noema-1.5-4B-Fast-MLX-4bit \
--prompt "How many positive divisors does 2024 have?" \
--max-tokens 32768 --temp 0.6 --top-p 0.95 --top-k 20
MLX builds are available in BF16, 8-bit, 6-bit and 4-bit.
Recommended settings
| Use | Thinking | Temperature | Top-p | Top-k | Presence penalty | Output limit |
|---|---|---|---|---|---|---|
| General reasoning (recommended default) | on | 0.6 | 0.95 | 20 | 0 | 32,768 |
| Qwen's general thinking preset | on | 1.0 | 0.95 | 20 | 1.5 | 32,768 |
| Direct answers, chat and structured output | off | 0.7 | 0.8 | 20 | 1.5 | 8,192 to 16,384 |
Fast rarely needs more than 32,768 tokens: none of its answers reached the 81,920-token limit on any contest benchmark, and its mean on AIME 2026 is about 15,600 tokens. Thinking is on by default; pass enable_thinking=False to the chat template, or the equivalent chat_template_kwargs in vLLM and llama.cpp, to answer directly. In multi-turn use, keep only the final answers in the conversation history; the chat template already drops earlier reasoning traces. Avoid greedy decoding with thinking enabled, since it makes repetition more likely in any reasoning model.
Model details
| Property | Value |
|---|---|
| Public name | Noema 1.5 4B Fast |
| Internal checkpoint | stageB3_20 |
| Developer | NoemaAI Labs |
| Base model | Qwen3.5-4B |
| Architecture | Qwen3.5 hybrid of Gated DeltaNet linear attention and gated full attention |
| Parameters | 4.21B |
| Layers | 32 |
| Hidden size | 2,560 |
| Vocabulary | 248,320 tokens |
| Context length | 262,144 tokens (architecture limit); evaluated with outputs of up to 81,920 tokens |
| Precision | BF16 |
| Modes | Thinking (default) and non-thinking, selected through the chat template |
| Training | Multi-stage post-training: on-policy distillation, GRPO with a finishing reward and FTPO, using rank-128 LoRA adapters merged into the weights |
| Language | English (evaluated) |
| Modality | Text in, text out. The base model's vision encoder and multi-token-prediction head are not included |
| Release status | Open-weight; not open source |
Training
Noema 1.5 4B Fast was trained from Qwen3.5-4B in five stages, each a rank-128 LoRA adapter merged into the weights before the next began:
- On-policy distillation from Qwen3.8-27B (150 steps). The student learned from a much larger model's judgement of its own samples, which raised development mathematics from 50.4 to 57.8 and science from 39.6 to 46.9, and taught it to reason more briefly.
- GRPO with a finishing reward (150 steps, checkpoint 120). Correct answers earn reward only when they end within 32,768 tokens, which cut sampled loops on the development set from 23.2% to 10.0%.
- Instruction-following recovery (30 steps of on-policy distillation from Qwen3.5-4B on instruction prompts), which restored development instruction following to 94.7%.
- FTPO with an instruction-following anchor. Token-level preference training on the exact points where loops begin removed every exact repetition loop on the development set, while an anchor kept the model's answers to instruction prompts close to the previous stage.
- Two further finishing-reward stages (100 steps on fresh hard prompts, then 50 steps on the prompts that still ran to the limit), which brought development loops to 1.2% under greedy decoding.
Shorter reasoning is what removed the loops, and it is also why Fast trails its base model on the hardest competition mathematics, where Qwen3.5-4B's long reasoning succeeds. Noema 1.5 4B Deep continues from this checkpoint to win most of that accuracy back.
Every checkpoint was chosen on development sets alone, by rules written down before the results they decided on.
Limitations
- Fast trails Qwen3.5-4B on the hardest competition mathematics: 69.2 against 85.4 on AIME 2026 and 47.7 against 64.0 on HMMT February 2026 under Qwen's preset, and 69.0 against 77.3 on AIME at temperature 0.6. Use Noema 1.5 4B Deep for contest mathematics.
- Under Qwen's preset Fast also trails on LiveCodeBench v6 (51.6 against 57.1), and without thinking it is behind on LiveCodeBench v6 (39.4 against 44.3) and IFBench (27.7 against 29.3).
- Neither tier met every criterion of the release plan we wrote before training, chiefly on competition mathematics under Qwen's general preset and on loop rates at a 32,768-token limit; the results above are reported in full, including where each tier falls short.
- Evaluation was in English and text only. The base model's vision encoder was not trained, evaluated or included.
- The architecture supports 262,144 tokens of context, but long-document understanding was not evaluated; our longest evaluated generations were 81,920 tokens.
- Results come from one training run per tier. Benchmarks with few items, such as AIME 2026 (30 problems) and HMMT February 2026 (33), carry several points of sampling uncertainty even when averaged over 16 samples.
- Like any language model, Noema can state false information with confidence. Verify important facts, and do not rely on it alone for medical, legal, financial or safety-critical decisions.
Release status
Noema 1.5 4B is an open-weight release, not an open-source release. The weights are publicly downloadable, but no open-source license is granted with this repository at this time.
Noema 1.5 4B is derived from Qwen3.5-4B, which the Qwen team released under the Apache License 2.0. A copy of that license is included as LICENSE-Qwen3.5, and the modifications made to the base model are described under Training.
Citation
@misc{noema15_4b_2026,
title = {Noema 1.5 4B: Deep and Fast Reasoning Models for Local AI},
author = {NoemaAI Labs},
year = {2026},
howpublished = {\url{https://huggingface.co/NoemaAI-labs/Noema-1.5-4B-Fast}}
}
- Downloads last month
- 192