Distilled DeepSeek into Gemma 4 26B-A4B vs 12B. Not very useful, but I learned a lot.
Mirrored from r/LocalLLaMA for archival readability. Support the source by reading on the original site.
| So I decided to learn how to fine-tune LLMs. Read a few guides from Unsloth, poked around, then stumbled on Unsloth Studio and wanted to test it out. The dataset I started from a set of relatively unrelated QA pairs — Natural Questions — and stripped the answers. Then I had DeepSeek v4 Pro (thinking disabled) repopulate them: - 1000 train + 200 val = 1200 requests total, cost $0.36 (~$0.0003/req). Honestly impressive on DeepSeek's side. Unsloth Studio It's a huge pain in the butt — infested with all kinds of bugs that prevented me from using it easily. Once I figured the workflow out it was workable, but expect to debug. After that I rented a server: 2x RTX 3090, 128GB RAM, Threadripper. What I trained Two models, to compare dense vs MoE during training: - gemma-4-26B-A4B-it-qat used both GPUs - gemma-4-12B-it-qat used one GPU Both QLoRA, 4-bit, identical hyperparams. (See attached image) Interesting notes
Costs: DeepSeek distillation $0.36 · server $3.38. I put together a dashboard image with all the hyperparameters, train/eval loss curves, grad norm, LR schedule, and timings — attached. Models (GGUF): 1. https://huggingface.co/gwejgteheg/gemma-4-26B-A4B-it-qat-DeepSeek-distill-GGUF 2. https://huggingface.co/gwejgteheg/gemma-4-12B-IT-QAT-Q4_K_M-DeepSeek-distill-GGUF Dataset (for reproducibility): - https://huggingface.co/datasets/gwejgteheg/natural_questions_pair/tree/main Any feedback is appreciated and feel free to ask me any questions. Also, what kinds of fine-tunes does the community currently need? [link] [comments] |
Discussion (0)
Sign in to join the discussion. Free account, 30 seconds — email code or GitHub.
Sign in →No comments yet. Sign in and be the first to say something.