Hacker News new | ask | show | jobs
by e-clinton 604 days ago
Can you share a bit more about how you accomplished it? Is this using Llama? I’d love to load the 1B version of Llama for my extension: https://chromewebstore.google.com/detail/namebrand-check-for...
1 comments

I am using hugging face transformer.js for that. https://huggingface.co/docs/transformers.js/en/index

You can also take a look at Webllm library. https://github.com/mlc-ai/web-llm

In the future, google will probably load Gemini nano into chrome, right now it's in beta - https://developer.chrome.com/docs/ai/built-in