Ollama & Local LLMs: Fine-Tune, Deploy, Build Python AI Apps

Build Private AI on Your PC: Unsloth QLoRA, Ship Models to Ollama, Streamlit RAG Apps, a Full Coding-Assistant Capstone

  • 0.0 (0 Reviews)
  • 0 Students
  • 60 Lessons
  • Abdurrahman TEKIN

Course Overview

If you are tired of black-box cloud APIs and want AI that runs on your hardware, keeps your data local, and still ships like a real product, this course gives you a complete path from first Python call to a deployable model and a capstone app you can show in a portfolio.

You start with Olloma + Python (chat, streaming, generation patterns you reuse everywhere), then move into Streamlit apps, RAG-style assistants, multi-agent workflows, Unsloth + QLoRA fine-tuning, export into Ollama, and finish with a full local coding assistant (browser, editor, diffs, run code, shell, optional web research and vision hooks). Theory never floats alone: every idea maps to working code and a clear next step.

What makes this course practical

You build, not only watch. Expect real tools: chat UIs, PDF Q&A, embedding search, personal note and diary apps, CrewAI agent teams, Whisper + Ollama video Q&A, and a large Streamlit coding IDE powered by Ollama. You also fine-tune a small instruct model, compare base vs fine-tuned answers, merge adapters, and ship the result through Ollama, including straight talk on quantization and quality so your exports behave the way you expect.

In this course, you will

  • Wire up Ollama from Python using chat, streaming, and generation patterns that repeat across the whole curriculum.

  • Ship Streamlit front ends on top of local models, including vision demos and media flows (frames, Whisper transcription, questions over audio).

  • Build retrieval-style assistants: PDF context, LangChain templates and chains, chunking for long text, and spaCy embedding search from similarity through full chunk retrieval.

  • Orchestrate multi-step AI with LangChain and CrewAI (Ollama-backed agents, sequential workflows, domain-style examples).

  • Run Hugging Face models locally and stretch into extra modalities when your hardware allows (text-to-speech, text-to-video runners).

  • Train a personalized small LLM with Unsloth + QLoRA, watch validation for catastrophic forgetting, test against the base model, merge adapters, and package for Ollama with a Modelfile and export notes you can follow on a real machine.

  • Finish a capstone: a local LLM-assisted coding environment (project browser, editor, streaming chat, apply changes with diff review, run code and shell, optional web research, planning, persistence, and more).

Why local LLMs matter

You own your stack: privacy, predictable cost, and the freedom to specialize a model on your data and ship prototypes without betting everything on one cloud provider.

Why learn from this course

You get numbered, file-based progression, copy-paste-friendly projects, and troubleshooting for real setups (CUDA PyTorch, Windows compiler and Triton notes, protobuf conflicts, pip and Hugging Face caches). The goal is fewer weekends lost to environment issues and more time shipping.

Before you enroll

Comfortable Python basics (install packages, run scripts, read errors). A recent NVIDIA GPU is strongly recommended for fine-tuning, Unsloth work, and several advanced demos. Some lessons need ffmpeg or large downloads; plan disk space and time for first-time model pulls.

How to get the most from the course

Watch the promo, sample the free preview. When you enroll, your outcome is simple: private AI on your PC that you run, train, export, and productize yourself.

See more

FAQ

FAQ area empty

Course curriculum

7 chương 60 bài học 16 giờ 39 phút 7 bài học thử miễn phí
Chương 1 Introduction
Chương 2 Ollama
Chương 3 Langchain
  • 15 - Use Local LLM with Langchain 3:08
  • 16 Use PromptTemplate and LLMChain 5:19
  • 17 Use 4 input variables in the template 6:00
  • 18 Learn Chunking Long Texts 20:48
  • 19 Get embedding and similarity between two texts 13:04
  • 20 Find the most similiar sentence in the text 12:10
  • 21 Get model answer questions based on long stories 16:39
  • 22 - Chat with Your Note 16:33
  • 23 Chat with Your Diary 17:06
