ChatLLM-Web

ChatLLM-Web

🗣️ Chat with LLM like Vicuna totally in your browser with WebGPU, safely, privately, and with no server. Powered by web llm.

Stars: 610

Visit
 screenshot

ChatLLM Web is a browser-based AI chat tool powered by WebGPU, providing a seamless and private chat experience. It runs models in a web worker, supports model caching, and offers multi-conversation chat with data stored locally. The tool features a well-designed UI with dark mode, PWA support for offline use, and markdown and streaming response capabilities. Users can deploy it easily on Vercel and interact with the AI like Vicuna in their browser.

README:

icon

ChatLLM Web

🚀 Check the AI search engine https://discovai.io, discover top ai tools that best match your need

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.

  • [✅] PWA

  • [] Settings:

    • ui: dark/light theme
    • device:
      • gpu device choose
      • cache usage and manage
    • model:
      • support multi models: vicuna-7b✅ RedPajama-INCITE-Chat-3B []
      • params config: temperature, max-length, etc.
      • export & import model

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

For Tasks:

Click tags to check more tools for each tasks

For Jobs:

Alternative AI tools for ChatLLM-Web

Similar Open Source Tools

For similar tasks

For similar jobs