暫無描述

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

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