Downloads · 30 days
12
1% of all-time downloads
hanseungwook/olmo3-recurrent-adapter-sft-cot
olmo3-recurrent-adapter-sft-cot is a machine learning model from hanseungwook. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
This is a Recurrent Adapter Model fine-tuned on MetaMathQA for mathematical reasoning, built on top of OLMo-3-1025-7B.
Downloads · 30 days
12
1% of all-time downloads
All-time downloads
2.1K
Public
Repo size
24.5 GB
Likes
0
Public
Click a slice to open those files.
.bin17.2 GB · 100%
From the Hugging Face model README
This is a Recurrent Adapter Model fine-tuned on MetaMathQA for mathematical reasoning, built on top of OLMo-3-1025-7B.
The model uses a recurrent adapter architecture where:
import torch
from transformers import AutoTokenizer, AutoModelForCausalLM
model = AutoModelForCausalLM.from_pretrained(
"hanseungwook/olmo3-recurrent-adapter-sft-cot",
torch_dtype=torch.bfloat16,
device_map="auto",
trust_remote_code=True,
)
tokenizer = AutoTokenizer.from_pretrained("allenai/OLMo-3-1025-7B")
prompt = "What is 25 * 37?"
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
with torch.no_grad():
outputs = model.generate(
**inputs,
max_new_tokens=512,
num_recurrence_steps=32,
temperature=0.7,
)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Apache 2.0