Overview
In this guide, we’ll use Ollama, an open-source tool that makes it easy to download and run AI models locally.1. Download Ollama
You can download the installer directly from Ollama.Alternatively, use PowerShell to download and run the installer:
2. Install Ollama
After downloading, double-click OllamaSetup.exe and follow the on-screen instructions to complete the installation.3. Download Granite Models
Ollama supports a range of IBM Granite models. Larger models provide better results but require more resources. Use PowerShell to download Granite 4:4. Run Granite
To start chatting with Granite:granite4
).
5. Notes on Context Length
By default, Ollama runs models with a short context length to save memory.
For longer conversations, you can adjust it by setting:
For longer conversations, you can adjust it by setting: