Giter Site home page Giter Site logo

archger / chatllm-web Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ryan-yang125/chatllm-web

0.0 0.0 0.0 5.09 MB

๐Ÿ—ฃ๏ธ Chat with LLM like Vicuna totally in your browser with WebGPU, safely, privately, and with no server.Powered by web llm

Home Page: https://chat-llm-web.vercel.app

License: MIT License

JavaScript 70.38% TypeScript 29.55% CSS 0.07%

chatllm-web's Introduction

icon

ChatLLM Web

English / ็ฎ€ไฝ“ไธญๆ–‡

๐Ÿ—ฃ๏ธ Chat with LLM like Vicuna totally in your browser with WebGPU, safely, privately, and with no server. Powered By web-llm.

Try it now

cover

Features

  • ๐Ÿค– Everything runs inside the browser with no server support and is accelerated with WebGPU.

  • โš™๏ธ Model runs in a web worker, ensuring that it doesn't block the user interface and providing a seamless experience.

  • ๐Ÿš€ Easy to deploy for free with one-click on Vercel in under 1 minute, then you get your own ChatLLM Web.

  • ๐Ÿ’พ Model caching is supported, so you only need to download the model once.

  • ๐Ÿ’ฌ Multi-conversation chat, with all data stored locally in the browser for privacy.

  • ๐Ÿ“ Markdown and streaming response support: math, code highlighting, etc.

  • ๐ŸŽจ responsive and well-designed UI, including dark mode.

  • ๐Ÿ’ป PWA supported, download it and run totally offline.

Instructions

  • ๐ŸŒ To use this app, you need a browser that supports WebGPU, such as Chrome 113 or Chrome Canary. Chrome versions โ‰ค 112 are not supported.

  • ๐Ÿ’ป You will need a GPU with about 6.4GB of memory. If your GPU has less memory, the app will still run, but the response time will be slower.

  • ๐Ÿ“ฅ The first time you use the app, you will need to download the model. For the Vicuna-7b model that we are currently using, the download size is about 4GB. After the initial download, the model will be loaded from the browser cache for faster usage.

  • โ„น๏ธ For more details, please visit mlc.ai/web-llm

Roadmap

  • [โœ…] LLM: using web worker to create an LLM instance and generate answers.

  • [โœ…] Conversations: Multi-conversation support is available.

  • [] Desktop: Build a desktop version with Tauri, which will use system cache (not just browser cache) and run locally and offline.

  • [] UI: Dark and Light Theme.

Deploy to Vercel

  1. Click Deploy with Vercel, follow the instructions, and finish in just 1 minute.
  2. Enjoy it ๐Ÿ˜Š

Development

git clone https://github.com/Ryan-yang125/ChatLLM-Web.git
cd ChatLLM-Web
npm i
npm run dev

Screenshots

Home

More

LICENSE

MIT

chatllm-web's People

Contributors

eltociear avatar ryan-yang125 avatar

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.