Git Product home page Git Product logo

secret-llama's Introduction

Secret Llama

secret llama

Entirely-in-browser, fully private LLM chatbot supporting Llama 3, Mistral and other open source models.

  • Fully private = No conversation data ever leaves your computer
  • Runs in the browser = No server needed and no install needed!
  • Works offline
  • Easy-to-use interface on par with ChatGPT, but for open source LLMs

Big thanks to the inference engine provided by webllm.

Join us on Discord

https://discord.gg/QkVzykMc9V

System Requirements

To run this, you need a modern browser with support for WebGPU. According to caniuse, WebGPU is supported on:

  • Google Chrome
  • Microsoft Edge

It's also available in Firefox, but it needs to be enabled manually through the dom.webgpu.enabled flag. Safari on MacOS also has experimental support for WebGPU which can be enabled through the WebGPU experimental feature.

In addition to WebGPU support, various models might have specific RAM requirements.

Try it out

You can try it here.

To compile the React code yourself, download the repo and then, run

yarn
yarn build-and-preview

If you're looking to make changes, run the development environment with live reload:

yarn
yarn dev

Supported models

Model Model Size
TinyLlama-1.1B-Chat-v0.4-q4f32_1-1k 600MB
Llama-3-8B-Instruct-q4f16_1 ⭐ 4.3GB
Phi1.5-q4f16_1-1k 1.2GB
Mistral-7B-Instruct-v0.2-q4f16_1 ⭐ 4GB

Looking for contributors

We would love contributions to improve the interface, support more models, speed up initial model loading time and fix bugs.

Other Projects by Author

Check out screenshot to code and Pico - AI-powered app builder

secret-llama's People

Contributors

abi avatar arthurjdam avatar jonbo 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.