Skip to content

๐Ÿ› ๏ธ A user-friendly bash script that swiftly sets up and configures your LocalAI server with the GPT4All model for free! ๐Ÿ’ธ

License

Notifications You must be signed in to change notification settings

platinaCoder/autogpt4all

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

9 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

AutoGPT4All is a simple bash script that sets up and configures 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

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

โ—๏ธ 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, goland and make before running the script

๐ŸŽ›๏ธ Script Options

--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:

./autogtp4all.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:

./autogtp4all.sh --uninstall

To recap the commands a --help flag is also available

๐Ÿ’ก Notes

  • The script checks if the directories exist before cloning the repositories.
  • On macOS, the script installs cmake and go using brew.
  • If the --uninstall argument is passed, the script stops executing after the uninstallation step.

๐ŸŽฏ How to Run

After executing ./autogtp4all.sh, the script configures everything needed to use AutoGPT in CLI mode.

To run the GPT4All model locally, use cd LocalAI && ./local-ai --models-path ./models/ --debug. The model will be available at localhost:8080.

Then, navigate to the Auto-GPT folder and run ./run.sh to start the CLI.

๐Ÿ”ง Configuration

Please note, to simplify this script and setup, by default the downloaded model is renamed to gpt-3.5-turbo which serves as a base model that auto gpt expects for FAST_LLM_MODEL parameter.

โญ๏ธ Stargazers

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

Stargazers repo roster for @aorumbayev/autogpt4all

About

๐Ÿ› ๏ธ A user-friendly bash script that swiftly sets up and configures your LocalAI server with the GPT4All model for free! ๐Ÿ’ธ

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%