AI Personal Learning
and practical guidance
Beanbag Marscode1

Text generation web UI: Gradio-based large language modeling chat interface with support for multiple back-end services

General Introduction

Text generation web UI is a Gradio-based web UI designed for the Large Language Model (LLM). It supports a variety of text generation backends, including Transformers, llama.cpp and ExLlamaV2. Users can quickly deploy and use the tool for text generation tasks with simple installation steps.

Text generation web UI: Gradio-based large-language model chat interface with support for multiple back-end services-1


 

Text generation web UI: Gradio-based large-language model chat interface with support for multiple back-end services-1

 

Text generation web UI: Gradio-based large-language model chat interface with support for multiple back-end services-1

 

Function List

  • Multi-model support: Support Transformers, llama.cpp, ExLlamaV2 and many other text generation backends.
  • Automatic prompt formatting: Use Jinja2 templates to format tips automatically.
  • Multiple chat modesThe chat modes are instruct, chat-instruct and chat.
  • Chat History: Quickly switch between different conversations.
  • Free text generation: Free text generation in default/notebook tabs, regardless of chat rounds.
  • Multiple sampling parameters: A wide range of sampling parameters and generation options are provided for fine control of text generation.
  • Model switching: Easily switch between models in the interface without rebooting.
  • LoRA fine-tuning tool: Provides simple LoRA fine-tuning tools.
  • Extended Support: Supports a wide range of built-in and user-contributed extensions.

 

Using Help

Installation process

  1. Clone or download the repository::
   git clone https://github.com/oobabooga/text-generation-webui
cd text-generation-webui
  1. Run a script that matches the operating system::
    • For Linux users: bash
      . /start_linux.sh
    • For Windows users: cmd
      start_windows.bat
    • For macOS users: bash
      . /start_macos.sh
    • For WSL users: bash
      . /start_wsl.bat
  2. Select GPU Vendor: Follow the prompts to select your GPU vendor.
  3. browser access: At the end of the installation, open the browser to visit http://localhost:7860The

Guidelines for use

  1. Launch Interface: After running the appropriate startup script, open a browser and visit the http://localhost:7860The
  2. Select Model: Select the desired text generation model in the interface.
  3. input prompt: Enter your cue word in the input box and select the generation parameters.
  4. Generate Text: Click on the Generate button to see the result of the generated text.
  5. Switching Mode: Switch between instruct, chat-instruct and chat modes as needed.
  6. View History: Use the "History" menu to quickly switch between conversations.
  7. Extended functionality: Install and enable required extensions for enhanced functionality.

Detailed Function Operation

  • Automatic prompt formatting: When prompts are entered, they are automatically formatted using the Jinja2 template to ensure that they conform to the model.
  • Multiple sampling parameters: Users can adjust parameters such as temperature, maximum length, and repeat penalty to control the style and length of the generated text.
  • Free text generation: In the Default/Notebook tab, users can perform free text generation, not limited to chat rounds, suitable for long text generation tasks.
  • LoRA fine-tuning: Using the built-in LoRA fine-tuning tool, users can fine-tune the model to enhance the generation of specific tasks.
  • Extended Support: By installing extensions, users can add more features such as speech synthesis, image generation, etc.
CDN1
May not be reproduced without permission:Chief AI Sharing Circle " Text generation web UI: Gradio-based large language modeling chat interface with support for multiple back-end services

Chief AI Sharing Circle

Chief AI Sharing Circle specializes in AI learning, providing comprehensive AI learning content, AI tools and hands-on guidance. Our goal is to help users master AI technology and explore the unlimited potential of AI together through high-quality content and practical experience sharing. Whether you are an AI beginner or a senior expert, this is the ideal place for you to gain knowledge, improve your skills and realize innovation.

Contact Us
en_USEnglish