Chương 4 CrewAI
  • 24 Create Virtual Environment on Power Shell 9:38
  • 25 Use Local Ollama LLM with CrewAI 6:48
  • 26 Story Writing with CrewAI and Ollama 8:43
  • 27 Recipe Generator and Nutrition Analyzer 6:38
  • 28 Travel Itinerary Planner 3:49
  • 29 Personal Finance Advisor 5:55
Chương 5 HuggingFace
  • 30 Introduction to HuggingFace 5:33
  • 31 Dowload and Delete HuggingFace Models 16:55
  • 32 Understand the critical parameters of the models (temperature, top_k, top_p) 39:19
  • 33 Using Text to Speech model 22:53
  • 34 Use Text to Image Model 17:59
  • 35 Use Text to Video Model. 46:44
  • 36 Use Image to Video Model 15:30
Chương 6 Fine-Tune LLMs
  • 37 Introduction to Unsloth 7:29
  • 38 What are the parameters and How AI works 31:43
  • 39 How LLM Parameters Are Stored in Memory 39:46
  • 40 How Tokenizer Works 25:25
  • 41 Embedding the Inputs 13:39
  • 42 What Happens End-to-End, and Adding Position to Vectors 13:24
  • 43 How the Model choose the Tokens with Probabilities 30:57
  • 44 Learn Fine-Tuning End to End 53:55
  • 45 Use the Trained Model 7:56
  • 46 Upload Your Model to Ollama Website 22:24
  • 47 Share Your Fine-Tuned Models on Udemy with Others 3:32
Chương 7 Cursor-Like Local LLM-Assisted Coding Tool
  • 48 Introduction to the Local LLM-Assisted Coding Tool 17:53
  • 49 The tool can explain the code 9:31
  • 50. Easily fix errors. 6:27
  • 51 The tool will remember the chat history 11:28
  • 52 Try to Create Snake Game 11:53
  • 53 The Tool can Do Planning and Web Research 23:16
  • 54 Save the current files in snippets and Inject top smiliar snippets into Chat 33:45
  • 55 Cite the existing file, add image in the chat, go back to previous code. 17:38
  • 56 Create a Subtitle Generator Using the Local LLM-Assisted Coding Tool 1:55:15
  • 57 I am waiting your suggestions about the tool 14:17
  • 58 Language Practice App 20:47

Requirment

  • Basic Knowledge of Python

Outcomes

  • Use Ollama from Python: chat, streaming, generation.

  • Build Streamlit UIs on top of local models.

  • Add vision: images with multimodal models (e.g. LLaVA-style flows).

  • Handle video: frames, Whisper transcription, Q&A over audio.

  • Do PDF Q&A and document-grounded prompts.

  • Use LangChain: Ollama integration, templates, LLMChain, multi-input prompts.

  • Chunk long text and summarize with map-style workflows.

  • Use spaCy embeddings: similarity, semantic search, RAG over long text.

  • Build note/diary style personal knowledge apps.

  • Run CrewAI agents with Ollama (sequential and domain examples).

  • Run Hugging Face transformers locally; manage cache and disk use.

  • Try TTS and text-to-video scripts where GPU allows.

  • Run Unsloth inference (e.g. SmolLM2), inspect tokenizer and model behavior.

  • Fine-tune with Unsloth + QLoRA; watch validation for forgetting.

  • Test base vs fine-tuned models; merge LoRA adapters.

  • Export to Ollama (Modelfile, quantization tradeoffs).

  • Capstone: local LLM coding assistant (editor, chat, diffs, run code, shell, optional web research, planning, persistence).

Instructor

...
Abdurrahman TEKIN

0.0

  • ... 0 Student
  • ... 1 Course
  • ... 0 review

View Details

Reviews

Rate this course :

Remove all