15 min
Ollama: Full Tutorial for Beginners
Ollama for beginners, start to finish on a real laptop with no graphics card: install it on Linux (and where to get it for Mac and Windows), pull and run Llama 3.2, chat, read the speed with --verbose, see what is loaded with ollama ps, why an 8 GB model crashes with only 'EOF' (the out-of-memory killer) and how to pick a model that fits your memory, build your own model with a Modelfile, the long-input trap (a log cut short by the 4096-token default context) and the num_ctx fix, the REST API on port 11434 (/api/generate, /api/chat and its history, Python, the OpenAI-compatible /v1 endpoint), and letting another computer use it safely with OLLAMA_HOST.