Giter Club home page Giter Club logo

llm-webui's Introduction

llm-webui

A Gradio web UI for Large Language Models(Finetune, RAG, Chat).

Chat UI

Training UI

visualization UI

RAG(Retrieval-augmented generation) UI

Features

  • Finetune:lora/qlora
  • RAG(Retrieval-augmented generation):
    • Support txt/pdf/docx
    • Show retrieved chunks
    • Support finetuned model
  • Training tracking and visualization
  • Config prompt template through UI
  • Support online and offline model
  • Support online and offline dataset

Install

Clone repo and install requirements.txt in a Python>=3.8.0 environment

git clone https://github.com/wangermeng2021/llm-webui
cd llm-webui
pip install -r requirements.txt

Run

  1. python main.py

  2. Set huggingface hub token

if you want to download Llama-2 from huggingface hub , you need to configure token:"Setting"->"Huggingface Hub Token"

llm-webui's People

Contributors

wangermeng2021 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

llm-webui's Issues

error

hello,dalao!
what should I do?
gradio.exceptions.Error: 'Loading model error:Torch not compiled with CUDA enabled'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.