mlfoundations-dev/putnam_bench_r1
Viewer • Updated • 492 • 204 • 1
Run davidkhjo/Tars 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:
Use HF Jobs to fine-tune https://huggingface.co/davidkhjo/Tars. 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.
Use HF Jobs to run batch inference with https://huggingface.co/davidkhjo/Tars 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.
How to use davidkhjo/Tars with Transformers:
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("davidkhjo/Tars", device_map="auto")This model is a fine-tuned version of Qwen/Qwen2.5-Math-7B-Instruct on the mlfoundations-dev/putnam_bench_r1 dataset. It has been trained using TRL.
from transformers import pipeline
text = "The capital of France is Paris."
rewarder = pipeline(model="dkjo8/Tars", device="cuda")
output = rewarder(text)[0]
print(output["score"])
This model was trained with Reward.
Cite TRL as:
@software{vonwerra2020trl,
title = {{TRL: Transformers Reinforcement Learning}},
author = {von Werra, Leandro and Belkada, Younes and Tunstall, Lewis and Beeching, Edward and Thrush, Tristan and Lambert, Nathan and Huang, Shengyi and Rasul, Kashif and Gallouédec, Quentin},
license = {Apache-2.0},
url = {https://github.com/huggingface/trl},
year = {2020}
}