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 --
hypothesis, the task is to determine the inference relation between them.
Samples are classified into one of the three labels depending on whether a
hypothesisis true (entailment), false (contradiction), or undetermined (neutral) given a
premise. Here's an example:
Premise: A man inspects the uniform of a figure in some East Asian country.
Hypothesis: The man is sleeping.
Premise: An older and younger man smiling.
Hypothesis: Two men are smiling and laughing at the cats playing on the floor.
Premise: A soccer game with multiple males playing.
Hypothesis: Some men are playing a sport.
Note: For NLI you must combine the
hypothesisdocuments for logging. We recommend joining the document text with a separator such as
<>to help visualization in the Galileo console.