xenova / transformers.js

State-of-the-art Machine Learning for the web. Run 🤗 Transformers directly in your browser, with no need for a server!
https://huggingface.co/docs/transformers.js
Apache License 2.0
9.71k stars 571 forks source link

Can you use all transformers models with transformers.js? #765

Open Sir-hennihau opened 1 month ago

Sir-hennihau commented 1 month ago

Question

Hi, can you use all transformers models (which seem to be listed under the python library) also in transformers.js? If yes, how so? Just download and provide the local path? I'm working in nodejs right now.

For example I'd like to use something like Llama 3 with Transformers.js. If that doesn't work, what would be the strongest general purpose LLM available for transformers.js right now (text generation, something like chatgpt, gemini, ...)?

Greetings & thanks a lot!