Natural Language Inference
Leverage Galileo NLP Studio for natural language inference (NLI), enabling accurate predictions and model performance monitoring.
Natural Language Inference (NLI), also known as Recognizing Textual Entailment (RTE), is a sequence classification problem, where given two (short, ordered) documents — premise
and hypothesis
, the task is to determine the inference relation between them.
Samples are classified into one of the three labels depending on whether a hypothesis
is true (entailment), false (contradiction), or undetermined (neutral) given a premise
. Here’s an example:
Note: For NLI you must combine the premise
and hypothesis
documents for logging. We recommend joining the document text with a separator such as \<>
to help visualization in the Galileo console.
Get started with a notebook
Watch our NLI tutorials
Start integrating Galileo with our supported frameworks
-
HuggingFace
-
PyTorch
-
TensorFlow
-
Keras