NatML Logo

NatML

predictor media backdroppredictor media
distilbert-qapublic
predictor media

natsuite

DistilBERT language model for question answering.

Importing the Predictor

Follow the setup instructions on the predictor implementation.

Using the Predictor

// Fetch model data from NatML var modelData = await MLModelData.FromHub("@natsuite/distilbert-qa"); // Deserialize the model var model = await MLEdgeModel.Create(modelData); // Create the predictor var predictor = new DistilBERTQA(model, modelData.labels);

References