Downloads · 30 days
5
8% of all-time downloads
ssurface/qwen3-4b-grpo-nolength-l2
qwen3-4b-grpo-nolength-l2 is a text generation model from ssurface. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
Qwen3-4B-Instruct fine-tuned with SFT → GRPO + new reward for compressed chain-of-thought reasoning at Level 2 (Concise).
Downloads · 30 days
5
8% of all-time downloads
All-time downloads
59
Public
Parameters
4B
8.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors8 GB · 100%
From the Hugging Face model README
Qwen3-4B-Instruct fine-tuned with SFT → GRPO + new reward for compressed chain-of-thought reasoning at Level 2 (Concise).
Qwen/Qwen3-4B-Instruct-2507
→ SFT LoRA (ssurface/qwen3-4b-cot-compress-l2)
→ Merged
→ GRPO with new reward
→ Merged (this model)
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("ssurface/qwen3-4b-grpo-nolength-l2")
tokenizer = AutoTokenizer.from_pretrained("ssurface/qwen3-4b-grpo-nolength-l2")
messages = [{"role": "user", "content": "Solve this using Level 2 (Concise).\nProblem: ..."}]
inputs = tokenizer.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt")
outputs = model.generate(inputs, max_new_tokens=256)
print(tokenizer.decode(outputs[0], skip_special_tokens=False))