Teaching My AI to Sleep: Continual Learning with Llama 3 on a Mac Mini
medium.com·22h·
Discuss: Hacker News
💻Local LLMs
Preview
Report Post

3 min readJust now

I have been obsessed with the idea of giving my local LLM a “circadian rhythm.”

Humans consolidate memories during sleep. We strengthen procedural skills (how to do things) and replay episodic details (what happened), but crucially, we also prune the noise. I wanted to see if I could replicate this cycle on a Mac Mini M2 using a small Llama model.

My goal was simple: A model that chats during the day, and then “sleeps” at night to process those conversations, updating its weights without forgetting how to speak English.

I call the project Circadia. Here is how I built it, and the weird things I found out about dataset size along the way.

The Theory: LoRA vs. RAG

Full fine-tuning is too expensive for a nightly routine. LoRA (Low-Rank Adaptation) o…

Similar Posts

Loading similar posts...