SarvamStack

    Week 1 · Start here

    Getting started

    Run your first LLM in under five minutes. No API keys, no cloud, no cost.

    Pause & reflect

    Before you read on, answer this in your head — or on paper:

    You're about to run an LLM locally. Before we show you how:

    What do you think happens when you type a prompt and press Enter? Where does the "thinking" happen? How big might the model be? What could go wrong on a laptop with 8 GB RAM?

    Take about 20 seconds. No skipping — thinking first makes the next part stick.

    Ollama gives you instant feedback. You see tokens streaming, experiment with prompts, and learn how models behave — all before touching APIs or paying a cent. It also runs the same open-source models you'll use in production (Llama, Mistral, etc.), so the skills transfer.

    Architecture foresight

    Before you read on, answer this in your head — or on paper:

    This course covers prompting, RAG, fine-tuning, and agents. Imagine building a production system that uses all of these.

    What do you think changes when you edit a prompt vs. when you change the model weights? Which can you iterate on in seconds? Which requires training?

    Take about 30 seconds. No skipping — thinking first makes the next part stick.

    Start with inference

    Don't try to build all three pipelines at once. Get Ollama working, call an API, write prompts. Add RAG when you need your own data. Add fine-tuning only when prompting and RAG aren't enough.

    Quick start

    1. Download Ollama from ollama.com. On Windows, install may need admin.
    2. Open a terminal — Terminal (Mac/Linux) or Command Prompt / PowerShell (Windows).
    3. Run:
      First model
      bash
      ollama run llama3.2
      For smaller machines (8 GB RAM or less): ollama run llama3.2:1b
    4. Chat immediately. Type a question, press Enter. That's it.

    Avoid Llama 3.3 (70B)

    Meta's Llama 3.3 70B is too large for typical home computers. It needs enterprise GPUs (80+ GB VRAM). Stick with llama3.2 or llama3.2:1b for local runs.

    Other models to try

    After llama3.2, try ollama run mistral, ollama run phi3, or ollama run gemma2:2b. Each has different strengths. List all: ollama list.

    Test your understanding

    Don't reveal yet. Think for ~30 seconds first — what would you try?

    You have 8 GB RAM and no dedicated GPU. Which model should you run with Ollama?

    Troubleshooting

    Ollama won't start

    Run ollama serve in a separate terminal first. On Windows, try an Administrator PowerShell. If it still fails, use the free Google Colab setup.

    What's next?

    After Ollama works, the course moves to full setup: Cursor + uv (replacing Jupyter + Anaconda). You'll run Python notebooks, call APIs, and build projects. The setup is in the repo's setup folder.

    Check your understanding

    ?

    Why is Ollama ideal for getting started with LLMs?

    ?

    Which Llama version should you avoid on a typical home computer?