AI Portal Gun
Web UI for LLMs

Web User Interface for LLMs

Creating a web user interface for LLM applications is a crucial stride in harnessing the power of language models. Whether you've fine-tuned a custom LLM from an open-source model or you intend to run an open-source model on your local machine or in the cloud, resources and tools are readily available to support you in deploying it within a web interface.

Web UI img

These dedicated resources aim to simplify the process of integrating your language model into a user-friendly web environment, expanding its accessibility and enhancing its usefulness for a wider audience.

Web UI for LLMs

  • Hugging Face Chat UI (opens in a new tab): By Hugging Face, an open-source codebase, powers the HuggingChat app. It enables customizable chat interfaces for AI models, with features like Amazon SageMaker support, custom system prompts, and integration with transfer learning.

  • Oobabooga Text Generation WebUI (opens in a new tab): By oobabooga is a GitHub repository, features a text generation web UI based on Gradio, released under the MIT License, supports various models, and offers different interface modes. Extensions enhance functionality, and documentation is available. The developer addresses reported issues promptly.

  • Text Generation WebUI Colab (opens in a new tab) is a GitHub repository, authored by camenduru, features a Colab notebook showcasing a Gradio web UI for LLMs. It's under the Apache License 2.0. The UI supports various models and interface modes.

  • LLaMA.cpp (opens in a new tab), utilizing the LLaMa architecture, supports text generation and language translation on diverse devices, including GPU and CPU acceleration. It enables efficient execution of LLM through quantization, with optimized inference code in raw C++. The system offers a web interface for tasks like chatbots, creative writing, text generation, translation, and question-answering.


  • Gradio Guide (opens in a new tab) & Docs (opens in a new tab): A Python library, enables fast creation and sharing of web interfaces for ML models, APIs, and data science workflows. Installation is simple with pip, and you create interfaces by defining functions. Sharing is easy, and Gradio offers layout control and web component embedding, making it a versatile tool for showcasing and collaborating on models.

  • Streamlit Docs (opens in a new tab): Streamlit is an open-source Python library for creating and sharing custom ML web apps, user-friendly, enables fast development, seamlessly integrates with Python libraries, offers live updates, and has a cloud-based platform for deployment and sharing.


  • UX for Language User Interfaces (LLM Bootcamp) (opens in a new tab): By The Full Stack, discuss user experience design for Language User Interfaces (LUIs) powered by LLMs. Topics include user-centered design principles, emerging UX patterns, case studies like GitHub Copilot and Bing Chat, and the role of pareidolia in LUIs.

  • Fine-Tune Language Models with LoRA! OobaBooga Walkthrough and Explanation (opens in a new tab): By AemonAlgiz, delves into LoRA (Low-Rank Approximation) for fine-tuning LLMs. It explains LoRA's role in reducing memory usage, demonstrates implementation with oobabooga's text generation web UI, and caters to all skill levels. Learn the linear algebra concepts and crucial hyperparameters for efficient language model fine-tuning.

  • PEFT LoRA Finetuning With Oobabooga! (opens in a new tab): Again by AemonAlgiz, fine-tuning LLMs using LoRAs with a focus on models like Alpaca and StableLM. The video covers key considerations, practical data transformations, preprocessing techniques, and real-time demonstrations using Oogabooga WebUI. This serves as a practical guide for those seeking to fine-tune their language models and sets the stage for the next video, which explores the Hyena Hierarchy paper's potential impact on LLMs.


  • Text Generation Inference (opens in a new tab): The Hugging Face website offers a Text Generation Inference (TGI) guide for deploying LLMs. TGI optimizes popular LLMs, like Llama, Falcon, StarCoder, BLOOM, GPT-NeoX, and T5, with features like Tensor Parallelism, Token Streaming, and Continuous Batching. It's used by projects like Hugging Chat, OpenAssistant, and, making it a valuable resource for LLM deployment research.