Natural Language Inference
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
Was this page helpful?