BitNet icon indicating copy to clipboard operation
BitNet copied to clipboard

Real-Time BitNet LLM Response on a Web Interface with Node.js and Socket.io

Open stackblogger opened this issue 1 year ago • 3 comments

A web interface designed for submitting queries and viewing real-time responses through a user-friendly UI. Built with Node.js for the frontend and a Python Socket server for backend processing, the system streams responses line by line in real time.

Enter your query, hit submit, and watch the output appear live as it's generated.

Repository link: BitNet.Js

Can this repo be mentioned in the Readme as Node.Js implementation of the cpp code?

stackblogger avatar Oct 21 '24 16:10 stackblogger

Does it keep context?

alexeyvolkoff avatar Oct 21 '24 17:10 alexeyvolkoff

I believe this functionality is not currently supported by the official code, but as new features are introduced, I will continue to enhance my repository to maintain compatibility and improve functionality

stackblogger avatar Oct 21 '24 17:10 stackblogger

I've thrown something similar together myself today: https://github.com/grctest/Electron-BitNet

You still need to follow Microsoft's instructions to build the required 1-bit LLM models though, the files are too big to include in either the repo or the releases

grctest avatar Oct 25 '24 22:10 grctest