Skip to content

Simon006/ChatGLM_webui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatGLM_webui

This is a WebUI program based on ChatGLM

Background

The ChatGLM_WebUI web project aims to provide a convenient and intuitive interactive interface for users to easily converse with ChatGLM_WebUI. Users can enter text on the web page and ChatGLM_WebUI will generate corresponding responses based on the user's input. chatGLM_WebUI web project also provides some additional features, such as history, language selection, theme switching, etc., so that users can better use ChatGLM_WebUI. Project based on Tsinghua University's open source project in huggingface.ChatGLM

Due to the small size of ChatGLM-6B, it is currently known to have considerable limitations, such as factual/mathematical logic errors, possible generation of harmful/biased content, weak contextual ability, self-awareness confusion, and Generate content that completely contradicts Chinese instructions for English instructions. Please understand these issues before use to avoid misunderstanding.

Here we propose a fine-tuned solution in the direction of intelligent customer service in future.

Install

pip install torch==1.13.1+cu117 torchvision==0.14.1+cu117 --extra-index-url https://download.pytorch.org/whl/cu117
pip install -r requirements.txt

ChatGLM-PreTrained

https://huggingface.co/THUDM/chatglm-6b

Usage

webui_demo

python weiui_gradio.py

cmd demo

python cli_demo.py

Examples

image

About

This is a WebUI program based on ChatGLM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages