Bez popisu

oobabooga e3d7c99987 Update README.md před 3 roky
LICENSE ad71774a24 Initial commit před 3 roky
README.md e3d7c99987 Update README.md před 3 roky
convert-to-torch.py fac55e70f7 Add file před 3 roky
environment.yml dde76a962f Initial commit před 3 roky
server.py 838f768437 Add files před 3 roky
webui.png f1e69e1042 Add files via upload před 3 roky

README.md

text-generation-webui

A gradio webui for running large language models locally. Supports gpt-j-6B, gpt-neox-20b, opt, galactica, and many others.

webui screenshot

Installation

conda env create -f environment.yml

Downloading models

Models should be placed under models/model-name.

Hugging Face

Hugging Face is the main place to download models. For instance, here you can find the files for the model gpt-j-6B.

The files that you need to download and put under models/gpt-j-6B are the json, txt, and pytorch*.bin files. The remaining files are not necessary.

GPT-4chan

GPT-4chan has been shut down from Hugging Face, so you need to download it elsewhere. You have two options:

Starting the webui

conda activate textgen
python server.py

Then browse to http://localhost:7860/?__theme=dark