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

Added support for client-side loading of gated remote files (via user provided token) #798

Open alexisflive opened 2 weeks ago

alexisflive commented 2 weeks ago

I'm building a client side app that needs to be able to pull gated models. The token used is requested from the user. Added support for this to transformers.js