How to Use Ollama in 3 minutes - Run LLMs locally for FREE (LLama3 & more)

Infinite Codes · Intermediate ·🧠 Large Language Models ·1y ago

Key Takeaways

This video demonstrates how to use Ollama to run LLMs locally for free, including installing Ollama, selecting and pulling LLM models like Llama3, and chatting with the model on the command line.

Full Transcript

all you need to do is go to ama.com click on download and then depending on your computer you can do any of the following options Mac OS Linux or Windows and follow the instructions to install o Lama um I myself am on Linux so my instructions will help most of you very little because most of you will not be using Linux so just follow the instructions for um Mac OS and or Windows or Linux if you have Linux so once you have Ama and installed you can go to your command line and type AMA and it will show you the commands that are available for AMA so run will run a model of you know a model you're interested in um AMA pull will pull the model to your computer so basically install download the model to your computer and AMA list will tell you what models you have already available so let's do that I have open Hermes available right now so if I wanted to use llama 3 I would have to do all Lama pull llama 3 or alternatively I can just do AMA run llama 3 in a before running llama 3 actually do the poll so let's do that I have now um downloaded llama 3 and I did this by doing AMA run Lama 3 which is the same as pull and then run and now I am actually chatting with Lama 3 so we can try it hey can you tell me me about about yourself so you can see it's typing but it's typing very slowly um but it behaves just like chat gbt would behave so uh it's a large language model chat and you can interact with it just like you do with jet gbt and um llama 3 is supposed to be almost as powerful as jet gbt just a note while it's responding if you go to the AMA website you can click on models up here and I will show you the available models so llama 3 is what we're using right now and we'll also try out mixol and but there's a bunch of other models like llama 2 which I don't suggest you use because it's just a weaker older version of llama 3 by meta but there's a bunch of other models you can try out but most of them will not be as powerful as jet gbt or llama 3 so llama 3 is done responding and you know this is what it looks like but it took about a minute to respond F which I think it's mostly because my computer is overwhelmed um because I have a lot of things open but you know it it will work exactly like J gbt except it's on your computer and it's completely free which is nice

Original Description

How to Use Ollama in 3 minutes - Run LLMs for FREE with Ollama (LLama3 and more) I will show you how to install and use Ollama for free in under 3 minutes. I will also show you the basic usage of Ollama on the command line. How to select and pull LLM models like Llama3 and chat with it on the command line on your local machine for free just like ChatGPT without access to the internet.
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Infinite Codes · Infinite Codes · 17 of 39

