Google releases Gemma 2 2B, ShieldGemma and Gemma Scope
β’
59
We have Transformers.js, the JavaScript/WASM/WebGPU port of the python library, which supports ~100 different architectures.
Docs: https://huggingface.co/docs/transformers.js
Repo: http://github.com/xenova/transformers.js
Is that the kind of thing you're looking for? :)
Note: Since the API is experimental, you will need to install Chrome Dev/Canary version 127 or higher, and enable a few flags to get it working (see blog post for more detailed instructions)
windowβ.ai
feature is going to change the web forever! π€― It allows you to run Gemini Nano, a powerful 3.25B parameter LLM, 100% locally in your browser!The model might be a bit large, but it could be something to try!
Indeed! The model is cached on first load and will be reused once you refresh the page.
Sure! Here's the PR for it: https://github.com/xenova/transformers.js/pull/607. Vite + vanilla JS.