Add 1-click windows installer (for #45)

This commit is contained in:
oobabooga 2023-02-09 13:27:30 -03:00 committed by GitHub
parent a21620fc59
commit 04d3d0aee6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@ Its goal is to become the [AUTOMATIC1111/stable-diffusion-webui](https://github.
* Supports extensions ([guide](https://github.com/oobabooga/text-generation-webui/wiki/Extensions)). * Supports extensions ([guide](https://github.com/oobabooga/text-generation-webui/wiki/Extensions)).
* Works on Google Colab ([guide](https://github.com/oobabooga/text-generation-webui/wiki/Running-on-Colab)). * Works on Google Colab ([guide](https://github.com/oobabooga/text-generation-webui/wiki/Running-on-Colab)).
## Installation ## Installation option 1: conda
Open a terminal and copy and paste these commands one at a time ([install conda](https://docs.conda.io/en/latest/miniconda.html) first if you don't have it already): Open a terminal and copy and paste these commands one at a time ([install conda](https://docs.conda.io/en/latest/miniconda.html) first if you don't have it already):
@ -51,6 +51,15 @@ 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
[oobabooga-windows.zip](https://github.com/oobabooga/text-generation-webui/releases/download/windows/oobabooga-windows.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.
* To download a model, double click on "download-model"
* To start the web UI, double click on "start-webui"
## 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).