GitHub radar

Train a Transformer model on your iMessages

Everything you need to build a small Transformer language model on your own iMessages (offline and on your Mac!)

A python script to train a decoder-only transformer model with Apple’s MLX framework on your own iMessages. Snapshotting the Messages DB, anonymizing contacts, implementing your own byte level bpe tokenizer, leak free split, training loop, and cli interface to serve your personalized iMessage bot! No cloud required!

Why a vibe-coder should care

Ever wondered how it feels to chat with a bot that only understands your style of writing? Here’s your chance to experience it, without using any api’s/subscriptions and fully offline. Also, you can roll up your sleeves and dive into learning more about these technologies by implementing rather than finetuning.

Open on GitHub