s2t2 / llm-agents-2024

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

llm-agents-2024

Setup

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___________"

Usage

Run an example LLM from the hub:

python -m app.hub

REPO_ID="google/flan-t5-xxl" python -m app.hub

About


Languages

Language:Python 100.0%