Environment setup:
conda create -n llm-agents-env python=3.10
conda activate llm-agents-env
Install package dependencies:
pip install -r requirements.txt
Create a Hugging Face account as necessary, and obtain a user access token for the hugging face hub (i.e. HUGGING_FACE_TOKEN
).
Setup local ".env" file, with your credentials:
# example ".env" file contents:
HUGGING_FACE_TOKEN="hf___________"
Run an example LLM from the hub:
python -m app.hub
REPO_ID="google/flan-t5-xxl" python -m app.hub