huggingface/node-question-answering
A Node.js library that runs DistilBERT transformer models for question answering via TensorFlow.js.

Velocity · 7d
+0.2
★ / day
Trend
→steady
star history
This package provides production-ready question answering capabilities in Node.js. It uses TensorFlow.js to run pre-trained transformer models (DistilBERT by default, with support for other Hugging Face models) for extracting answers from text passages. It leverages Hugging Face’s tokenizers library for text preprocessing and can run models locally in SavedModel or TFJS format, as well as remotely via TensorFlow Serving.