Downloads · 30 days
0
zary0/gpt-oss-20b-4bit-grpo
gpt-oss-20b-4bit-grpo is a machine learning model from zary0. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
Downloads · 30 days
0
Access
Public
Updated Aug 13, 2025
Repo size
43.8 MB
Likes
0
Public
Click a slice to open those files.
.json27.9 MB · 64%
From the Hugging Face model README
gpt-oss-12b-4bit — Unsloth LoRA Adapter
Unsloth + QLoRA (4‑bit) + TRL GRPO (reinforcement learning)
messages = [
{"role": "system", "content": "reasoning language: French\n\nYou are a helpful assistant that can solve mathematical problems."},
{"role": "user", "content": "Solve x^5 + 3x^4 - 10 = 3."},
]
inputs = tokenizer.apply_chat_template(
messages,
add_generation_prompt = True,
return_tensors = "pt",
return_dict = True,
reasoning_effort = "medium",
).to(model.device)
from transformers import TextStreamer
_ = model.generate(**inputs, max_new_tokens = 2048, streamer = TextStreamer(tokenizer))
gpt‑oss authors and maintainers
Unsloth / PEFT / TRL / Transformers / Datasets communities
Author: Ryota Ozawa (zawatti)
X (Twitter): zawattizawawa