Hacker News new | ask | show | jobs
by orenha 604 days ago
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