Run this model with HF Jobs

Run Rtian/MiRL-Qwen3.5-4B 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 and TRL to fine-tune https://huggingface.co/Rtian/MiRL-Qwen3.5-4B. 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/Rtian/MiRL-Qwen3.5-4B 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/Rtian/MiRL-Qwen3.5-4B. 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/Rtian/MiRL-Qwen3.5-4B. 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.

MiRL-Qwen3.5-4B

Model Checkpoint for paper "MiRL: Error-Targeted Reinforcement Learning for Correcting Terminal Agent Misbehaviors".

A terminal agent trained from Qwen/Qwen3.5-4B with reinforcement learning on 189 terminal tasks.

Terminal agents often repeat the same misbehaviors like making false claims about tests and repeating unnecessary checks. Misbehavior-driven RL (MiRL) first profiles the errors of a policy to find these misbehaviors. It then trains the policy with RL, starting rollouts at the steps where these misbehaviors occur and rewarding a rollout only if it passes the tests and avoids the misbehavior.

Usage

vllm serve Rtian/MiRL-Qwen3.5-4B --language-model-only --max-model-len 262144 \
  --enable-auto-tool-choice --tool-call-parser qwen3_xml

The repository holds the language model only (no vision or MTP weights), so --language-model-only is needed. The config, tokenizer and chat template are unchanged from Qwen3.5-4B.

For more details, see https://github.com/runchu-tian/MiRL.

Citation

@misc{tian2026mirlerrortargetedreinforcementlearning,
      title={MiRL: Error-Targeted Reinforcement Learning for Correcting Terminal Agent Misbehaviors},
      author={Runchu Tian and Zaid Khan and Zun Wang and Justin Chih-Yao Chen and Mohit Bansal},
      year={2026},
      eprint={2610.35697},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2610.35697},
}
Downloads last month
102
Safetensors
Model size
4B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Rtian/MiRL-Qwen3.5-4B

Finetuned
Qwen/Qwen3.5-4B
Finetuned
(1,796)
this model
Quantizations
2 models

Paper for Rtian/MiRL-Qwen3.5-4B