Easy-to-use headless React Hooks to run LLMs in the browser with WebGPU. As simple as useLLM().
Features
- Supports Vicuna 7B
- Use custom system prompts and "user:"/"assistant:" role names
- Completion options like max tokens and stop sequences
- No data leaves the browser. Accelerated via WebGPU
- Hooks built to 'Bring your own UI'
- Persistent storage for conversations in browser storage. Hooks for loading and saving conversations
License
MIT LicenseFollow react-llm
Other Useful Business Software
Error to trace to log to deploy. One click. No SSH.
AppSignal links every error to the trace, the trace to the log, the log to the deploy that shipped it.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of react-llm!