
GHoSTeD splits chat archives for Gemma 4
Kelly Spear's open-source Get GHoSTeD workflow migrates cloud chat archives onto local hardware by discarding the oldest 60% of conversations and fine-tuning Gemma 4 12B on the remaining 40% with DoRA. The full history—30,338 passages in the benchmark run—stays searchable via local RAG, completing 1,141 training steps in 9.6 hours on a 16GB RTX 5060 Ti.
Decoupling conversational style (weights) from factual recall (RAG) is the right architectural split for personal local LLMs—most DIY fine-tunes degrade because developers dump years of noisy, early-stage chat logs straight into SFT.
- –Cutting the oldest 60% avoids training on early prompt calibration and canned assistant boilerplate, while response-only masking focuses DoRA updates on the mature final 40% and leaves all 30,338 passages in external RAG memory.
- –Using Unsloth 4-bit quantization with DoRA (r=16, lora_alpha=32, adamw_8bit) drops training loss from 2.185 to 1.477 across 1,141 steps on a consumer 16GB RTX 5060 Ti, with inference hitting 25.5 tok/s in 14.44GB VRAM.
- –The MIT-licensed Streamlit tool parses ChatGPT, Claude, Gemini Takeout, Grok, and Character.AI exports into ShareGPT JSONL, DPO preference seeds, and RAG Markdown, paired with a 1-click Colab notebook supporting Free T4 (gemma-4-E4B-it) and Pro L4/A100 (gemma-4-12b-it) presets.
- –A fixed 60/40 chronological split is still a blunt heuristic—archives with shifting use cases may drop valuable older turns or retain noise, and training loss alone doesn't validate retrieval precision or hallucination rates.
- –As Apache 2.0 models like Gemma 4 12B fit comfortably inside 16GB GPUs, dataset hygiene and clean boundaries between adapters and vector stores are becoming the main differentiators for local AI setups.
DISCOVERED
39m ago
2026-12-03
PUBLISHED
1h ago
2026-12-03
RELEVANCE
AUTHOR
realkellyspear

