Downloads · 30 days
7
12% of all-time downloads
ssurface/qwen3-4b-grpo-nolength-l4
qwen3-4b-grpo-nolength-l4 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 4 (Shorthand).
Downloads · 30 days
7
12% of all-time downloads
All-time downloads
57
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 4 (Shorthand).
Qwen/Qwen3-4B-Instruct-2507
→ SFT LoRA (ssurface/qwen3-4b-cot-compress-l4)
→ Merged
→ GRPO with new reward
→ Merged (this model)
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("ssurface/qwen3-4b-grpo-nolength-l4")
tokenizer = AutoTokenizer.from_pretrained("ssurface/qwen3-4b-grpo-nolength-l4")
messages = [{"role": "user", "content": "Solve this using Level 4 (Shorthand).\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))