Run this model with HF Jobs

Run RWKV-Agent-Lab/RWKV7-Decision-2.9B 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/RWKV-Agent-Lab/RWKV7-Decision-2.9B. 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/RWKV-Agent-Lab/RWKV7-Decision-2.9B 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.

RWKV7-Decision-2.9B

A decision model on a recurrent backbone. Give it a state (text or JSON) and typed questions; it returns a calibrated probability for every option, in one pass, without generating text. 2.95B parameters, a full fine-tune of RWKV7-G1l 2.9B by RWKV-Agent-Lab, open weights, Apache-2.0.

It is the next model of the Jev-Style decision series (jevstyle.com; earlier models: Jev-Style-2B-Decision-v4) and the first one on RWKV-7: the state is read once, the recurrent state after it is a fixed-size vector per layer, and every question continues from a copy of it.

Other formats: GGUF for llama.cpp (F16 / Q8_0 / Q6_K / Q5_K_M).

RWKV7-Decision-2.9B (this model) the same base model, not fine-tuned
Decision Index 0.3 public index (self-run, complete) 47.04 15.4 on a 6,406-request sample of the suite (this model on that sample: 45.4)
Unseen tasks, our own held-out rows (accuracy over tasks) 71.5% 56.5%
Long states, our own held-out rows (accuracy over tasks) 66.5% 23.6%
Context the base was trained with 34,304 tokens 34,304 tokens

Protocols under Results.

What it does

A state and a typed question go in; a probability for every option comes out. The model cannot answer outside the options it is given.

  • choice: pick one of N named options (up to 255 in one pass, more in two rounds);
  • noul (yes/no): the probability that a statement about the state is true;
  • score: a distribution over 2 to 10 ordered levels.
from rwkv7_decision import Rwkv7Decision

m = Rwkv7Decision(".")          # this folder; bfloat16 on CUDA when there is a GPU

state = {"ticket": "My card was charged twice for order 1832.", "plan": "pro", "history": ["refund requested 2 days ago"]}

# several questions about one state: one call, the state is read once
out = m.decide(state, {
    "team":    {"type": "choice", "instructions": "Which team should handle this?",
                "criteria": {"billing": "payments and refunds", "tech": "bugs and outages", "sales": None}},
    "refund":  {"type": "noul", "instructions": "The customer is asking for a refund."},
    "urgency": {"type": "score", "instructions": "How urgent is this?",
                "criteria": ["not urgent", {"label": "soon", "description": "within a day"}, "immediately"]},
})
# measured on an NVIDIA L4 (bfloat16); the last digits differ a little between GPUs
# team     "billing"   probabilities {"billing": 0.974, "tech": 0.013, "sales": 0.013}
# refund   0.838       (probability that the statement is true)
# urgency  levels {"not urgent": 0.457, "soon": 0.203, "immediately": 0.339}

# one question at a time
m.ask(state, "The customer is asking for a refund.")                                  # true / false
m.ask(state, "Which team should handle this?", options=["billing", "tech", "sales"])  # choice
m.ask(state, "How urgent is this?", levels=["not urgent", "soon", "immediately"])     # score

Quick start

hf download RWKV-Agent-Lab/RWKV7-Decision-2.9B --local-dir rwkv7-decision
cd rwkv7-decision && pip install -r requirements.txt
python rwkv7_decision.py --state "My card was charged twice for order 1832." \
       --question "Which team should handle this?" --options '["billing", "tech", "sales"]'

rwkv7_decision.py calls the scorer the model was fine-tuned, calibrated and evaluated with, shipped unchanged under src/ (sha256 of every module in manifest.json); the file adds no arithmetic of its own. The request shape of decide is the state / questions body of a /v1/systemone call.

The weights are an ordinary RWKV-7 checkpoint in the official Transformers layout (trust_remote_code), so they also load with AutoModelForCausalLM; decisions need the runtime, because the answer is read from the logits of single-token option codes at one position of a fixed rendering (see How it works).

Results

All evaluations were self-run with protocols fixed before the run. The temperatures were fitted on our own calibration rows, never on benchmark items.

Decision Index 0.3 public index: 47.04

Public index Raw index Knowledge & Reasoning Language Retrieval & Classification Tools & Automation Arts & Taste
RWKV7-Decision-2.9B (self-run) 47.04 59.84 26.0 47.7 63.3 63.5 37.2

