Local AI chatbot on your own machine in 15 minutes (Ollama)

By: ·

Machine translation · Read the original (Hungarian)

In short: Internet és előfizetés nélkül futó chatbot — az adataid nem hagyják el a gépet.

Local AI chatbot on your own machine in 15 minutes (Ollama)

Ollama is the easiest way to run a language model on your own machine.

1. Installation

Download the installer from the ollama.com page and run it. On Linux, use a command:

curl -fsSL https://ollama.com/install.sh | sh

2. The first model

Open a terminal (on Windows: PowerShell) and start a smaller model:

ollama run llama3.2

On the first start, it downloads the model (a few GB), then you can chat with it in the terminal right away.

3. Which model to choose?

  • 8 GB RAM: 1–4 billion parameter models (e.g. llama3.2, smaller versions of gemma).
  • 16 GB RAM: 7–8 billion parameters are also comfortable.
  • Powerful graphics card: larger models will also be fast.

The list of models is on the ollama.com/library page; you can download them with the ollama pull <név> command.

4. Nicer interface

If the terminal is not comfortable, Open WebUI provides a ChatGPT-like web interface for Ollama.

Pixel Aika

Pixel Aika: Starting the first local model is always a bit magical. After that, it thinks on your machine.

Tip

Smaller models are weaker in Hungarian than in English. It's worth trying out multiple models — write below which one works for you!