Member-only story
Getting started with Meta Llama 3 models step by step
Alright alright alright, let’s do this, we going to get up and running with Llama 3 models. if you didn’t yet download the models, go ahead and do, I wrote a post explain all the steps you need in order to download the models.

Alrighty, now that you download the models, let’s setup a conda env!
1 — Create a Conda environment
Conda is a command line tool for package and environment management that runs on Windows, macOS, and Linux. if you already having it setup, good for you! you can skip step #1 but if you don’t, keep reading and let’s install it.
- Unix-like platforms (Mac OS & Linux): Download the installer using curl
curl -L -O "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh"
bash Miniforge3-$(uname)-$(uname -m).sh
Once you run this, it will ask you to accept the licence and you do with writing yes
if you like to accept and ask you to confirm the location for installation where you need to hit Enter
now based on your shell session, you need to activate Conda’s base environment by running this command:
eval "$(/Users/YOUR_USER_NAME/miniforge3/bin/conda shell.YOUR_SHELL_NAME hook)"
Instead of YOUR_SHELL_NAME
you need to put your shell, for example I use zsh
so for me going to be:
eval "$(/Users/YOUR_USER_NAME/miniforge3/bin/conda shell.zsh hook)"
Now to test if all is good, you can run
conda --version
// conda 24.3.0
alrighty, now you have the conda installed, let’s create a conda environment
conda create -n <env-name> python=<python-version>
This will create a new conda env, make sure to replace <env-name>
with your env name and <python-version>
with your current version of python ( You can find by running python — version
), for example I create an environment called llama3-env
and now I can activate it using
conda activate llama3-env
You can deactivate an active environment by running
conda
…