tasksource/deberta-small-long-nli
Zero-Shot Classification
•
Updated
•
112k
•
37
sentence1
stringlengths 15
376
| category
stringclasses 14
values | gold_label
stringclasses 3
values | annotator_labels
sequence | pairID
int32 110
19k
| sentence2
stringlengths 13
378
| label
class label 0
2
|
---|---|---|---|---|---|---|
Several women stand on a platform near the yellow line. | colors | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 3,107 | Several women stand on a platform near the red line. | 2contradiction
|
Several women stand on a platform near the yellow line. | colors | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 3,109 | Several women stand on a platform near the green line. | 2contradiction
|
Several women stand on a platform near the yellow line. | colors | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 3,108 | Several women stand on a platform near the black line. | 2contradiction
|
Several women stand on a platform near the yellow line. | antonyms | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 3,106 | Several women stand on a platform far away from the yellow line. | 2contradiction
|
Several women stand on a platform near the yellow line. | antonyms | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 3,105 | Several women stand on a platform far from the yellow line. | 2contradiction
|
The man is holding a saxophone. | instruments | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 7,740 | The man is holding a french horn. | 2contradiction
|
The man is holding a saxophone. | instruments | entailment | [
"entailment",
"entailment",
"entailment"
] | 7,743 | The man is holding an instrument. | 0entailment
|
The man is holding a saxophone. | instruments | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 7,741 | The man is holding an electric guitar. | 2contradiction
|
The man is holding a saxophone. | instruments | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 7,744 | The man is holding an acoustic guitar. | 2contradiction
|
The man is holding a saxophone. | instruments | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 7,742 | The man is holding a piano. | 2contradiction
|
Yellow banners with a black lion print are hung across some trees in a sun-lit neighborhood. | colors | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 1,634 | Yellow banners with a white lion print are hung across some trees in a sun-lit neighborhood. | 2contradiction
|
Yellow banners with a black lion print are hung across some trees in a sun-lit neighborhood. | colors | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 1,633 | Yellow banners with a yellow lion print are hung across some trees in a sun-lit neighborhood. | 2contradiction
|
Yellow banners with a black lion print are hung across some trees in a sun-lit neighborhood. | colors | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 1,631 | Yellow banners with a silver lion print are hung across some trees in a sun-lit neighborhood. | 2contradiction
|
Yellow banners with a black lion print are hung across some trees in a sun-lit neighborhood. | colors | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 1,632 | Yellow banners with a purple lion print are hung across some trees in a sun-lit neighborhood. | 2contradiction
|
Yellow banners with a black lion print are hung across some trees in a sun-lit neighborhood. | antonyms | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 1,630 | Yellow banners with a black lion print are hung across some trees in a moon-lit neighborhood. | 2contradiction
|
A woman cooking thanksgiving dinner in the kitchen. | rooms | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 6,565 | A woman cooking thanksgiving dinner in the courtroom. | 2contradiction
|
A woman cooking thanksgiving dinner in the kitchen. | rooms | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 6,566 | A woman cooking thanksgiving dinner in the prison cell. | 2contradiction
|
A woman cooking thanksgiving dinner in the kitchen. | rooms | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 6,568 | A woman cooking thanksgiving dinner in the classroom. | 2contradiction
|
A woman cooking thanksgiving dinner in the kitchen. | rooms | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 6,567 | A woman cooking thanksgiving dinner in the dining room. | 2contradiction
|
A woman cooking thanksgiving dinner in the kitchen. | rooms | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 6,569 | A woman cooking thanksgiving dinner in the bedroom. | 2contradiction
|
A person in blue and red ice climbing with two picks. | cardinals | contradiction | [
"contradiction",
"neutral",
"contradiction"
] | 6,013 | A person in blue and red ice climbing with 10 picks. | 2contradiction
|
A person in blue and red ice climbing with two picks. | cardinals | contradiction | [
"contradiction",
"neutral",
"contradiction"
] | 6,011 | A person in blue and red ice climbing with ten picks. | 2contradiction
|
A person in blue and red ice climbing with two picks. | cardinals | contradiction | [
"contradiction",
"neutral",
"contradiction"
] | 6,010 | A person in blue and red ice climbing with five picks. | 2contradiction
|
A person in blue and red ice climbing with two picks. | cardinals | contradiction | [
"contradiction",
"neutral",
"contradiction"
] | 6,014 | A person in blue and red ice climbing with 12 picks. | 2contradiction
|
A person in blue and red ice climbing with two picks. | cardinals | contradiction | [
"contradiction",
"neutral",
"contradiction"
] | 6,012 | A person in blue and red ice climbing with six picks. | 2contradiction
|
A mural of children on a brick wall. | materials | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 7,658 | A mural of children on a plastic wall. | 2contradiction
|
A mural of children on a brick wall. | materials | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 7,655 | A mural of children on a bronze wall. | 2contradiction
|
A mural of children on a brick wall. | materials | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 7,656 | A mural of children on a wood wall. | 2contradiction
|
A mural of children on a brick wall. | materials | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 7,657 | A mural of children on a glass wall. | 2contradiction
|
A mural of children on a brick wall. | materials | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 7,659 | A mural of children on a cement wall. | 2contradiction
|
Person drinking beer. | drinks | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 5,598 | Person drinking champagne. | 2contradiction
|
Person drinking beer. | drinks | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 5,597 | Person drinking cider. | 2contradiction
|
Person drinking beer. | drinks | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 5,596 | Person drinking vodka. | 2contradiction
|
Person drinking beer. | drinks | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 5,599 | Person drinking whisky. | 2contradiction
|
Person drinking beer. | drinks | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 5,595 | Person drinking gin. | 2contradiction
|
A young woman gazes out the window at the sun while taking a break from sweeping a broken brown pot. | antonyms_wordnet | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 1,903 | A senior woman gazes out the window at the sun while taking a break from sweeping a broken brown pot. | 2contradiction
|
A young woman gazes out the window at the sun while taking a break from sweeping a broken brown pot. | antonyms_wordnet | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 1,902 | An elderly woman gazes out the window at the sun while taking a break from sweeping a broken brown pot. | 2contradiction
|
A young woman gazes out the window at the sun while taking a break from sweeping a broken brown pot. | antonyms | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 1,900 | A young woman gazes out the window at the moon while taking a break from sweeping a broken brown pot. | 2contradiction
|
A young woman gazes out the window at the sun while taking a break from sweeping a broken brown pot. | colors | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 1,901 | A young woman gazes out the window at the sun while taking a break from sweeping a broken black pot. | 2contradiction
|
A young woman gazes out the window at the sun while taking a break from sweeping a broken brown pot. | antonyms | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 1,904 | An old woman gazes out the window at the sun while taking a break from sweeping a broken brown pot. | 2contradiction
|
2 refs sitting on a bench waiting for the soccer game to start. | cardinals | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 602 | 12 refs sitting on a bench waiting for the soccer game to start. | 2contradiction
|
2 refs sitting on a bench waiting for the soccer game to start. | antonyms | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 600 | 2 refs sitting on a bench waiting for the soccer game to end. | 2contradiction
|
2 refs sitting on a bench waiting for the soccer game to start. | antonyms | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 601 | 2 refs sitting on a bench waiting for the soccer game to finish. | 2contradiction
|
2 refs sitting on a bench waiting for the soccer game to start. | cardinals | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 604 | 7 refs sitting on a bench waiting for the soccer game to start. | 2contradiction
|
2 refs sitting on a bench waiting for the soccer game to start. | cardinals | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 603 | 8 refs sitting on a bench waiting for the soccer game to start. | 2contradiction
|
An old women is looking at the sun. | antonyms_wordnet | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 1,384 | An early women is looking at the sun. | 2contradiction
|
An old women is looking at the sun. | antonyms | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 1,380 | An old women is looking at the moon. | 2contradiction
|
An old women is looking at the sun. | antonyms_wordnet | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 1,381 | A junior women is looking at the sun. | 2contradiction
|
An old women is looking at the sun. | antonyms_wordnet | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 1,382 | A teenage women is looking at the sun. | 2contradiction
|
A man playing scrabble with carrots, celery, onions, limes, apples and cauliflower with another person. | vegetables | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 4,833 | A man playing scrabble with carrots, celery, cucumbers, limes, apples and cauliflower with another person. | 2contradiction
|
A man playing scrabble with carrots, celery, onions, limes, apples and cauliflower with another person. | vegetables | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 4,834 | A man playing scrabble with carrots, celery, eggplants, limes, apples and cauliflower with another person. | 2contradiction
|
A man playing scrabble with carrots, celery, onions, limes, apples and cauliflower with another person. | vegetables | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 4,851 | A man playing scrabble with carrots, eggplant, onions, limes, apples and cauliflower with another person. | 2contradiction
|
A man playing scrabble with carrots, celery, onions, limes, apples and cauliflower with another person. | vegetables | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 4,779 | A man playing scrabble with carrots, avocado, onions, limes, apples and cauliflower with another person. | 2contradiction
|
A man playing scrabble with carrots, celery, onions, limes, apples and cauliflower with another person. | vegetables | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 4,852 | A man playing scrabble with carrots, celery, tomatoes, limes, apples and cauliflower with another person. | 2contradiction
|
The old man is at a bar drinking beer. | drinks | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 5,266 | The old man is at a bar drinking vodka. | 2contradiction
|
The old man is at a bar drinking beer. | drinks | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 5,265 | The old man is at a bar drinking cider. | 2contradiction
|
The old man is at a bar drinking beer. | drinks | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 5,269 | The old man is at a bar drinking tequila. | 2contradiction
|
The old man is at a bar drinking beer. | drinks | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 5,267 | The old man is at a bar drinking gin. | 2contradiction
|
The old man is at a bar drinking beer. | drinks | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 5,268 | The old man is at a bar drinking whisky. | 2contradiction
|
Some people in a restaurant drinking wine. | drinks | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 5,624 | Some people in a restaurant drinking vodka. | 2contradiction
|
Some people in a restaurant drinking wine. | drinks | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 5,621 | Some people in a restaurant drinking tequila. | 2contradiction
|
Some people in a restaurant drinking wine. | drinks | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 5,622 | Some people in a restaurant drinking whisky. | 2contradiction
|
Some people in a restaurant drinking wine. | drinks | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 5,620 | Some people in a restaurant drinking cider. | 2contradiction
|
Some people in a restaurant drinking wine. | drinks | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 5,623 | Some people in a restaurant drinking gin. | 2contradiction
|
The man is wearing a yellow shirt and playing a piano. | instruments | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 8,261 | The man is wearing a yellow shirt and playing a french horn. | 2contradiction
|
The man is wearing a yellow shirt and playing a piano. | instruments | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 8,260 | The man is wearing a yellow shirt and playing an electric guitar. | 2contradiction
|
The man is wearing a yellow shirt and playing a piano. | instruments | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 8,263 | The man is wearing a yellow shirt and playing a flute. | 2contradiction
|
The man is wearing a yellow shirt and playing a piano. | instruments | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 8,262 | The man is wearing a yellow shirt and playing an acoustic guitar. | 2contradiction
|
The man is wearing a yellow shirt and playing a piano. | instruments | entailment | [
"entailment",
"entailment",
"entailment"
] | 8,264 | The man is wearing a yellow shirt and playing an instrument. | 0entailment
|
There is a man wearing a hat and playing the harmonica. | instruments | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 8,013 | There is a man wearing a hat and playing the tuba. | 2contradiction
|
There is a man wearing a hat and playing the harmonica. | instruments | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 8,014 | There is a man wearing a hat and playing the harp. | 2contradiction
|
There is a man wearing a hat and playing the harmonica. | instruments | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 8,010 | There is a man wearing a hat and playing the banjo. | 2contradiction
|
There is a man wearing a hat and playing the harmonica. | instruments | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 8,012 | There is a man wearing a hat and playing the oboe. | 2contradiction
|
There is a man wearing a hat and playing the harmonica. | instruments | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 8,011 | There is a man wearing a hat and playing the clarinet. | 2contradiction
|
A group of young men and women joyously drinking beer | drinks | contradiction | [
"entailment",
"contradiction",
"contradiction"
] | 5,554 | A group of young men and women joyously drinking tequila | 2contradiction
|
A group of young men and women joyously drinking beer | drinks | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 5,550 | A group of young men and women joyously drinking cider | 2contradiction
|
A group of young men and women joyously drinking beer | drinks | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 5,553 | A group of young men and women joyously drinking gin | 2contradiction
|
A group of young men and women joyously drinking beer | drinks | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 5,551 | A group of young men and women joyously drinking champagne | 2contradiction
|
A group of young men and women joyously drinking beer | drinks | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 5,552 | A group of young men and women joyously drinking whisky | 2contradiction
|
The bubbles carry small animals to the moon. | synonyms | entailment | [
"entailment",
"entailment",
"entailment"
] | 1,257 | The bubbles carry little animals to the moon. | 0entailment
|
The bubbles carry small animals to the moon. | antonyms_wordnet | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 1,256 | The bubbles carry large animals to the moon. | 2contradiction
|
The bubbles carry small animals to the moon. | antonyms | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 1,258 | The bubbles carry big animals to the moon. | 2contradiction
|
The bubbles carry small animals to the moon. | antonyms | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 1,255 | The bubbles carry small animals to the sun. | 2contradiction
|
The old man is protecting his eyes from the sun. | antonyms_wordnet | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 1,314 | The young man is protecting his eyes from the sun. | 2contradiction
|
A small dog is sleeping on the couch. | synonyms | entailment | [
"entailment",
"entailment",
"entailment"
] | 4,111 | A tiny dog is sleeping on the couch. | 0entailment
|
A small dog is sleeping on the couch. | synonyms | entailment | [
"entailment",
"entailment",
"entailment"
] | 4,110 | A small dog is sleeping on the sofa. | 0entailment
|
A small dog is sleeping on the couch. | antonyms_wordnet | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 4,114 | A great dog is sleeping on the couch. | 2contradiction
|
A small dog is sleeping on the couch. | synonyms | entailment | [
"entailment",
"entailment",
"entailment"
] | 4,112 | A little dog is sleeping on the couch. | 0entailment
|
The little girl is spending time with her dad. | synonyms | entailment | [
"entailment",
"entailment",
"entailment"
] | 3,815 | The little girl is spending time with her father. | 0entailment
|
The little girl is spending time with her dad. | synonyms | entailment | [
"entailment",
"entailment",
"entailment"
] | 3,817 | The small girl is spending time with her dad. | 0entailment
|
The little girl is spending time with her dad. | synonyms | entailment | [
"entailment",
"entailment",
"entailment"
] | 3,816 | The tiny girl is spending time with her dad. | 0entailment
|
Two men wearing black clothes and hats, one is playing the saxophone and one is playing the trumpet. | instruments | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 8,224 | Two men wearing black clothes and hats, one is playing the saxophone and one is playing the harmonica. | 2contradiction
|
Two men wearing black clothes and hats, one is playing the saxophone and one is playing the trumpet. | instruments | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 8,220 | Two men wearing black clothes and hats, one is playing the saxophone and one is playing the clarinet. | 2contradiction
|
Two men wearing black clothes and hats, one is playing the saxophone and one is playing the trumpet. | instruments | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 8,223 | Two men wearing black clothes and hats, one is playing the saxophone and one is playing the oboe. | 2contradiction
|
Two men wearing black clothes and hats, one is playing the saxophone and one is playing the trumpet. | instruments | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 8,222 | Two men wearing black clothes and hats, one is playing the saxophone and one is playing the cello. | 2contradiction
|
Two men wearing black clothes and hats, one is playing the saxophone and one is playing the trumpet. | instruments | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 8,221 | Two men wearing black clothes and hats, one is playing the saxophone and one is playing the tuba. | 2contradiction
|
A person in a yellow hat, carrying a bag and a fishing pole, walks in a grassy area near a small body of water. | antonyms_wordnet | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 3,793 | A person in a yellow hat, carrying a bag and a fishing pole, walks in a grassy area near a sizable body of water. | 2contradiction
|
A person in a yellow hat, carrying a bag and a fishing pole, walks in a grassy area near a small body of water. | antonyms_wordnet | contradiction | [
"contradiction",
"contradiction",
"contradiction"
] | 3,794 | A person in a yellow hat, carrying a bag and a fishing pole, walks in a grassy area near a massive body of water. | 2contradiction
|
A person in a yellow hat, carrying a bag and a fishing pole, walks in a grassy area near a small body of water. | synonyms | entailment | [
"entailment",
"entailment",
"entailment"
] | 3,792 | A person in a yellow hat, carrying a bag and a fishing pole, walks in a grassy area near a little body of water. | 0entailment
|
A person in a yellow hat, carrying a bag and a fishing pole, walks in a grassy area near a small body of water. | synonyms | entailment | [
"entailment",
"entailment",
"entailment"
] | 3,791 | A person in a yellow hat, carrying a bag and a fishing pole, walks in a grassy area near a tiny body of water. | 0entailment
|
Proposed by
@InProceedings{glockner_acl18,
author = {Glockner, Max and Shwartz, Vered and Goldberg, Yoav},
title = {Breaking NLI Systems with Sentences that Require Simple Lexical Inferences},
booktitle = {The 56th Annual Meeting of the Association for Computational Linguistics (ACL)},
month = {July},
year = {2018},
address = {Melbourne, Australia}
}
Original dataset available here.
Labels encoded with the following mapping {"entailment": 0, "neutral": 1, "contradiction": 2}
and made available in the label
column.
import pandas as pd
from datasets import Features, Value, ClassLabel, Dataset, Sequence
# load data
with open("<path to folder>/dataset.jsonl", "r") as fl:
data = fl.read().split("\n")
df = pd.DataFrame([eval(i) for i in data if len(i) > 0])
# encode labels
df["label"] = df["gold_label"].map({"entailment": 0, "neutral": 1, "contradiction": 2})
# cast to dataset
features = Features({
"sentence1": Value(dtype="string", id=None),
"category": Value(dtype="string", id=None),
"gold_label": Value(dtype="string", id=None),
"annotator_labels": Sequence(feature=Value(dtype="string", id=None), length=3),
"pairID": Value(dtype="int32", id=None),
"sentence2": Value(dtype="string", id=None),
"label": ClassLabel(num_classes=3, names=["entailment", "neutral", "contradiction"]),
})
ds = Dataset.from_pandas(df, features=features)
ds.push_to_hub("breaking_nli", token="<token>", split="all")