Downloads · 30 days
52
3% of all-time downloads
daksh-neo/qwen-to-gemma-math
qwen-to-gemma-math is a text generation model from daksh-neo. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
[](https://heyneo.so) [](https://huggingface.co/daksh-neo/qwen-to-gemma-math) [](https://huggingface.co/daksh-neo/qwen-to-gemma-math)
Downloads · 30 days
52
3% of all-time downloads
All-time downloads
1.7K
Public
Parameters
5.1B
20.6 GB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors10.2 GB · 100%
From the Hugging Face model README
Autonomously designed, trained, and evaluated by NEO — Your AI Agent. Try NEO →
| Model | GSM8K Accuracy | Correct / 200 |
|---|---|---|
google/gemma-4-E2B-it (baseline) | 71.0% | 142 / 200 |
daksh-neo/qwen-to-gemma-math (NEO) | 75.0% | 150 / 200 |
NEO's model outperforms the baseline by +4.0 percentage points on GSM8K — trained autonomously from scratch using knowledge distillation from Qwen3-plus and LoRA fine-tuning on the full GSM8K training set.
This model distills mathematical reasoning from Qwen3-plus (teacher) into Gemma 4 2B (student) using chain-of-thought behavioral cloning, followed by LoRA supervised fine-tuning on GSM8K.
NEO autonomously:
Architecture: Gemma4ForConditionalGeneration (2B parameters, bfloat16)
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model_id = "daksh-neo/qwen-to-gemma-math"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.bfloat16,
device_map="auto"
)
model.eval()
prompt = """Problem: Janet has 3 apples. She gives 1 to her friend and buys 5 more. How many does she have?
Solve step-by-step. End with "The answer is: <number>".
Solution:"""
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
with torch.no_grad():
out = model.generate(**inputs, max_new_tokens=256, do_sample=False)
print(tokenizer.decode(out[0], skip_special_tokens=True))
Note: Requires
transformers≥ 5.6.0.dev0 (from source) forGemma4ForConditionalGenerationsupport.
| Parameter | Value |
|---|---|
| Dataset | GSM8K test set |
| Samples | 200 |
| Batch size | 16 |
| Precision | bfloat16 |
| Decoding | Greedy (do_sample=False) |
| Matching | Strict numeric match |
| GPU | Tesla V100-SXM2-16GB |
NEO autonomously designed and executed the full pipeline — zero manual intervention.