AutoGPT4All provides you with both bash and python scripts to set up and configure AutoGPT running with the GPT4All model on the LocalAI server. This setup allows you to run queries against an open-source licensed model without any limits, completely free and offline.
If you are interested in building decentralized applications, check out my other repo at AwesomeAlgorand.
git clone https://github.com/aorumbayev/autogpt4all.git
cd autogpt4all
chmod +x autogpt4all.sh
./autogpt4all.sh
Make sure you have Python installed on your machine.
git clone https://github.com/aorumbayev/autogpt4all.git
cd autogpt4all
python autogpt4all.py
โ๏ธ Please note this script has been primarily tested on MacOS with an M1 processor. It should work on Linux and Windows, but it has not been thoroughly tested on these platforms. If not on MacOS install git, go and make before running the script.
--custom_model_url
- Specify a custom URL for the model download step. By default, the script will use https://gpt4all.io/models/ggml-gpt4all-l13b-snoozy.bin.
Example:
./autogpt4all.sh --custom_model_url "https://example.com/path/to/model.bin"
--uninstall
- Uninstall the projects from your local machine by deleting the LocalAI and Auto-GPT directories.
Example:
./autogpt4all.sh --uninstall
To recap the commands, a --help flag is also available for the bash script.
You can use similar options as the bash script:
--custom_model_url
- Specify a custom URL for the model download step.
Example:
python autogpt4all.py --custom_model_url "https://example.com/path/to/model.bin"
--uninstall
- Uninstall the projects from your local machine.
Example:
python autogpt4all.py --uninstall
- The script checks if the directories exist before cloning the repositories.
- On macOS, the script installs cmake through brew. Please make sure you have brew installed. On Linux its assumed you have apt-get installed.
- A custom model URL can be passed if the default model link changes or is unavailable.
Please feel free to contribute to this project. Any kind of contribution would be greatly appreciated. To contribute, please:
- Fork the repo.
- Make your changes.
- Submit a pull request.
MIT License. See LICENSE for more information.
Special thanks to everyone who starred the repository โค๏ธ