Downloads · 30 days
15
28% of all-time downloads
thomasjhuang/qwen2-rloo-countdown-step350
qwen2-rloo-countdown-step350 is a text generation model from thomasjhuang. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
This model is a Qwen2-based language model fine-tuned using RLOO (Rank-order Learning with Localized Objectives) on countdown math problems.
Downloads · 30 days
15
28% of all-time downloads
All-time downloads
54
Public
Parameters
494M
2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2 GB · 99%
From the Hugging Face model README
This model is a Qwen2-based language model fine-tuned using RLOO (Rank-order Learning with Localized Objectives) on countdown math problems.
During training at step 350, the model achieved:
<think> and <answer> tagsfrom transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("thomasjhuang/qwen2-rloo-countdown-step350")
model = AutoModelForCausalLM.from_pretrained("thomasjhuang/qwen2-rloo-countdown-step350")
prompt = '''Using the numbers [8, 16, 80], create an equation that equals 72. You can use basic arithmetic operations (+, -, *, /) and each number can only be used once. Show your work in <think> </think> tags. And return the final answer in <answer> </answer> tags, for example <answer> (1 + 2) / 3 </answer>.'''
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_length=300, temperature=0.1)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(response)
This checkpoint represents an intermediate state in RLOO training where:
<think> tags<answer> tagsFor the latest checkpoint, see: thomasjhuang/qwen2-rloo-countdown-final