Skip to content

Insight // Artificial Intelligence

How to Run Llama 3 Locally with Ollama

May 18, 2024 3 min read HyScaler Team

Introduction to Llama 3

Llama 3 is available in two variants: an 8 billion parameter model and a larger 70 billion parameter model. These models are trained on an extensive amount of text data, making them versatile for a wide range of tasks. These tasks include but are not limited to, generating text, translating languages, creating diverse types of creative content, and providing informative answers to user queries. Meta has positioned Llama 3 as one of the top open models currently available, although it is still a work in progress. Here’s a comparison of the performance of the 8B model against Mistral and Gemma, according to Meta.

Performance of Llama 3

  1. The new 8B and 70B parameter Llama 3 models are a significant improvement over Llama 2, establishing a new state-of-the-art for LLM models at these scales.
  2. Thanks to advancements in pretraining and post-training, the pretrained and instruction-fine-tuned models are currently the best at the 8B and 70B parameter scale.
  3. Post-training improvements have led to a substantial reduction in false refusal rates, improved alignment, and increased diversity in model responses.
  4. Llama 3 has greatly improved capabilities like reasoning, code generation, and instruction following, making it more steerable.
  5. In the development of Llama 3, performance was evaluated on standard benchmarks and optimized for real-world scenarios.
  6. A new high-quality human evaluation set was developed, containing 1,800 prompts covering 12 key use cases.
  7. To prevent accidental overfitting, even the modeling teams do not have access to this evaluation set.
  8. Preference rankings by human annotators based on this evaluation set highlight the strong performance of the 70B instruction-following model in real-world scenarios.
  9. The pretrained model also establishes a new state-of-the-art for LLM models at these scales. Please see the evaluation details for setting and parameters with which these evaluations are calculated.
Meta Llama 3 Performance : How to Run Llama 3 Locally

How to Run Llama 3 Locally? Step-by-step guide

To run these models locally, we can use different open-source tools. Here are a couple of tools for running models on your local machine.

Run Llama 3 Locally Using Ollama

STEP 1: INSTALL OLLAMA

Ollama is another open-source software for running LLMs locally.

To use Ollama, you have to download the software. From here: https://github.com/ollama/ollama

How to Run Llama : install Ollama
How to Run Llama : install Ollama

Or use this:

Linux

curl -fsSL https://ollama.com/install.sh | sh

Manual install instructions

STEP 2: DOWNLOADING AND USING LLAMA 3

To download the Llama 3 model and start using it, you have to type the following command in your terminal/shell. 

ollama run llama3

it will take almost 15-30 minutes to download the 4.7GB model. 

downloading Ollama

STEP 3: READY TO USE

LLama 3 is ready to be used locally as if you were using it online.

Prompt:

"Describe the use of AI in Drones"

How to Run Llama 3 Locally with Ollama

Conclusion

Our journey into the realm of language modeling has led us to some truly exciting discoveries. Among these is Llama 3, a cutting-edge language model that’s making waves in the tech world. But what’s even more thrilling is that we can now run Llama 3 right on our local machines! Thanks to innovative technologies like HuggingFace Transformers and Ollama, the power of Llama 3 is now within our grasp.

This breakthrough has opened up a plethora of possibilities across various industries. Whether it’s automating customer service, generating creative content, or even aiding in scientific research, the applications of Llama 3 are virtually limitless.

But perhaps the most promising aspect of Llama 3 is its open-source nature. This means that it’s not just a tool for the tech elite, but a resource that’s accessible to developers all over the world. It’s a testament to the spirit of innovation and accessibility that drives the tech community.

Related

Keep reading.

Coders

40 Best Vibe Coding Tools for Developers in 2026 (Tested & Compared)

“Vibe coding” is a term Andrej Karpathy coined in February 2025 and describes building software by describing what you want in plain language and letting an AI agent write, run, and iterate on the code, rather than typing every line yourself. Karpathy has since suggested “agentic engineering” as a more accurate label for the professional […]

Aug 21, 2026

Technology

Cash for Change: Unveiling the Dollars Behind Climate Solutions

Climate Solutions Funding: In a world grappling with the profound impacts of climate change, the financial sector has emerged as a pivotal player in steering the course toward a sustainable future. “Cash for Change” explores the intricate web of funding that underpins climate solutions, exploring the mechanisms, challenges, and potential transformational impact of the vast […]

Aug 20, 2026

Artificial Intelligence

Artificial Intelligence Chat: The Complete Guide for Beginners (2026)

Artificial intelligence chat refers to conversations between humans and AI-powered systems that understand, generate, and respond in natural language. Unlike traditional chatbots, AI chat uses large language models (LLMs) to interpret context, reason through requests, and generate human-like responses, powering everything from customer support to enterprise copilots. What Is Artificial Intelligence Chat? Artificial Intelligence chat […]

Aug 19, 2026