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

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow react-llm

react-llm Web Site

Other Useful Business Software
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime Icon
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime

General-purpose, compute-optimized, or GPU/TPU-accelerated. Built to your exact specs.

Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of react-llm!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript Large Language Models (LLM), TypeScript Headless Browsers

Registered

2023-08-25