Run this model with HF Jobs

Run Sentovara/Sentinel-S1-35B on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/Sentovara/Sentinel-S1-35B. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/Sentovara/Sentinel-S1-35B on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/Sentovara/Sentinel-S1-35B. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/Sentovara/Sentinel-S1-35B. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

Sentinel S1 (35B)

An open model that tells you when it doesn't know.

Sentinel S1 35B is a LoRA adapter for Qwen/Qwen4-35B-A3B (revision 849378c8db0d4537b7c6731738147378729d8920), built by Sentovara. When the model is likely to be wrong it starts its reply with UNSURE:. A system around it can then look the answer up instead of trusting a guess. When it answers plainly, the answer is far more likely to be right than the original model's.

It uses the same recipe as the 7B, 32B and 122B Sentinels, run on Qwen's new 35-billion-parameter mixture-of-experts model (about 3 billion parameters active per token).

The adapter is in the adapter/ folder of this repository.

Results

All checks were scored by script, on question sets kept out of training. The original model and Sentinel ran through the same code in the same job. The pass marks were the same ones used for the earlier Sentinels, written down before any results existed. Measured 5 December 2026, thinking mode off.

Check Original Sentinel Pass mark Result
IFEval instruction-following (541 prompts) 77.6% 77.3% within 2 points Pass
GSM8K maths (1,319 problems) 96.7% 96.6% within 2 points Pass
Plain (unflagged) answers right (9,255 questions) 29.7% 76.4% +10 points Pass
Own wrong answers flagged none 91.1% at least half Pass
Replies end cleanly 99.4% 99.7% at least 95% Pass
Flagged questions right after searching (6,808) 13.0% as a guess 50.6% search beats guess Pass
Plain answers right in conversation (350 chats) 52.7% 81.4% +10 points Pass
Own mistakes flagged in conversation none 85.7% at least half Pass
Ordinary chats flagged - 1 of 50 at most 10% Pass

9 of 9 checks passed. The sign-off questions came from Natural Questions (validation), SimpleQA, GSM8K (test) and IFEval.

What changed and what didn't. Sentinel learned nothing new about the world. Across all test questions it gets the same share right as the original (29.8% against 29.7%). The gain is in judgement: it marks the answers it is likely to get wrong, so its plain answers can be trusted far more, and its flags show exactly when to look something up. On general-knowledge questions it flags 86% of its answers and 92% of its wrong ones; its plain fact answers are right 52.9% of the time, against 18.5% for the original.

Run-to-run variation. The Qwen4 serving software we used does not give exactly the same answers on two identical runs. We ran the original model twice in the same job: its IFEval score moved by 1.3 points and everything else by 0.3 points or less.

How it was trained

  1. Evidence. The original model answered 10,000 questions with known answers (5,000 general knowledge from Natural Questions, 5,000 maths from GSM8K), five tries each, thinking mode off. Every answer was marked right or wrong by script.
  2. Labels from its own record. Where the model was right on 4 or 5 of 5 tries, it was trained to give its own answer plainly. Where it was right on 0 or 1 of 5, it was trained to give the same answer starting with UNSURE:. Every answer it learned from on those questions was its own.
  3. Keeping its skills. Training also included general conversation practice, the model's own everyday chat replies and a short set of identity answers, so Sentinel kept its existing skills and answers small talk normally. 10,000 examples (9,609 within the 1,024-token limit), one pass. The adapter (rank 16) sits on all 40 layers: the 10 attention layers, the 30 linear-attention layers and the always-on shared expert in every layer; the routed experts are untouched.
  4. Identity top-up. The first round passed all nine checks, but the model still introduced itself as Qwen. A short top-up fixed that: 200 identity examples and 800 fresh examples from the first round, two passes. The nine checks above were measured after the top-up.

The evaluation code is in eval/ and the result summaries behind the table above are in results/.

Want the training recipe, or to work with us? The training code isn't published, but we're happy to talk. Open a discussion in the Community tab of this page or get in touch at sentovara.com.

How to use it

The base model is about 114 GB in bf16. We ran it on 2 x 96 GB GPUs. Qwen4 needs trust_remote_code=True (its chat formatting is Python code shipped with the model) and transformers 5.26 or later.

from transformers import AutoModelForImageTextToText, AutoTokenizer
from peft import PeftModel

