Repository for the oreilly live training course: "Getting Started with Llama3": https://learning.oreilly.com/live-events/getting-started-with-llama-2/0636920098588/
Conda
- Install anaconda
- This repo was tested on a Mac with python=3.10.
- Create an environment:
conda create -n oreilly-llama3 python=3.10
- Activate your environment with:
conda activate oreilly-llama3
- Install requirements with:
pip install -r requirements/requirements.txt
- Setup your openai API key
Pip
-
Create a Virtual Environment: Navigate to your project directory. Make sure you hvae python3.10 installed! If using Python 3's built-in
venv
:python -m venv oreilly-llama3
If you're using
virtualenv
:virtualenv oreilly-llama3
-
Activate the Virtual Environment:
- On Windows:
.\oreilly-llama3\Scripts\activate
- On macOS and Linux:
source oreilly-llama3/bin/activate
- On Windows:
-
Install Dependencies from
requirements.txt
:pip install python-dotenv pip install -r requirements/requirements.txt
-
Setup your openai API key
Remember to deactivate the virtual environment once you're done by simply typing:
deactivate
- Change the
.env.example
file to.env
and add your OpenAI API key.
pip install jupyter
python3 -m ipykernel install --user --name=oreilly-llama3
Here are the notebooks available in the notebooks/
folder:
Here are the notebooks available in the notebooks/
folder: