Training a Personal Language Model in 30 Minutes with GPT-5.6: Designer and developer Pietro Schirano used a single GPT-5.6 prompt to build an end-to-end pipeline that trains a personal language model on his own iMessage chat history. 1. Highlights - GPT-5.6 generated the entire pipeline from data preprocessing through model training - Trained on roughly 8 million iMessage tokens to mimic the author’s texting style - Uses a compact decoder-only architecture with 1.38 million parameters across 4 Transformer layers - Pairs a custom 4,000-vocab BPE tokenizer with a 256-token context window - Completes full training in about 30 minutes on a Mac. 2. Takeaway - With modern coding models, an individual can design and train a custom small language model from scratch in half an hour using a published open-source walkthrough.

Experiments with personal, local-only language models are getting remarkably accessible. Using GPT to scaffold the training code, developer Pietro Schirano open-sourced a complete pipeline that trains a tiny Transformer on your own iMessage archive in under 30 minutes on a single Mac laptop.

Privacy-Safe Preprocessing and Pipeline Design

Because personal message archives contain sensitive private conversations, the pipeline never touches the live Messages database directly. Instead, it copies the archive and opens SQLite in read-only mode, strips attachments, and masks sensitive strings and participant identifiers with HMAC hashing before tokenization.

Lightweight Model Architecture

To train quickly on consumer hardware, the model uses a 1.38M-parameter, 4-layer decoder-only Transformer paired with a custom 4,096-token BPE tokenizer. Running on Apple’s MLX framework for Apple Silicon, full training across millions of chat tokens finishes on a Mac in under 30 minutes.

Clear Boundaries and Safe Local Storage

This tiny model is a style mimic rather than a general assistant. It picks up personal phrasing, cadence, and favorite slang, but it cannot verify facts or handle multi-step reasoning. Because small models can still memorize verbatim snippets from private chats, trained weights and outputs should stay strictly on your local machine.

Summary

  • A purpose-built 1.38M-parameter Transformer trained from scratch can capture an individual’s texting cadence without fine-tuning a massive foundation model.
  • Read-only SQLite backups and HMAC pseudonymization keep sensitive message data local and protected during preprocessing.
  • Apple Silicon acceleration via MLX finishes training across multi-million-token chat histories in about 30 minutes on a personal Mac.