Decision Index public suite 0.3 (kit 25c6ec7, the kit's own runner and scorer), one complete run: 140,178 scoreable requests, all answered, 0 unsupported, 0 errors (scores.json says "complete": true). bfloat16 on one A100 80GB; both option orders read and averaged (the default of this repository). The suite was run as 10 processes of the kit's runner sharing the GPU (requests split by sha256(group_id) % 10), merged line by line; two requests whose first try ended with an out-of-memory device error were asked again by the kit's runner when their part was continued (environment.json records it). Area columns are the chance-corrected area skills ร— 100. The board's headline Full score comes only from private tests run by the maintainers (Decision Index 0.4); this public index is not part of it, and this is not an official board entry until the maintainers review it. The note inside the kit's score files still describes the earlier rule, where the public index was 20% of the Full score. Several benchmarks' train splits are in the training data (see Training data and licences), so those results are not zero-shot. Files: validation/decision_index_0.3/.

Every benchmark that counts towards the index (chance-corrected skill ร— 100):

Area Benchmark Metric Score Skill
Knowledge & Reasoning WinoGrande accuracy 0.892 78.4
Knowledge & Reasoning BBH fixed-option tasks accuracy 0.597 41.6
Knowledge & Reasoning MMLU-Pro accuracy 0.397 32.2
Knowledge & Reasoning SATA-Bench case exact accuracy 0.291 28.2
Knowledge & Reasoning GSM8K accuracy 0.401 28.2
Knowledge & Reasoning MuSR accuracy 0.539 26.7
Knowledge & Reasoning CLadder accuracy 0.619 23.8
Knowledge & Reasoning GPQA Diamond accuracy 0.337 11.6
Knowledge & Reasoning ChessBench accuracy 0.159 8.4
Knowledge & Reasoning CRUXEval accuracy 0.303 0.0
Knowledge & Reasoning HLE accuracy 0.130 0.0
Language Understanding FinEntity macro-F1 0.914 87.4
Language Understanding HellaSwag accuracy 0.904 87.2
Language Understanding ContractNLI macro-F1 0.777 67.7
Language Understanding iSarcasmEval Sarcasm F1 ยท track A, English 0.636 53.1
Language Understanding NLI4CT macro-F1 0.718 45.1
Language Understanding ANLI macro-F1 0.572 35.9
Language Understanding VAST macro-F1 0.494 24.1
Language Understanding ACOS per-review F1 0.214 18.9
Language Understanding RAGTruth response-level hallucination F1 on hallucinated class 0.537 4.0
Retrieval & Classification CLINC150+OOS macro-F1 0.895 89.5
Retrieval & Classification BANKING77 macro-F1 0.856 85.4
Retrieval & Classification HoVer claim verification accuracy 0.831 66.3
Retrieval & Classification PhishNChips phishing decisions accuracy 0.811 62.2
Retrieval & Classification Amazon ESCI macro-F1 0.551 43.7
Retrieval & Classification BRIGHT nDCG@10 0.383 30.1
Tools & Automation BFCL case exact accuracy 0.939 91.7
Tools & Automation When2Call MCQ accuracy 0.852 80.3
Tools & Automation API-Bank accuracy 0.659 65.3
Tools & Automation ToolRet nDCG@10 0.658 60.5
Tools & Automation Home appliance simulator case exact accuracy 0.136 13.6
Arts & Human Taste BPoMP accuracy 0.916 83.4
Arts & Human Taste New Yorker caption matching accuracy 0.727 65.9
Arts & Human Taste Humicroedit accuracy 0.634 26.9
Arts & Human Taste cfcolor accuracy 0.635 26.5
Arts & Human Taste Habermas Machine accuracy 0.441 18.9
Arts & Human Taste POP909-CL accuracy 0.024 1.7

Where it is weak (same run):

  • CRUXEval: skill 0.0 (accuracy 0.303, chance 0.370)
  • HLE: skill 0.0 (accuracy 0.130, chance 0.164)
  • POP909-CL: skill 1.7 (accuracy 0.024, chance 0.008)
  • RAGTruth response-level hallucination: skill 4.0 (F1 on hallucinated class 0.537, chance 0.518)
  • ChessBench: skill 8.4 (accuracy 0.159, chance 0.082)
  • GPQA Diamond: skill 11.6 (accuracy 0.337, chance 0.250)
  • Home appliance simulator: skill 13.6 (case exact accuracy 0.136, chance 0.000)
  • Habermas Machine: skill 18.9 (accuracy 0.441, chance 0.311)
  • ACOS: skill 18.9 (per-review F1 0.214, chance 0.031)

Our own held-out rows

Rows of tasks and sources that were kept out of training (never Decision Index suite rows), both option orders, calibrated temperatures:

RWKV7-Decision-2.9B base model, not fine-tuned
Unseen tasks (accuracy averaged over tasks) 71.5% 56.5%
Long states (accuracy averaged over tasks) 66.5% 23.6%
Two-option questions: same answer in both option orders 94.2% (n = 5,356)

Calibration, expected calibration error on rows the temperatures were not fitted on: choice 0.047, true/false 0.024, score 0.098 (before the temperature: 0.059 / 0.043 / 0.102).

One option order or two

By default every question is read in both option orders (as given and reversed) and the probabilities are averaged; orders="given" reads one order, which roughly halves the work of the answer part. On a 2,398-request sample of the public suite's ten reasoning benchmarks the mean skill is 39.3 with two orders and 37.3 with one (GSM8K and MMLU-Pro gain the most); on our own held-out rows the gain was 0.40 accuracy points, below the 0.5 points our automatic rule asked for, so the automatic rule had chosen one order. The two-order default is a manual decision made after reading the model on public leaderboard rows, not a rule set in advance; jev_readout.json records both the automatic rule and the override.

How it works

  • One rendering. The state and the list of questions are rendered as text; each question then gets its own short answer part that ends in a cue. Options are shown with single-token codes; the probability of an option is the model's own next-token probability of its code at the cue. No head was added and nothing else is read from the model.
  • Read once, fork per question. RWKV-7 is recurrent: after the state has been read, everything the model knows about it is a fixed-size state (about 22 MB per sequence for this model). Each question, and each option order, continues from a copy of that state. Ten questions about a 20,000-token state cost one read of the state plus ten short answer parts.
  • Calibration. One temperature per question type (choice / true-false / score), fitted on held-out calibration rows.
  • More than 255 options are answered in two rounds (groups first, then the finalists together).
  • Memory grows with the longest single pass, not with the number of questions; the answer parts are read max_ans_tokens (default 8,000) padded tokens at a time.

Scope and limits

  • Runtime required. Decisions come from rwkv7_decision.py (PyTorch) or from the GGUF runtime. Plain text generation with these weights is not what they were trained for.
  • Text only. No image input.
  • 34,304 tokens is the context the base model was trained with (state + question list + one answer part). A longer request is still answered, in the shortest rendering, but that is outside what was evaluated.
  • Decision Index. The training data was de-duplicated against the public Decision Index 0.3 suite and uses no suite rows or suite build scripts; it does include the official train splits of several benchmarks that the index tests on, so results on those benchmarks are not zero-shot.
  • Known weak spots. See "Where it is weak" above. In particular: response-level hallucination detection (RAGTruth) is at chance, because our own ingestion of the RAGTruth train split labelled every response as containing unsupported content (a bug in our data code, found after training); and on the household-device benchmark the model answers 86% of the single questions but only 14% of the cases completely, because our generated training cases follow different handling conventions than the benchmark (found after training).
  • Decisions only. The model scores the options you give it. It does not generate text and takes no actions.

Training

  • Base: RWKV/RWKV7-G1l-2.9B-20261031 (revision 80a22af8; source checkpoint BlinkDL/rwkv7-g1), Apache-2.0.
  • Full fine-tune: every weight trained, nothing added. One pass over 262.4M rendered tokens (336k requests, 641k questions), 1,983 steps, learning rate 3.5e-6 with 10% warm-up, float32 master weights with bfloat16 autocast, on one A100 80GB (about 29 hours). The released weights are the exponential moving average of the run (decay 0.995), chosen among four candidates (last, moving average, best intermediate, average of four snapshots) by a rule fixed before the selection, on our own development and held-out rows only.
  • Loss: cross-entropy on the option codes at the cue; where a teacher distribution exists, the target is that distribution (soft labels).
  • Code: the training, evaluation and release code is public: rwkv7-decision-training (scripts/j5/ft/train_ft.py, configuration configs/j5ft/v4_main.json, the pre-registered checks in gate_ft.py).

Training data and licences

  • Base model: RWKV7-G1l 2.9B (BlinkDL / RWKV), Apache-2.0; see LICENSE and NOTICE.
  • Soft labels. For 54% of the training questions the target is a probability distribution distilled from TypeSafe Jev 1.14 via its public API (where Jev's top answer agreed with the dataset's gold label). 1.2% carry Jev 1.13 labels from the third-party corpus ericlewis/jev-distill-corpus-v3-typed-decisions (upstream SargeDev, Apache-2.0). The rest use the datasets' own labels. No Jev weights or code are included.
  • Sources (by name; validation/data_sources.json has the licence of each):
Licence Sources
apache-2.0 deepmind/aqua_rat, ericlewis/jev-distill-corpus-v3-typed-decisions, google-deepmind/habermas_machine, google-research-datasets/go_emotions, jackhhao/jailbreak-classification, lasha-nlp/CONDAQA, Multilingual-NLP/M-ABSA, openlifescienceai/medmcqa, tasksource/esci, tasksource/procedural-typed-decisions, yanismiraoui/prompt_injections
mit czyssrs/FinQA, iabufarha/iSarcasmEval task A en, Lakera/gandalf_ignore_instructions, liminghao1630/API-Bank, meta-math/MetaMathQA, music-x-lab/POP909-Dataset, openai/gsm8k, ParticleMedia/RAGTruth, Rowan/hellaswag, tau/commonsense_qa, TrustAIRLab/in-the-wild-jailbreak-prompts
bsd-3-clause-clear hugosousa/TimeQA
cc0-1.0 google/civil_comments, Lichess/chess-puzzles
cc-by-2.0 allenai/winogrande
cc-by-3.0 clinc/clinc_oos, clinc150
cc-by-4.0 alisawuffles/WANLI, allenai/qasc, allenai/qasper, allenai/ropes, coastalcph/lex_glue, jmhessel/newyorker_caption_contest, massive-1.1, mteb/banking77, nvidia/HelpSteer2, nvidia/HelpSteer3, nvidia/When2Call, reasoning-core/procedural-choices, stanfordnlp/contract-nli, theatticusproject/maud, wenhu/tab_fact
cc-by-sa-3.0 google/boolq, tonytan48/TempReason, UCLNLP/sharc
cc-by-sa-4.0 allenai/ai2_arc, google-research-datasets/schema_guided_dstc8, hover-nlp/hover, rajpurkar/squad_v2, stanfordnlp/snli, ucinlp/drop
mixed (per sub-source, see validation/data_sources.json) inclusionAI/LemonDecider-Decision-Mix, neuralchemy/Prompt-injection-dataset, paulprt/decision-mix-large
  • Generated data (our own code, no third-party text): household-device command cases, long-document reading cases, tool and API catalogues, procedural tasks, programmatic tables.
  • Decision Index hygiene: every training row was checked against the texts of the public Decision Index 0.3 suite (a row is dropped when its whole state, a long state string, its instructions or a long option equals a suite text); official test splits were never opened. No suite rows and no suite build scripts were used.
  • Evaluation-only data (0 training rows): the Decision Index public suite, and our own development, calibration and held-out rows.

Files

model.safetensors the weights (bfloat16, 5.9 GB), sha256 fcc5131f5d4f1ee8d2b4f898a42da5b51930d704b5929822b5552ea0c7af2d58
config.json, modeling_rwkv7.py, configuration_rwkv7.py, tokenization_rwkv7.py, tokenizer*.json, inference/ the base model's official Transformers code, unchanged
rwkv7_decision.py, src/ the decision runtime: src/ is the evaluated scorer, unchanged
jev_readout.json rendering, temperatures and the default option orders (with the record of how the default was decided)
ft_manifest.json, finalize.json which run and step the weights are, and the selection record
validation/ the Decision Index run's score files, the runtime checks, the data sources
manifest.json sha256 and size of every file

Reproduce the Decision Index run with the kit: PYTHONPATH=<this folder>/src and --engine j5ft.di_engine:FtEngine --option model=<this folder> --option readout=<this folder>/jev_readout.json --option max_ans_tokens=8000 (--option trim_gb=12 when several runner processes share one GPU).

Disclaimers

Not affiliated with TypeSafe AI or Jev. Soft labels for part of the training rows were distilled from TypeSafe Jev 1.14 via its public API; no Jev weights or code are included. The providers' terms of use may restrict how models trained on such outputs may be used, so check them for your use case.

AI disclosure: code written with AI coding assistants (Claude Code) under the maintainer's direction; the maintainer designed the project, trained the model and verified the results.

Licence

Apache-2.0. Built on RWKV7-G1l 2.9B (Apache-2.0); the Apache License 2.0 text is in LICENSE, and NOTICE lists the source model and the modifications.

Citation

@misc{rwkv7decision2026,
  title        = {RWKV7-Decision-2.9B: typed decisions with calibrated probabilities on a recurrent backbone},
  author       = {RWKV-Agent-Lab},
  year         = {2026},
  howpublished = {\url{https://huggingface.co/RWKV-Agent-Lab/RWKV7-Decision-2.9B}},
  note         = {Full fine-tune of RWKV/RWKV7-G1l-2.9B-20261031}
}

Contact

Maintainer: chaoliangUNSW (RWKV-Agent-Lab). Questions and reports: the Community tab of this repository.

Downloads last month
47
Safetensors
Model size
3B params
Tensor type
BF16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for RWKV-Agent-Lab/RWKV7-Decision-2.9B

Finetuned
(1)
this model
Quantizations
1 model