openai/gsm8k
Benchmark • Updated • 17.6k • 923k • 1.32k
How to use Redhanuman/Shadow-V2 with Unsloth Studio:
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for Redhanuman/Shadow-V2 to start chatting
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for Redhanuman/Shadow-V2 to start chatting
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Redhanuman/Shadow-V2 to start chatting
pip install unsloth
from unsloth import FastModel
model, tokenizer = FastModel.from_pretrained(
model_name="Redhanuman/Shadow-V2",
max_seq_length=2048,
)Fine-tuned Qwen3-0.6B for mathematical reasoning.
| Property | Value |
|---|---|
| Base Model | Qwen3-0.6B |
| Parameters | 636M total, 40M trainable (6.34%) |
| Precision | BF16 |
| Training Method | LoRA via Unsloth |
| Context Length | 2048 |
| Config | Value |
|---|---|
| Dataset | 25,000 examples |
| Epochs | 1 |
| Batch Size | 16 (2 × 8 accum) |
| Steps | 1,200 |
| Hardware | Tesla T4 16GB |
| Time | 1.35 hours |
| Final Loss | 0.43 |
| Benchmark | Shadow-V2 | Qwen3-0.6B (base) |
|---|---|---|
| GSM8K (5-shot) | TBD | 42.3 |
| MATH (4-shot) | TBD | 18.2 |
| HumanEval (0-shot) | TBD | 28.0 |
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("Redhanuman/Shadow-V2")
tokenizer = AutoTokenizer.from_pretrained("Redhanuman/Shadow-V2")
prompt = "Solve: If 3x + 7 = 22, find x.\nAnswer:"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=256)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))