AI
Text generation web UI
Text generation web UI

This Gradio-based interface brings large language models to the web, aiming to give text generation the kind of comprehensive UI that AUTOMATIC1111/stable-diffusion-webui offers for images.

Features

  • 3 interface modes: default (two columns), notebook, and chat

  • Multiple model backends: transformers, llama.cpp, ExLlama, ExLlamaV2, AutoGPTQ, GPTQ-for-LLaMa, CTransformers

  • Dropdown menu for quickly switching between different models

  • LoRA: load and unload LoRAs on the fly, train a new LoRA using QLoRA

  • Precise instruction templates for chat mode, including Llama-2-chat, Alpaca, Vicuna, WizardLM, StableLM, and many others

  • 4-bit, 8-bit, and CPU inference through the transformers library

  • Use llama.cpp models with transformers samplers (llamacpp_HF loader)

  • Multimodal pipelines, including LLaVA and MiniGPT-4

  • Extensions framework

  • Custom chat characters

  • Very efficient text streaming

  • Markdown output with LaTeX rendering, to use for instance with GALACTICA

  • API, including endpoints for websocket streaming (see the examples)

Watch Ad & Unlock