1
stars
24
commits
3
linked in READMEs
Oct 9, 2025
updated
This is the corpus from "Learning on the Job: Test-Time Curricula for Targeted Reinforcement Learning".
Code: https://github.com/jonhue/ttc
We study how large language models (LLMs) can continually improve at reasoning on their target tasks at test-time. We propose an agent that assembles a task-specific curriculum, called test-time curriculum (TTC-RL), and applies reinforcement learning to continue training the model for its target task. Our experiments demonstrate that reinforcement learning on a test-time curriculum consistently improves the model on its target tasks, across a variety of evaluations and models.
Fields:
kind: Indicates problem type. One of math, code, verifierdataset: Indicates original dataset. One of dapo_math, math, gsm8k, livecodebench, taco, primeintellect, webinstructdescription: Contains the problem / question (without boilerplate)problem: Contains the problem / question (inluding boilerplate for training)answer: Contains the answer for all datasets except codetests: Contains a dictionary with test cases for validating code, serialized to json
inputs - input for each test caseoutputs - output for each test casetesttype - either "functional" or "stdin"fn_name - may be "" if not functional or if the first function of the output should be takencontext - should be included in namespace during execution of solution attemptstime_limit - time limit in secondsOther fields are maintained from the original datasets.
To get started with the dataset and reproduce results from the paper, follow these steps:
Clone the repository and add to PYTHONPATH:
git clone --recurse-submodules https://github.com/jonhue/ttc
export PYTHONPATH=.../ttc:$PYTHONPATH
Install additional libraries and the modified version of verl:
pip install -r requirements.txt
pip install -e TTRL/verl/.;
pip install -e activeft/.;
This repository builds on the Test-Time Reinforcement Learning (TTRL) and the Volcano Engine Reinforcement Learning (verl) libraries. Please refer to the documentation of these libraries for basic functionality and setup.
To generate the corpus, run:
python data/train/create_dataset.py
Use the generate_verl_data.sh script to create datasets for training:
DATA_PATH=... # Specify your data path
bash generate_verl_data.sh Qwen/Qwen3-8B lasgroup/verifiable-corpus math-ai/aime25 $DATA_PATH false 500000 true false false true
To start TTC-RL training on the generated dataset:
bash training/verl_training.sh Qwen/Qwen3-8B lasgroup_verifiable-corpus_math-ai_aime25_500000
PYTHONPATHdataset_dict.json and train directorypython data/train/create_dataset.pygit lfs installIf you find this work helpful, please cite us.
@article{hubotter2025learning,
title = {Learning on the Job: Test-Time Curricula for Targeted Reinforcement Learning},
author = {H{\"u}botter, Jonas and Diaz-Bone, Leander and Hakimi, Ido and Krause, Andreas and Hardt, Moritz},
year = 2025,
journal = {arXiv preprint arXiv:2510.04786}
}
@inproceedings{hubotter2024efficiently,
title = {Efficiently Learning at Test-Time: Active Fine-Tuning of LLMs},
author = {H{\"u}botter, Jonas and Bongni, Sascha and Hakimi, Ido and Krause, Andreas},
year = 2025,
booktitle = {ICLR}
}
1
stars
24
commits
3
linked in READMEs
Oct 9, 2025
updated
This is the corpus from "Learning on the Job: Test-Time Curricula for Targeted Reinforcement Learning".
Code: https://github.com/jonhue/ttc
We study how large language models (LLMs) can continually improve at reasoning on their target tasks at test-time. We propose an agent that assembles a task-specific curriculum, called test-time curriculum (TTC-RL), and applies reinforcement learning to continue training the model for its target task. Our experiments demonstrate that reinforcement learning on a test-time curriculum consistently improves the model on its target tasks, across a variety of evaluations and models.
Fields:
kind: Indicates problem type. One of math, code, verifierdataset: Indicates original dataset. One of dapo_math, math, gsm8k, livecodebench, taco, primeintellect, webinstructdescription: Contains the problem / question (without boilerplate)problem: Contains the problem / question (inluding boilerplate for training)answer: Contains the answer for all datasets except codetests: Contains a dictionary with test cases for validating code, serialized to json
inputs - input for each test caseoutputs - output for each test casetesttype - either "functional" or "stdin"fn_name - may be "" if not functional or if the first function of the output should be takencontext - should be included in namespace during execution of solution attemptstime_limit - time limit in secondsOther fields are maintained from the original datasets.
To get started with the dataset and reproduce results from the paper, follow these steps:
Clone the repository and add to PYTHONPATH:
git clone --recurse-submodules https://github.com/jonhue/ttc
export PYTHONPATH=.../ttc:$PYTHONPATH
Install additional libraries and the modified version of verl:
pip install -r requirements.txt
pip install -e TTRL/verl/.;
pip install -e activeft/.;
This repository builds on the Test-Time Reinforcement Learning (TTRL) and the Volcano Engine Reinforcement Learning (verl) libraries. Please refer to the documentation of these libraries for basic functionality and setup.
To generate the corpus, run:
python data/train/create_dataset.py
Use the generate_verl_data.sh script to create datasets for training:
DATA_PATH=... # Specify your data path
bash generate_verl_data.sh Qwen/Qwen3-8B lasgroup/verifiable-corpus math-ai/aime25 $DATA_PATH false 500000 true false false true
To start TTC-RL training on the generated dataset:
bash training/verl_training.sh Qwen/Qwen3-8B lasgroup_verifiable-corpus_math-ai_aime25_500000
PYTHONPATHdataset_dict.json and train directorypython data/train/create_dataset.pygit lfs installIf you find this work helpful, please cite us.
@article{hubotter2025learning,
title = {Learning on the Job: Test-Time Curricula for Targeted Reinforcement Learning},
author = {H{\"u}botter, Jonas and Diaz-Bone, Leander and Hakimi, Ido and Krause, Andreas and Hardt, Moritz},
year = 2025,
journal = {arXiv preprint arXiv:2510.04786}
}
@inproceedings{hubotter2024efficiently,
title = {Efficiently Learning at Test-Time: Active Fine-Tuning of LLMs},
author = {H{\"u}botter, Jonas and Bongni, Sascha and Hakimi, Ido and Krause, Andreas},
year = 2025,
booktitle = {ICLR}
}