gpt4all/README.md
2023-03-25 16:43:27 +00:00

26 lines
375 B
Markdown

# 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`