You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Zach Nussbaum 134d566b79 feat: base llama 2 years ago
configs feat: base llama 2 years ago
peft@098962fa65 feat: peft submodule 2 years ago
transformers@cae78c46d6 feat: transformers submodule, gitignore 2 years ago
.gitignore feat: transformers submodule, gitignore 2 years ago
.gitmodules feat: peft submodule 2 years ago
README.md feat: generation works 2 years ago
clean.py feat: train and clean data 2 years ago
data.py feat: train and clean data 2 years ago
env.yaml feat: env for conda, pip 2 years ago
generate.py fix: don't print token ids of output 2 years ago
read.py feat: train and clean data 2 years ago
requirements.txt feat: env for conda, pip 2 years ago
train.py feat: train and clean data 2 years ago

README.md

gpt4all

Setup

Clone the repo

git clone --recurse-submodules git@github.com:nomic-ai/gpt4all.git

Setup the environment

python -m pip install -r requirements.txt

cd transformers
pip install -e . 

cd ../peft
pip install -e .

Generate

python generate.py --config configs/generate/generate.yaml --prompt "Write a script to reverse a string in Python