THE RUNTHISMODEL FIELD GUIDE
Local AI:
Zero to Hero.
Choose a model, run it, test it, and operate it with evidence.
Development edition 0.1.0 · Updated 2026-10-05
One maintained source for web, PDF, EPUB and the app.
Your learning path
Read in order, keep a lab notebook, and preserve the outputs that fail.
- 01
Start with a task, not a leaderboard
Understand weights, runtimes, licenses and a decision you can test.
- 02
Know your hardware and memory budget
Separate storage, working memory and actual runtime compatibility.
- 03
Identify the exact file and context
Read formats, quantization, hashes and context limits without guessing.
- 04
Get your first useful local response
Install a runtime, download a small model, generate and clean up.
- 05
Measure whether the answer is useful
Build a rubric, keep failures and separate development from held-out tests.
- 06
Turn the model into an application API
Make bounded requests, validate responses and handle errors.
- 07
Answer from your documents
Retrieve sources, preserve their identity and check citations and answers separately.
- 08
Measure performance and recover from failures
Separate loading, prompt evaluation, decoding and quality before tuning.
- 09
Deploy in your own cloud account
Plan total cost, use a private connection, verify the service and remove every resource.
- 10
Control access and protect your data
Set trust boundaries, authenticate requests and limit what the model can do.
- 11
Decide when fine-tuning is justified
Prepare clean examples and held-out data before spending time on adaptation.
- 12
Ship a small service you can evaluate and recover
Combine the journey, monitor useful outcomes and make an explicit release decision.
Before you begin
This book follows one small application from an idea to a local service: read a note, extract its deadline, and check the result. Along the way you will identify your hardware, inspect the exact model file, use a local API, retrieve supporting documents, and decide what evidence is needed before deployment.
The main path uses an Apple Silicon Mac, Python and Ollama. You do not need to buy a GPU or rent a server to complete the measured local labs. The cloud chapter is a separate, optional path with real costs and a cleanup procedure. Windows and Linux readers can use the same concepts and Python client, but this edition does not claim those platforms were tested.
How to use this book
Read chapters 1 to 4 in order. Then work through one lab at a time and keep the JSON reports. Chapters 9 and 11 explain cloud deployment and adaptation without requiring you to provision infrastructure or train a model. Finish by running the capstone checks and writing your own release decision.
Each chapter contains prerequisites, steps, expected results, common failures and an exercise. A completed command does not imply a correct answer. When a result fails a rubric, keep that result and investigate it. Do not replace it with a prettier answer in your report.
Download the companion labs, extract the archive, and open a terminal in rtm-zero-to-hero-labs. Commands using rtm_lab.py run from that folder. The scripts use the Python standard library and the fictional fixtures included in the archive. They do not scan your documents, download weights, create paid resources, or fall back to a remote model. Inspect the source before running it.
What the evidence means
The local labs were executed on 2026-10-05 with Ollama 0.16.3, Python 3.14.3 and an Apple M2 Mac with 24 GiB of memory. The shared catalog revision is 2026-10-05.2. The measured model package is identified by a manifest digest, and its GGUF weights have a separate SHA-256. Chapter 3 explains why both matter.
The raw book lab report includes runtime identity, settings and output. The initial report preserves the first retrieval formatting failure, and the distractor report preserves a later wrong-fact failure. A separate physical iPhone probe establishes a narrow offline inference result, not universal phone compatibility or a completed in-app download.
Use five evidence labels when making decisions: measured for an executed configuration; publisher claim for an upstream statement; community report for someone else's account; estimate for a calculation with stated assumptions; and unknown when the necessary facts are missing. These labels are not interchangeable.
Your lab notebook
For every meaningful run, retain the task, expected answer or rubric, model artifact, runtime version, device, operating system, context settings, source documents, raw output and elapsed time. Record setup and download time separately from inference. Add a short conclusion stating what the run proves and what it does not.
This is a development edition. It includes working local exercises and explicit gaps. A small correct extraction does not establish general intelligence, factual accuracy, safety, multilingual ability or production reliability. The book's final skill is learning how to discover that gap yourself.