Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

hizkifw/WebChatRWKVstic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

! NO LONGER MAINTAINED !

Warning This repository is no longer maintained. Please see other forks, such as wfox4/WebChatRWKVv2. For more info on the RWKV language model, check the BlinkDL/ChatRWKV repository.


WebChatRWKVstic

screenshot

RWKV-V4 inference via rwkvstic, with a ChatGPT-like web UI, including real-time response streaming.

How to use

# Clone this repository
git clone https://github.com/hizkifw/WebChatRWKVstic.git
cd WebChatRWKVstic

# Recommended: set up a virtual environment
python -m venv venv
source ./venv/bin/activate

# Install requirements
pip install -r requirements.txt

# Run the webserver
python main.py

The script will automatically download a suitable RWKV model into the models folder. If you already have a model, you can create the models directory and place your .pth file there.

Currently state

  • Mobile-friendly web UI with autoscroll, response streaming, markdown formatting, and syntax highlighting
  • Input is formatted into a question/answer format for the model, and earlier chat messages are included in the context

TODO

  • Tune the model to better match ChatGPT
  • Clean up the code
  • Create a Docker image

About

ChatGPT-like Web UI for RWKVstic

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published