CPC G06F 40/40 (2020.01) [G06F 40/30 (2020.01)] | 18 Claims |
1. A method comprising:
receiving, at a pipeline neural network, an input text of a natural language question and context that provides an answer to the natural language question;
selecting, using a context selection network in the pipeline neural network, a premium context from the context, wherein the premium context includes at least two paragraphs;
determining, using a question type network in the pipeline neural network, a type of the natural language question, wherein the question type network includes a Bidirectional Encoder Representations from Transformers (BERT) model and a classification layer and further comprising training the classification layer for determining the type of the natural language question; and
determining the answer to the natural language question as a yes or no answer when the type of the natural language question is a yes or a no question.
|