Add Linux 1-click installer

This commit is contained in:
oobabooga 2023-02-10 17:09:53 -03:00 committed by GitHub
parent 316e07f06a
commit 7d7cc37560
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,15 +51,19 @@ conda install pytorch torchvision torchaudio git -c pytorch
Once you have completed these steps, you should be able to start the web UI. However, you will first need to download a model. Once you have completed these steps, you should be able to start the web UI. However, you will first need to download a model.
## Installation option 2: 1-click Windows installer ## Installation option 2: 1-click installers
[oobabooga-windows.zip](https://github.com/oobabooga/text-generation-webui/releases/download/windows/oobabooga-windows.zip) [oobabooga-windows.zip](https://github.com/oobabooga/text-generation-webui/releases/download/installers/oobabooga-windows.zip)
[oobabooga-linux.zip](https://github.com/oobabooga/text-generation-webui/releases/download/installers/oobabooga-linux.zip)
Just download the zip above, extract it, and double click on "install". The web UI and all its dependencies will be installed in the same folder. Just download the zip above, extract it, and double click on "install". The web UI and all its dependencies will be installed in the same folder.
* To download a model, double click on "download-model" * To download a model, double click on "download-model"
* To start the web UI, double click on "start-webui" * To start the web UI, double click on "start-webui"
This only works for NVIDIA GPUs or CPU mode at the moment.
## Downloading models ## Downloading models
Models should be placed under `models/model-name`. For instance, `models/gpt-j-6B` for [GPT-J 6B](https://huggingface.co/EleutherAI/gpt-j-6B/tree/main). Models should be placed under `models/model-name`. For instance, `models/gpt-j-6B` for [GPT-J 6B](https://huggingface.co/EleutherAI/gpt-j-6B/tree/main).