Skip to content

Instantly share code, notes, and snippets.

@john-adeojo
Last active September 22, 2023 11:30
Show Gist options
  • Save john-adeojo/6228bdae18be86881af917c75570c658 to your computer and use it in GitHub Desktop.
Save john-adeojo/6228bdae18be86881af917c75570c658 to your computer and use it in GitHub Desktop.
context = '''
Task: For each pair of sentences below, determine the relationship between them. Label them as:
0 (entailment) if the second sentence is a logical outcome or directly inferred from the first.
1 (neutral) if the second sentence is neither entailed nor contradicted by the first; it's just additional information.
2 (contradiction) if the second sentence contradicts or opposes the information in the first.
Example 1:
Sentence 1: "The cat sat on the mat."
Sentence 2: "The mat has a cat on it."
Label: 0 (entailment)
Example 2:
Sentence 1: "The cat sat on the mat."
Sentence 2: "The dog barked at the postman."
Label: 1 (neutral)
Example 3:
Sentence 1: "The cat sat on the mat."
Sentence 2: "There is no cat on the mat."
Label: 2 (contradiction)
'''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment