- Resources
- Courses & Learning
- Local AI Models
Courses & Learning
Local AI Models
Flavio Copes' free 34-lesson course on open-weight models, choosing a model that fits your hardware, running it locally with Ollama and Node.js, building a private AI feature with structured output and fallbacks, and operating local AI responsibly.
Curriculum
5 modules · 34 lessons- 1
Understand open weights
Separate weights, architecture, training, inference, licenses, and the wider meaning of open source AI.
- 01 Weights are learned numbers
- 02 Separate training from inference
- 03 Architecture, weights, and runtime
- 04 Open weights and open source AI
- 05 Read the model card and license
- 06 Check your understanding: open weights
- 2
Choose a model that fits
Compare capabilities, parameter counts, quantization, formats, context, memory, and task quality.
- 07 Start from the task
- 08 Parameters and memory
- 09 Understand quantization
- 10 Safetensors and GGUF
- 11 Context and the KV cache
- 12 Build a small evaluation
- 13 Check your understanding: choosing a model
- 3
Run models locally
Install Ollama, manage model files, use the local API, stream responses, and measure performance.
- 14 Choose a local runtime
- 15 Install and check Ollama
- 16 Pull and run your first model
- 17 Call the local chat API
- 18 Call Ollama from Node.js
- 19 Stream and measure responses
- 20 Check your understanding: running models locally
- 4
Build a local AI feature
Create a Node.js summarizer with structured output, timeouts, cancellation, fallback behavior, and focused tests.
- 21 Define the feature boundary
- 22 Request structured output
- 23 Add timeout and cancellation
- 24 Add a deterministic fallback
- 25 Use tools with a permission boundary
- 26 Keep the provider swappable
- 27 Test the local AI feature
- 28 Check your understanding: building a local feature
- 5
Operate local AI responsibly
Review privacy, model supply chains, permissions, upgrades, costs, evaluations, and production boundaries.
- 29 Map the complete data flow
- 30 Verify model files and code
- 31 Pin and upgrade models
- 32 Understand the real cost
- 33 Complete the local summarizer
- 34 Check your understanding: operating local AI
Pricing
Author
Flavio Copes