AI

Running Local LLMs With Ollama

Run Large Language Models (LLMs) locally using Ollama for privacy, customization, and offline AI applications with CLI, REST API, and Modelfiles.
Arsh Sharma
Arsh Sharma
DevOps expert and coach
Running Local LLMs With Ollama
Play Button
Fill this form to get a notification when course is released.
book
5
Lessons
book
Challenges
Article icon
34
Topics

What you’ll learn

Our students work at..

Description

AI is transforming the world, and at the core of this revolution are Large Language Models (LLMs). While cloud-based AI services like ChatGPT and Claude dominate the landscape, running AI models locally opens up new possibilities for control, customization, and efficiency. That’s where Ollama comes in.

This course empowers you to deploy and manage LLMs efficiently on your own infrastructure. Whether you’re a developer, data scientist, or AI enthusiast, mastering Ollama will give you the flexibility to build AI-powered applications while maintaining full control over your models.

What You'll Learn

  • Getting Started with Ollama
    • Set up and configure Ollama on your system.
    • Run your first AI model and explore key CLI commands.
    • Experiment with different models, parameters, and community tools.
      ‍
  • Building AI Applications
    • Understand Ollama’s REST API and its endpoints.
    • Integrate AI models into real-world applications.
    • Adapt projects for OpenAI API compatibility.
      ‍
  • Customizing Models with Ollama
    • Modify pre-built AI models with a Modelfile.
    • Fine-tune models and adjust parameters to fit specific use cases.
    • Upload and deploy custom AI models.

Why Take This Course?

‍This course combines hands-on labs with real-world scenarios, ensuring you gain practical experience in deploying and working with LLMs. You’ll experiment with model customization, build AI-powered applications, and develop skills to harness the full potential of AI on your local infrastructure.

Read More

What our students say

Arsh Sharma

About the instructor

Arsh is a passionate technologist with a deep curiosity for exploring and experimenting with emerging technologies. A strong advocate for continuous learning, he actively shares his knowledge through blogs and video tutorials. As a dedicated member of open-source communities, he has built a reputation as a prominent contributor and advocate. Recognized as a CNCF Ambassador and a recipient of the Kubernetes Contributor Award, Arsh has made significant contributions to the cloud-native ecosystem. His open-source journey includes working on the Kubernetes team at VMware and contributing to key CNCF projects such as cert-manager and Kyverno.

Beyond engineering, Arsh has extensive experience in technical marketing. At Okteto, a fast-growing startup in the platform engineering space, he led technical content creation and advocacy, bridging the gap between engineering and community engagement.

No items found.

Prerequisites

lock
4
Topics
Lesson Content

Module Content

Course Introduction
How to Reach Out to KodeKloud and Engage with the Community
Prerequisites 01:29
Large Language Models (LLMs) – Introduction 04:04

Getting Started With Ollama

lock
12
Topics
Lesson Content

Module Content

Section Introduction 02:30
Ollama – Introduction 10:06
Installing Ollama 02:01
Running Your First Model 03:47
Demo: Running Your First Model 05:07
Models and Model Parameters 08:33
Running Different Models 04:54
Essential Ollama CLI Commands 03:50
Demo: Essential Ollama CLI Commands 05:54
Lab: Getting Familiar With Ollama CLI
Community Integrations for Ollama 05:21
Demo: Setting Up a ChatGPT-Like Interface With Ollama 06:51

Building AI Applications

lock
11
Topics
Lesson Content

Module Content

Section Introduction 01:42
Ollama REST API​ – Introduction 07:00
Ollama REST API Endpoints 05:23
Demo: Using Ollama API and Interacting With It 09:04
Lab: Working With Ollama API
Leveraging Ollama Models in Application Development 05:39
Demo: Creating an App Using Ollama (OpenAI Python Client) 11:58
Build Your Own AI Application
Lab: Build Your Own AI Application
OpenAI Compatibility for Ollama 02:46
Demo: Migrating an Application to Use the OpenAI API 05:01

Customising Models With Ollama

lock
6
Topics
Lesson Content

Module Content

Section Introduction 01:09
Modelfile – Introduction 05:11
Customizing Models 04:16
Demo: Customizing an Existing Model 04:19
Uploading Custom Models 03:35
Demo: Uploading Custom Models 03:59

Frequently Asked Questions

Who are KodeKloud courses for?

KodeKloud courses are designed for learners at different skill levels, from beginners to experienced IT professionals looking to develop or strengthen their technical skills.

Do KodeKloud courses include hands-on practice?

Yes. Many KodeKloud courses include hands-on labs and practical exercises that let you apply what you learn in real-world environments.

Do I need any prior experience to take a KodeKloud course?

Prerequisites vary by course. Each course page provides information about the recommended knowledge or experience you may need before starting.

Can I learn at my own pace?

Yes. KodeKloud courses are designed for self paced learning, so you can learn according to your schedule and revisit lessons and practice activities as needed.

Can I access KodeKloud courses on mobile devices?

Yes. KodeKloud can be accessed through supported web browsers and mobile devices, allowing you to learn from different devices.

Do KodeKloud courses provide certificates?

Certificate availability depends on the course and your KodeKloud plan. Check the individual course page or your account for the applicable certificate details.

How long does it take to complete a KodeKloud course?

Course completion time varies depending on the course length, your prior experience, and how much time you spend on hands-on practice.

Can I practice while taking the course?

Yes. Courses that include hands-on labs allow you to practice concepts as you progress through the lessons.

 How do I start learning a KodeKloud course?

Choose a course that matches your learning goals, review its requirements and curriculum, and select the available subscription option to start learning.

Running Local LLMs With Ollama
Play Button
Running Local LLMs With Ollama
Fill this form to get a notification when course is released.
This course comes with hands-on cloud labs
5
Modules
Lessons
34
Lessons
Course Certificate
02.25
Hours of Video
Hours of Labs
Story Format
Videos
Case Studies
Demo
Labs
Cloud Labs
Mock exams
Quizzes
Discord Community Support
Community support
Closed Captions

Expand Your Skills in Other Domains

Top-rated KodeKloud courses across popular technology tracks
No items found.
AI
close