Back to services

text-generation-webui

Open-source desktop app for local LLMs. Text, vision, tool-calling, OpenAI/Anthropic-compatible API. 100% private.

View alternatives to text-generation-webui
Suggest edit
Open source
Self-hostable
AGPL-3.0
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Note: We were unable to fetch the official website content this time. The following was written based on existing knowledge of the project. For details, please refer to the latest README in the GitHub repository.

Introduction

text-generation-webui is maintained by the developer oobabooga, and the community often calls it "oobabooga" or "ooba". It is an open-source web interface for running large language models (LLMs) on your own computer, and it aims to be the "Stable Diffusion WebUI" of text generation. The whole project is built on Python and Gradio and supports running locally and offline, so your conversation data doesn't need to be uploaded to any third party.

Key Features

  • Multiple inference backends: Supports loaders such as llama.cpp (GGUF models), Hugging Face Transformers, and the ExLlama family, which you can switch between in the interface.
  • Multiple interaction modes: Offers chat, instruct, and a notebook mode for free-form completion. Chat mode supports character cards and custom instruction templates.
  • Generation parameter tuning: You can fine-tune sampling parameters such as temperature, top-p, top-k, and repetition penalty, and save them as presets.
  • OpenAI-compatible API: Includes a built-in API server compatible with the OpenAI interface, so existing clients and tools can connect directly to local models.
  • Extension system: Add features such as voice input/output, multimodal support, and web search through extension plugins.
  • Model download and management: You can download models from Hugging Face directly in the interface and manage the models you have loaded.
  • LoRA training: Comes with the ability to train LoRA adapters, so you can do lightweight fine-tuning of models.

Target Users and Use Cases

It suits the following people: individual users who want to run open-source LLMs privately on their own machines, developers and researchers who need to compare different models and quantization formats, and enthusiasts who want to replace cloud APIs with local models. Common uses include a local AI chat assistant, role-playing and creative writing, providing a local LLM backend for other applications, and model testing and evaluation.

Core Strengths

  • Free and open source, and it can run completely offline, giving you better privacy protection.
  • Broad coverage of backends and model formats, so you can try many models in a single interface.
  • An active community with a wealth of extensions and tutorials.
  • Supports a range of hardware environments, including NVIDIA, AMD, Apple Silicon, and CPU-only (the level of support varies by backend).

Installation and Deployment

  1. Clone the repository or download the release package: git clone https://github.com/oobabooga/text-generation-webui
  2. Run the one-click startup script for your operating system, such as start_windows.bat, start_linux.sh, or start_macos.sh. The script automatically sets up the Python environment and dependencies.
  3. Once it has started, open the local address in your browser (the default is http://127.0.0.1:7860), and after downloading or loading a model you can start using it.

Adding the appropriate command-line arguments lets you enable the API or allow LAN access. The project also provides manual installation instructions and Docker-related documentation.

Technical Requirements

  • A Python environment is required; the one-click script handles it automatically.
  • Hardware requirements depend on the model size and quantization format: the more VRAM or RAM you have, the larger the models you can run. Small quantized models can also run on an ordinary CPU.

Things to Note

  • The project is updated frequently, so the interface and parameters may change between versions.
  • The license is AGPL-3.0.