Skip to content

๐Ÿ› ๏ธ User-friendly bash script for setting up and configuring your LocalAI server with the GPT4All for free! ๐Ÿ’ธ

License

Notifications You must be signed in to change notification settings

aorumbayev/autogpt4all

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

11 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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.

๐Ÿš€ Quickstart

Using Bash Script:

git clone https://github.com/aorumbayev/autogpt4all.git
cd autogpt4all
chmod +x autogpt4all.sh
./autogpt4all.sh

Using Python Script:

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.

๐ŸŽ›๏ธ Script Options

For the bash 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.

For the Python 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

๐Ÿ’ก Notes

  • 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.

๐Ÿค Contributing

Please feel free to contribute to this project. Any kind of contribution would be greatly appreciated. To contribute, please:

  1. Fork the repo.
  2. Make your changes.
  3. Submit a pull request.

๐Ÿ“œ License

MIT License. See LICENSE for more information.

โญ๏ธ Stargazers

Special thanks to everyone who starred the repository โค๏ธ

Stargazers repo roster for @aorumbayev/autogpt4all

About

๐Ÿ› ๏ธ User-friendly bash script for setting up and configuring your LocalAI server with the GPT4All for free! ๐Ÿ’ธ

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published