From: allenai <huggingface.co/allenai>Newsgroups: alt.freeweights.olmoSubject:

tmax-4b

Date: 2026-11-15Commit: c733e09Signed: 2DC28CC7B26A283B ✓

Model with 4.2B parameters. Safetensors weights, 8.43 GB in all. Published by allenai under Apache-2.0.

4.2B params8.43GBtmax-4bsafetensorspermissive
FactsParams4.2BSize8.43 GBFormatssafetensorsTasknot taggedLicenseApache-2.0From sourcepermissive
$ fw get allenai/tmax-4b
# manifest sha256 7788f7ca7291… · 8.43 GB · 9 files
$ fw verify ./tmax-4b allenai/tmax-4b
From sourceHosted (signed)allenai/tmax-4bLast check: 2026-11-15 03:36 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Fine-tune of Qwen3.5-4B.

Works with

Runs with

Ranked by fit to this model (safetensors), then by GitHub stars.

Overview

Size
8.43 GB
Weights
8.41 GB (safetensors)
Parameters
4.2B
Formats
safetensors
Task
not tagged
License
Apache-2.0 (permissive)
Files
9, each with a sha256
Publisher
allenai
Added
2026-11-15
Section
alt.freeweights.olmo
Lineage

Original release from the publisher.

Base model: Qwen/Qwen3.5-4B

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 03:36 UTCpassed

Model card

From the publisher at commit c733e09. Shown as plain text with links; images open at the publisher.

Image: image

💻 Code · 🤗 Models &amp; Data · 📜 Paper · 📓 Blog

Note. For full information, go check out the Tmax paper here.

TMax 4B#

TMax 4B is a model trained using DPPO on top of Qwen 3.5 4B for use as a terminal-agent. It achieves roughly 20% on Terminal Bench 2.0 after 200 steps of RL training.

Image: image

This model is part of a collection of terminal agents in various sizes.

Additionally, we provide model checkpoints as branches of the repository. The main model checkpoint is step 200 as this performed best on TBLite.

Evaluation Results#

ModelTB LiteTB 2.1TB 2.0 (daytona)
Qwen 3.5 2B5.71 +/- 1.61.9 +/- 1.42.3 +/- 1.0
Tmax 2B11.8 +/- 1.44.2 +/- 1.22.9 +/- 0.6
Qwen 3.5 4B31.8 +/- 3.8?16.6 +/- 1.7
Tmax 4B (this model!)42.6 +/- 1.519.9 +/- 1.118.9 +/- 1.9
Qwen 3.5 9B41.9 +/- 2.716.1 +/- 3.721.1 +/- 2.6
Tmax 9B57.2 +/- 2.528.8 +/- 3.727.2 +/- 1.5
Qwen 3.6 27B70.8 +/- 2.140.5 +/- 2.439.6 +/- 2.1
Tmax 27B68.6 +/- 4.744.9 +/- 1.842.7 +/- 0.7

For details on evaluation methodology please check our paper. In general, we used a podman (docker) backend with default timeouts and custom harness similar to mini-swe-agent. For the 'daytona' runs, we used the daytona backend. For Lite/2.1, we show mean and standard error over 3 runs. For daytona, we show it over 5 runs.

Model Details#

Model Description#
  • Developed by: Ai2
  • Language(s) (NLP): English
  • License: Apache 2.0
  • Finetuned from model [optional]: Qwen 3.5 4B
  • Dataset: TMax-15k
Use#

To use this model, we recommend serving with vllm (or your inference framework of choice) with:

uvx vllm==0.19.1 serve allenai/tmax-4b \
  --served-model-name tmax-4b \
  --enable-auto-tool-choice \
  --tool-call-parser qwen3_xml \
  --port 8008 \
  --max-model-len 65536 \
  --tensor-parallel-size 8 \
  --language_model_only

Make sure to set language_model_only as we removed the vision head during training.

For more details on evaluation, please see our codebase.

Hyperparameters#

This model was trained using DPPO with the following hyperparameters:

  • base model: hamishivi/Qwen3.5-4B
  • Dataset: tmax 15K
  • Max prompt tokens: 2048
  • Max per-turn tokens: 16384
  • Max overall tokens: 65536
  • Pack length: 67584
  • Per-device train batch size: 1
  • Unique prompts per rollout: 8
  • Samples per prompt rollout: 32
  • Async steps: 4
  • Max steps: 64
  • Learning rate: 1e-6
  • LR scheduler: constant
  • Total training steps: 500 steps (this checkpoint is from 200 steps of training, which performed best on TBLite)
  • Sampling Temperature: 1.0
  • KL Beta: 0.0
  • Loss fn: DPPO
  • Divergence: binary TV
  • TV threshold: 0.1
  • Advantage normalization: centered (no division by stdev)
  • FP32 LM head: true

