My large language model (LLM) learning and exploration notebooks.
Sample .envrc
shell environment:
layout python python3.11
use node 18
export PGHOST=localhost
export PGPORT=5432
export PGUSER=$USER
export PGDATABASE=llm_exploration
export DATABASE_URL=postgresql+psycopg://$PGUSER@$PGHOST:$PGPORT/$PGDATABASE
export OPENAI_API_KEY=fill-me-in
Install prerequisites:
brew install git-lfs
Install requirements:
pip install -r requirements.txt
pip install llm
llm install llm-gpt4all
Start JupyterLab:
jupyter-lab