1 Why Python is the BEST programming language (Top 10 2024)
Why Python is the BEST programming language (Top 10 2024)
Infinite Codes
2 The Most Fun Programming Language for Beginners!
The Most Fun Programming Language for Beginners!
Infinite Codes
3 Why Python is the Hottest Programming Language
Why Python is the Hottest Programming Language
Infinite Codes
4 How to delete a repository in GitHub (2024 updated)
How to delete a repository in GitHub (2024 updated)
Infinite Codes
5 How to get OpenAI API key / ChatGPT API key (2024 updated)
How to get OpenAI API key / ChatGPT API key (2024 updated)
Infinite Codes
6 How to clone GitHub Repository (2024 updated)
How to clone GitHub Repository (2024 updated)
Infinite Codes
7 How to Clone GitHub Repository in Visual Studio Code (2024 updated)
How to Clone GitHub Repository in Visual Studio Code (2024 updated)
Infinite Codes
8 How to Push Code to GitHub from Visual Studio Code & Create a GitHub Repository (2024 updated)
How to Push Code to GitHub from Visual Studio Code & Create a GitHub Repository (2024 updated)
Infinite Codes
9 How to Push Code to GitHub on the Command Line (2024 updated) - with Authentication
How to Push Code to GitHub on the Command Line (2024 updated) - with Authentication
Infinite Codes
10 CrewAI Tutorial: Automate your Life with AI Agents
CrewAI Tutorial: Automate your Life with AI Agents
Infinite Codes
11 Automate your Life with AI Agents (EASY CrewAI Tutorial)
Automate your Life with AI Agents (EASY CrewAI Tutorial)
Infinite Codes
12 I Automated my Instagram with AI Agents - CrewAI Hierarchical Tutorial (Instagram Automation)
I Automated my Instagram with AI Agents - CrewAI Hierarchical Tutorial (Instagram Automation)
Infinite Codes
13 How I’d learn Machine Learning & AI in 2024 (if I could start over) -- 7-step Roadmap
How I’d learn Machine Learning & AI in 2024 (if I could start over) -- 7-step Roadmap
Infinite Codes
14 How to Create an EC2 Instance in AWS in 2024
How to Create an EC2 Instance in AWS in 2024
Infinite Codes
15 How to connect CrewAI to different LLMs (GPT4o, Groq, Llama3, Ollama) - Tutorial & LLM comparison
How to connect CrewAI to different LLMs (GPT4o, Groq, Llama3, Ollama) - Tutorial & LLM comparison
Infinite Codes
16 How to Learn Machine Learning in 2024 (7 step roadmap)
How to Learn Machine Learning in 2024 (7 step roadmap)
Infinite Codes
How to Use Ollama in 3 minutes -  Run LLMs locally for FREE (LLama3 & more)
How to Use Ollama in 3 minutes - Run LLMs locally for FREE (LLama3 & more)
Infinite Codes
18 How to get a Groq API key - Run LLMs for FREE (LLama3 etc.)
How to get a Groq API key - Run LLMs for FREE (LLama3 etc.)
Infinite Codes
19 What is Groq? - 30 seconds
What is Groq? - 30 seconds
Infinite Codes
20 Perplexity AI Tutorial: Why you don't need Google and ChatGPT anymore
Perplexity AI Tutorial: Why you don't need Google and ChatGPT anymore
Infinite Codes
21 All Machine Learning algorithms explained in 17 min
All Machine Learning algorithms explained in 17 min
Infinite Codes
22 How Math makes Machine Learning easy (and how you can learn it)
How Math makes Machine Learning easy (and how you can learn it)
Infinite Codes
23 15 Machine Learning Lessons I Wish I Knew Earlier
15 Machine Learning Lessons I Wish I Knew Earlier
Infinite Codes
24 Learn Machine Learning Like a GENIUS and Not Waste Time
Learn Machine Learning Like a GENIUS and Not Waste Time
Infinite Codes
25 All Machine Learning Concepts Explained in 22 Minutes
All Machine Learning Concepts Explained in 22 Minutes
Infinite Codes
26 All Machine Learning Beginner Mistakes explained in 17 Min
All Machine Learning Beginner Mistakes explained in 17 Min
Infinite Codes
27 Neural Networks in 100 seconds
Neural Networks in 100 seconds
Infinite Codes
28 Generative AI in 100 seconds
Generative AI in 100 seconds
Infinite Codes
29 GPTs in 100 seconds
GPTs in 100 seconds
Infinite Codes
30 22 Machine Learning Projects That Will Make You A God At Data Science
22 Machine Learning Projects That Will Make You A God At Data Science
Infinite Codes
31 Transformers in 100 seconds
Transformers in 100 seconds
Infinite Codes
32 THIS is Why Machine Learning Is Hard For you
THIS is Why Machine Learning Is Hard For you
Infinite Codes
33 Deep Learning in 100 seconds
Deep Learning in 100 seconds
Infinite Codes
34 30 Machine Learning Facts Most People Get Wrong
30 Machine Learning Facts Most People Get Wrong
Infinite Codes
35 Gradient Descent in 100 Seconds
Gradient Descent in 100 Seconds
Infinite Codes
36 Computer Vision in 100 Seconds
Computer Vision in 100 Seconds
Infinite Codes
37 Reinforcement Learning in 100 Seconds
Reinforcement Learning in 100 Seconds
Infinite Codes
38 32 Machine Learning Facts That Make No Sense
32 Machine Learning Facts That Make No Sense
Infinite Codes
39 What is Machine Learning? Your 2025 Guide to the AI Revolution
What is Machine Learning? Your 2025 Guide to the AI Revolution
Infinite Codes

This video teaches how to use Ollama to run LLMs locally for free, allowing users to interact with AI models like Llama3 on their own computer. The video covers installation, model selection, and basic usage on the command line.

Key Takeaways
  1. Go to the Ollama website and download the software
  2. Install Ollama on your computer
  3. Open the command line and type 'ollama' to see available commands
  4. Use 'ollama pull' to download an LLM model
  5. Use 'ollama run' to run an LLM model
  6. Interact with the LLM model on the command line
💡 Ollama allows users to run LLMs locally for free, providing an alternative to cloud-based AI models like ChatGPT.

Related AI Lessons

Sub-10ms AI Workflows: Accelerating sim.ai with On-Device Semantic Search using Moss
Learn how to accelerate AI workflows with on-device semantic search using Moss, achieving sub-10ms response times and improving user experience
Medium · Machine Learning
Anthropic Built a $100M Club for Its Smartest AI. You’re Probably Not In It.
Learn about Anthropic's Project Glasswing, a $100M club for its smartest AI, and understand the strategy behind it
Medium · LLM
Stop Guessing: Guaranteed Structured Output from LLMs in Node.js
Learn to guarantee structured output from LLMs in Node.js and stop parsing JSON manually
Dev.to · Hardik Mehta
Spring AI Tutorial — Your First REST Endpoint with OpenAI (2026)
Build a REST endpoint with Spring Boot 3 and OpenAI to create an LLM-powered API, leveraging the power of AI in your applications
Dev.to AI
Up next
5 Levels of AI Agents - From Simple LLM Calls to Multi-Agent Systems
Dave Ebbelaar (LLM Eng)
Watch →