Text-Generation-WebUI

Text-generation-webui is a web UI that provides a robust platform for running large language models (LLMs) and aims to become a leading tool in text generation, akin to AUTOMATIC1111’s stable-diffusion-webui in its field.

It supports various Large Language Models (LLMs) including LLaMA, llama.cpp, GPT-J, Pythia, OPT, and GALACTICA. Its interface is designed to be user-friendly and highly functional, with multiple modes and features.

Prerequisites

  • Akash Network Account: Ensure you have an active Akash Network account and have set up the necessary CLI or web console tools.

Features

  1. Three Interface Modes:
  • Default (Two Columns): A traditional layout with a clear separation of input and output.
  • Notebook: Ideal for interactive sessions and note-taking.
  • Chat: Optimized for conversational interactions.
  1. Multiple Model Backends:
  1. Dropdown Menu: Easily switch between different models with a user-friendly dropdown menu.

  2. LoRA Support:

  • Load and unload LoRAs on the fly.
  • Train new LoRAs using QLoRA.
  • Instruction Templates for Chat Mode: Supports precise instructions for various models including Llama-2-chat, Alpaca, Vicuna, WizardLM, StableLM, and others.
  1. Inference Modes:
  • 4-bit, 8-bit, and CPU inference via the transformers library.
  • llama.cpp models with transformers samplers (llamacpp_HF loader).
  1. Multimodal Pipelines: Includes LLaVA and MiniGPT-4 for enhanced functionalities.

  2. Extensions Framework: Allows for custom extensions and additional features.

  3. Custom Chat Characters: Create and manage your own chat personas.

  4. Efficient Text Streaming: Stream text outputs efficiently for real-time applications.

  5. Markdown Output with LaTeX Rendering: Ideal for generating rich content, especially with GALACTICA.

  6. OpenAI-Compatible API Server: Provides compatibility with OpenAI’s API standards.

For more detailed instructions and usage, refer to the Documentation.

Docker Images

The Docker images for text-generation-webui are tagged to match the release versions from the official repository. For example, you might find tags such as v1.3.1 or v1.4.

Building the Docker Image

To build the Docker image from source:

  • Clone the Repository:
git clone https://github.com/oobabooga/text-generation-webui.git
  • Navigate to the Directory:
cd text-generation-webui
  • Build the Docker Image:
docker build -t yourimagename .

Replace yourimagename with your preferred image name.

footer-logo-dark

© Akash Network 2024 The Akash Network Authors Documentation Distributed under CC BY 4.0

Open-source Apache 2.0 Licensed.

GitHub v0.20.0

Privacy