For more details on training, please see our codebase.

License#

This model is licensed under Apache 2.0. It is intended for research and educational use in accordance with Ai2's Responsible Use Guidelines.

Citation#

If you use our model or data, please cite our paper:

@misc{ivison2026tmaxsimplerecipeterminal,
      title={Tmax: A simple recipe for terminal agents}, 
      author={Hamish Ivison and Junjie Oscar Yin and Rulin Shao and Teng Xiao and Nathan Lambert and Hannaneh Hajishirzi},
      year={2026},
      eprint={2606.23321},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2606.23321}, 
}

Files

9 files · 8.43 GBWeights 8.41 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 9 files with their sha256
FileSizesha256
.checkpoint_complete0 Be3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
.gitattributes1.57 KB34448b82c17d60fec9b65b1f093c115ddbaadc04beb1b0140b6bfed2e012a930
README.md5.05 KBfbaa43f02a1dbbfe2d4f436c6a3c8cf61600a7ede6151f02611f715a96998fd7
chat_template.jinja7.74 KBd0eee281dec542894f3864ff2320c3f5998cdb8ab88e31366042ee4ebf4ca6b9
config.json3.16 KBddc63e1c717afa86c865bb5e01313d89d72bb53b97ad4a8a03ba8510c0621670
generation_config.json115 B716e09da441dea847d26ef2cb687ea2d661f1ec9751f7b74c2a58686463e456d
model.safetensors8.41 GB2798d7a8908ae1384c6dab9e4fee35822a5f5c4cb704a64b3d4ef26d319c93cd
tokenizer.json20.0 MB87a7830d63fcf43bf241c3c5242e96e62dd3fdc29224ca26fed8ea333db72de4
tokenizer_config.json15.1 KB7b0fac742429dadf21d71bb5078f2f468b2cd869e6aafd2ec9b33c53983d9c13
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
c733e09b80 pinned now2026-11-15 03:36 UTC9 files · 8.43 GB

Use it

$ fw get allenai/tmax-4b
# manifest sha256 7788f7ca7291… · 8.43 GB · 9 files
$ fw verify ./tmax-4b allenai/tmax-4b
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/allenai/tmax-4b.json --dir ./tmax-4b $ python3 fw.py verify ./tmax-4b ./allenai__tmax-4b.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download allenai/tmax-4b --revision c733e09b808d837ae7450eccc8cb8dace07316d6 --local-dir ./tmax-4b

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
fbaa43f02a1dbbfe2d4f436c6a3c8cf61600a7ede6151f02611f715a96998fd7
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: allenai <huggingface.co/allenai>Newsgroups: alt.freeweights.olmoSubject: tmax-4bDate: 2026-11-15Commit: c733e09Signed: 2DC28CC7B26A283B ✓
Upstream
allenai/tmax-4b
Pinned commit
c733e09b808d837ae7450eccc8cb8dace07316d6
Manifest
tmax-4b.json · .minisig
Manifest sha256
7788f7ca729167810f4f56a5c302ab93821237422818be40c25e43e36343b84b
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:36 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/allenai/tmax-4b.json $ curl -O https://freeweights.allternit.com/manifests/allenai/tmax-4b.json.minisig $ minisign -Vm tmax-4b.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

Parent

Qwen/Qwen3.5-4B · this model is a finetune of it

No model in the catalog names this one as its parent.

Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download allenai/tmax-4b
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. tmax-4b.json. Provenance. Takedown history: none.
From: bartowski <huggingface.co/bartowski>Subject: allenai_Olmo-3-7B-Instruct-GGUF
From: bartowski <huggingface.co/bartowski>Subject: allenai_Olmo-3-7B-Think-GGUF
From: bartowski <huggingface.co/bartowski>Subject: allenai_Olmo-3.1-32B-Instruct-GGUF
From: bartowski <huggingface.co/bartowski>Subject: allenai_Olmo-3.1-32B-Think-GGUF
From: bartowski <huggingface.co/bartowski>Subject: allenai_olmOCR-2-7B-1025-GGUF
From: bartowski <huggingface.co/bartowski>Subject: allenai_olmOCR-7B-0225-preview-GGUF