base, rev = "Qwen/Qwen4-35B-A3B", "849378c8db0d4537b7c6731738147378729d8920"
tok = AutoTokenizer.from_pretrained(base, revision=rev, trust_remote_code=True)
model = AutoModelForImageTextToText.from_pretrained(base, revision=rev, dtype="bfloat16", device_map="auto", trust_remote_code=True)
model = PeftModel.from_pretrained(model, "Sentovara/Sentinel-S1-35B", subfolder="adapter")

msgs = [{"role": "user", "content": "Who composed the music for the 1968 film 2001: A Space Odyssey?"}]
enc = tok.apply_chat_template(msgs, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", reasoning_effort="off").to(model.device)
out = model.generate(**enc, max_new_tokens=128, do_sample=False)
reply = tok.decode(out[0, enc["input_ids"].shape[1]:], skip_special_tokens=True)
if reply.startswith("UNSURE:"):
    print("Sentinel is unsure. Look this up before trusting it:", reply)
else:
    print(reply)

Keep thinking off (reasoning_effort="off"). Sentinel was trained and tested that way.

vLLM. When we tested (December 2026), Qwen4 ran only in the vllm/vllm-openai:qwen4 Docker image, not yet in a released vLLM. The adapter works there with enable_lora=True, max_lora_rank=16, trust_remote_code=True and chat_template_kwargs {"reasoning_effort": "off"} (the OpenAI-style server spells it "none"). On RTX PRO 6000 Blackwell GPUs we also set disable_custom_all_reduce=True and VLLM_USE_FLASHINFER_SAMPLER=0. Tested with transformers 5.26.0 and peft 0.22.0.

Search step. For a flagged question, retrieve Wikipedia passages, number them, and ask Sentinel with this prompt, followed by the numbered passages and then Question: ...:

Answer the question using the Wikipedia passages below. Give a short factual answer only (a few words), then on a new line write 'Source: ' followed by the number of the passage you used.

Our search took the top 50 BM25 passages from each of two Wikipedia indexes (the 2018 DPR index and a November 2023 dump), reranked them with BAAI/bge-reranker-v2-m3, and passed the top 10 to Sentinel. The code is in eval/.

Limits

  • It is cautious. It flags 74% of our test questions and 86% of general-knowledge questions, including some it would have got right. If you want more plain answers and can accept more of them being wrong, use the original model.
  • Search helps, but about half of flagged questions still don't end in a right answer. The system names a checked source for about three in four answers.
  • Maths flagging doesn't work. Sentinel flagged none of its own maths mistakes in the test. Most maths errors are stated plainly (it is right on 97% of the maths test).
  • The marking is strict. Answers are marked right only if they contain the expected answer, so some correct answers phrased differently are marked wrong.
  • Thinking mode was not tested. Everything above was measured with thinking off.
  • Tested on public English question sets and everyday chat only. It has not been tested on other kinds of work, other languages or the model's image input. Do not rely on it for medical, legal, financial or safety-critical decisions.
  • Identity. Asked who it is, it says it is Sentinel, built by Sentovara on Qwen4-35B-A3B. Asked what UNSURE: means, it answers "UNSURE: I'm not confident in this answer." Identity questions are not part of the nine checks.

Credits and licences

  • Base model: Qwen/Qwen4-35B-A3B by Alibaba's Qwen team (Apache 2.0). This adapter is released under Apache 2.0.
  • Training and test data: Natural Questions (CC BY-SA 3.0), GSM8K (MIT), IFEval (Apache 2.0; its checking code is included in eval/ifeval/), SimpleQA (MIT) and Ai2's Dolci instruction data (ODC-BY).
  • Search: the Pyserini/Anserini Wikipedia index (University of Waterloo), English Wikipedia November 2023 from the Wikimedia Foundation (CC BY-SA 3.0 / GFDL), and BAAI/bge-reranker-v2-m3 (Apache 2.0).
  • Compute: trained and tested on AWS (London). The training runs and their checks took about $60 of GPU time; about $140 including the setup tests for this new model.

Built by Sentovara. Led by Jonathan Harriss, who chose the model, set the method and made every decision. Designed, run and documented with Claude (Anthropic).

Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for Sentovara/Sentinel-S1-35B

Adapter
(46)
this model