huggingface / node-question-answering

Fast and production-ready question answering in Node.js
Apache License 2.0
464 stars 55 forks source link

Browser build request #12

Open Zeesy opened 4 years ago

Zeesy commented 4 years ago

Is it possible to put together a browser build for this? It would be really valuable in PWA production.

Thanks so much for your great projects!

philschmid commented 4 years ago

+1

Pierrci commented 4 years ago

Unfortunately, the Tokenizers library used internally for tokenization doesn't provide bindings for the browser but only for Nodejs (see huggingface/tokenizers#63), so no build possible for the browser for now :/

Zeesy commented 4 years ago

Thanks for the update. Are there plans to expand the bindings in the near future?

Pierrci commented 4 years ago

Currently it's not a priority in our pipeline, but we'll welcome any external contribution :)

Pulixe commented 3 years ago

is there another way to Browserify this?