proomt

Search

Search posts, papers, and topics

All posts

Real Python1 min readintro

Quiz: How to Get Started With Ollama

Summary

This is a 10‑question quiz that checks your grasp of installing Ollama, pulling models, choosing between chat and generate APIs, and managing multi‑turn conversations in Python. It reinforces the basics of running LLMs on your own hardware for privacy and offline use.

  • Installing Ollama locally enables private LLM inference on your hardware.
  • Use `ollama pull <model>` to download a model before invoking it from Python.
  • `chat()` maintains conversation state across turns, while `generate()` is for single-shot completions.
  • Running models locally removes reliance on external APIs and internet connectivity.

Python developers who want to run LLMs locally should verify they understand Ollama's setup and API usage.

3/10

Related reading

  1. Article: Your Next DSL Author Is a Language Model

    Typed Domain Grounding (TDG) embeds a DSL inside a mainstream language the LLM already knows (e.g., Kotlin) and uses the host compiler as an oracle. The author describes five building blocks—embedding, choosing a host language with high training‑data frequency, compiler‑driven type safety, a generate‑compile‑repair loop, and an on‑demand teaching tool—and shows measured results from kUML, a Kotli…

    InfoQinfoq.com18 min
  2. Quiz: Introduction to pandas

    Real Python offers a 7‑question interactive quiz covering basic pandas tasks like pulling HTML tables, saving CSVs, DataFrame basics, and method chaining. The page provides only the quiz prompt without explanatory content.

    Real Pythonrealpython.com1 min
  3. Article: Architecting Secure and Scalable Facial Verification Systems

    A real‑world post‑mortem of a high‑volume face verification service that moved from a naïve synchronous API to an async, layered pipeline (edge validation, preprocessing, decoupled detection/verification, decision engine) to achieve 8.5k rpm, p99 < 1.8 s, 30 % cost savings, and strict privacy controls.

    InfoQinfoq.com15 min
  4. Do LLMs Have the Memory of a Goldfish?

    The article explains that LLMs don’t have persistent personal memory; all “memory” is supplied by the surrounding application via the context window, summaries, or external storage. It outlines the distinction between trained weights, working‑memory (token context), and persistent application memory, shows how to construct API calls to preserve conversation state, and discusses the cost and laten…

    ByteByteGobytebytego.com12 min