idx
stringlengths
16
24
premise
stringlengths
9
285
hypothesis
stringlengths
7
155
label
stringclasses
3 values
type
stringclasses
2 values
3021531305.jpg#0r1n-orig
A man is riding a red motorcycle with a small child sitting in front of him.
A man rides his motorcyle with his won.
neutral
original
3021531305.jpg#0r1n-cf-0
A man is riding a motorcycle with a small child sitting in front of him.
A man rides his motorcyle with his won.
entailment
cf
3021531305.jpg#0r1n-cf-1
A man is riding a red motorcycle with a small child sitting in front of him.
A man rides his car with his son.
contradiction
cf
3021531305.jpg#0r1n-cf-2
A man is riding a blue truck with a small child sitting in front of him.
A man rides his motorcyle with his won.
contradiction
cf
3021531305.jpg#0r1n-cf-3
A man is riding a red motorcycle with a small child sitting in front of him.
A man rides his motorcycle with a child.
entailment
cf
1344692842.jpg#0r5n-orig
In a martial arts demonstration a man with two swords faces a woman with a Chinese spear.
The woman is watching.
neutral
original
1344692842.jpg#0r5n-cf-0
In a martial arts demonstration a man with two swords faces a woman with a Chinese spear.
The woman is with a Chinese spear.
entailment
cf
1344692842.jpg#0r5n-cf-1
In a martial arts demonstration a man with two swords faces a woman with a Chinese spear while the men watch.
The woman is watching.
contradiction
cf
1344692842.jpg#0r5n-cf-2
In a martial arts demonstration a man with two swords faces a woman with a Chinese spear while another woman watches.
The woman is watching.
entailment
cf
1344692842.jpg#0r5n-cf-3
In a martial arts demonstration a man with two swords faces a woman with a Chinese spear.
The woman is watching the man with a Japanese spear.
contradiction
cf
1303548017.jpg#3r1n-orig
A woman wearing a green shirt stands on the railroad tracks.
A railroad employee stands on the train tracks.
neutral
original
1303548017.jpg#3r1n-cf-0
A woman wearing a green shirt stands on the railroad tracks.
The woman is wearing a green shirt.
entailment
cf
1303548017.jpg#3r1n-cf-1
A railroad employee wearing a green shirt stands on the railroad tracks.
A railroad employee stands on the train tracks.
entailment
cf
1303548017.jpg#3r1n-cf-2
A woman wearing a green shirt stands on the railroad tracks and waves on the railroad employee in the booth.
A railroad employee stands on the train tracks.
contradiction
cf
1303548017.jpg#3r1n-cf-3
A woman wearing a green shirt stands on the railroad tracks.
The woman is not standing on the railroad tracks.
contradiction
cf
4833952388.jpg#3r1e-orig
A blond woman speaking to a brunette woman with her arms crossed.
A woman is talking to another woman.
entailment
original
4833952388.jpg#3r1e-cf-0
A blond man speaking to a brunette woman with her arms crossed.
A woman is talking to another woman.
contradiction
cf
4833952388.jpg#3r1e-cf-1
A blond woman speaking to another person with their arms crossed.
A woman is talking to another woman.
neutral
cf
4833952388.jpg#3r1e-cf-2
A blond woman speaking to a brunette woman with her arms crossed.
A woman is talking to a family member.
neutral
cf
4833952388.jpg#3r1e-cf-3
A blond woman speaking to a brunette woman with her arms crossed.
A woman is talking to a man.
contradiction
cf
3101442804.jpg#4r1e-orig
Students are inside of a lecture hall.
Students are indoors.
entailment
original
3101442804.jpg#4r1e-cf-0
Students are outside for a lecture hall.
Students are indoors.
contradiction
cf
3101442804.jpg#4r1e-cf-1
Students are inside of a lecture hall.
Students are on the soccer field.
contradiction
cf
3101442804.jpg#4r1e-cf-2
Students are inside of a lecture hall.
Students are inside of the science lecture hall.
neutral
cf
3101442804.jpg#4r1e-cf-3
Students are attending a lecture.
Students are indoors.
neutral
cf
5033187903.jpg#4r1e-orig
A woman in a red polka-dot dress sings into a mic.
A woman is wearing a dress.
entailment
original
5033187903.jpg#4r1e-cf-0
A man in a pink polka-dot dress sings into a mic.
A woman is wearing a dress.
contradiction
cf
5033187903.jpg#4r1e-cf-1
A tall woman in a red polka-dot dress sings into a mic.
A woman is wearing a dress.
neutral
cf
5033187903.jpg#4r1e-cf-2
A woman in a red polka-dot dress sings into a mic.
A woman is wearing a silk dress.
neutral
cf
5033187903.jpg#4r1e-cf-3
A woman in a red polka-dot dress sings into a mic.
A woman is wearing pants.
contradiction
cf
3490607174.jpg#3r1n-orig
Men playing a game in the park.
some men play for money
neutral
original
3490607174.jpg#3r1n-cf-0
Men playing a game in the park.
Some men are playing a game.
entailment
cf
3490607174.jpg#3r1n-cf-1
Men playing a game in the park.
Some women are playing a game.
contradiction
cf
3490607174.jpg#3r1n-cf-2
Men playing a game at the park.
some men play for money
entailment
cf
3490607174.jpg#3r1n-cf-3
All men playing a game at the park for free.
some men play for money
contradiction
cf
3545427060.jpg#1r1e-orig
Three children are playing together in some water.
Three children are playing in water.
entailment
original
3545427060.jpg#1r1e-cf-0
Three children are playing together in some water.
Three smart children are playing in water.
neutral
cf
3545427060.jpg#1r1e-cf-1
Three children are playing together at the park.
Three children are playing in water.
contradiction
cf
3545427060.jpg#1r1e-cf-2
Three children are playing together in some water.
Four adults are playing in sand.
contradiction
cf
3545427060.jpg#1r1e-cf-3
Children are playing together in some water.
Three children are playing in water.
neutral
cf
2391035976.jpg#2r1c-orig
A woman and a young child are making sculptures out of clay.
A man and woman painting on canvas.
contradiction
original
2391035976.jpg#2r1c-cf-0
A woman and a young child are making sculptures out of clay.
A child and woman with clay.
entailment
cf
2391035976.jpg#2r1c-cf-1
A woman and her son are painting on a canvas
A man and woman painting on canvas.
entailment
cf
2391035976.jpg#2r1c-cf-2
A woman and a young child are making sculptures out of clay.
A boy and woman make something.
neutral
cf
2391035976.jpg#2r1c-cf-3
A woman and a young child are doing art.
A man and woman painting on canvas.
neutral
cf
1562478713.jpg#0r5c-orig
A man not wearing a shirt is pouring something out a can while sitting on sand in front of a orange and red tent.
A man is walking down the trail.
contradiction
original
1562478713.jpg#0r5c-cf-0
A man not wearing a shirt is pouring something out a can while sitting on sand in front of a orange and red tent.
A man is pouring orange juice outside a tent.
neutral
cf
1562478713.jpg#0r5c-cf-1
A man not wearing a shirt is pouring something out a can in front of a tent.
A man is walking down the trail.
neutral
cf
1562478713.jpg#0r5c-cf-2
A man not wearing a shirt is pouring something out a can while sitting on sand in front of a tent.
A man is walking down the trail.
entailment
cf
1562478713.jpg#0r5c-cf-3
A man not wearing a shirt is pouring something out a can while sitting on sand in front of a orange and red tent.
A man is pouring outside a tent.
entailment
cf
6281452090.jpg#1r3n-orig
A football player wearing a number ten jersey is catching a football with both hands.
A huge player
neutral
original
6281452090.jpg#1r3n-cf-0
A football player wearing a number ten jersey is catching a football with both hands.
A sports player is catching a baseball.
contradiction
cf
6281452090.jpg#1r3n-cf-1
A football player wearing a number ten jersey is catching a football with one hand.
A huge player
contradiction
cf
6281452090.jpg#1r3n-cf-2
A giant player wearing a number ten jersey is catching a football with one hand.
A huge player
entailment
cf
6281452090.jpg#1r3n-cf-3
A football player wearing a number ten jersey is catching a football with both hands.
A sports player is catching a football.
entailment
cf
4970968773.jpg#0r1c-orig
The back of a woman wearing blue jeans, black boots, and a blue and black shirt.
Someone in sandals walks away.
contradiction
original
4970968773.jpg#0r1c-cf-0
The back of a woman wearing blue jeans, black boots, and a blue and black shirt.
The back of someone in boots.
entailment
cf
4970968773.jpg#0r1c-cf-1
The back of a woman wearing blue jeans, and a shirt.
Someone in sandals walks away.
neutral
cf
4970968773.jpg#0r1c-cf-2
The back of a woman wearing blue jeans, black boots, and a blue and black shirt.
Someone walks away.
neutral
cf
4970968773.jpg#0r1c-cf-3
The back of a woman wearing blue jeans, sandals, and a shirt.
Someone in sandals walks away.
entailment
cf
2240975290.jpg#3r1n-orig
Some kids wearing white and red are playing soccer.
Children are wearing their soccer uniform
neutral
original
2240975290.jpg#3r1n-cf-0
A few kids wearing white and red are playing soccer.
Children are wearing their soccer uniform
entailment
cf
2240975290.jpg#3r1n-cf-1
Some kids wearing white and red are playing soccer.
Children are wearing their white and red clothes
entailment
cf
2240975290.jpg#3r1n-cf-2
Some kids wearing white and red are playing soccer.
Children are wearing their black uniform
contradiction
cf
2240975290.jpg#3r1n-cf-3
A few kids wearing white and red are playing rugby.
Children are wearing their soccer uniform
contradiction
cf
5869269064.jpg#2r1c-orig
A young lady is dressed in a blue top with black leotards and is in a dance pose.
The young lady is taking a break from exercising
contradiction
original
5869269064.jpg#2r1c-cf-0
A young lady is dressed in a blue top with black leotards and is in a dance pose.
The young lady is about to dance.
entailment
cf
5869269064.jpg#2r1c-cf-1
A young lady is dressed in a top with black leotards and is in a dance pose after being exhausted from weightlifting.
The young lady is taking a break from exercising
entailment
cf
5869269064.jpg#2r1c-cf-2
A young lady is dressed in a top with black leotards.
The young lady is taking a break from exercising
neutral
cf
5869269064.jpg#2r1c-cf-3
A young lady is dressed in a blue top with black leotards and is in a dance pose.
The young lady is a professional dancer.
neutral
cf
6826571981.jpg#0r1n-orig
Three people trudge through the snow wearing snowshoes and using walking sticks.
Three crash survivors trying to reach civilization
neutral
original
6826571981.jpg#0r1n-cf-0
Four people trudge through the snow wearing snowshoes and using walking sticks.
Three crash survivors trying to reach civilization
contradiction
cf
6826571981.jpg#0r1n-cf-1
Three people trudge through the snow wearing snowshoes and using walking sticks.
Three people are in snow
entailment
cf
6826571981.jpg#0r1n-cf-2
Three people trudge through the snow wearing snowshoes and using walking sticks.
Six people are in mud
contradiction
cf
6826571981.jpg#0r1n-cf-3
Three people trudge through the snow to reach the city after emerging from a crashed airplane.
Three crash survivors trying to reach civilization
entailment
cf
3056569684.jpg#2r1c-orig
Recked ambulance being towed by a large tow truck.
The firetruck was towed.
contradiction
original
3056569684.jpg#2r1c-cf-0
Recked vehicle being towed by a large tow truck.
The firetruck was towed.
neutral
cf
3056569684.jpg#2r1c-cf-1
Recked ambulance being towed by a large tow truck.
The white ambulance was towed.
neutral
cf
3056569684.jpg#2r1c-cf-2
Recked ambulance being towed by a large tow truck.
The ambulance was towed.
entailment
cf
3056569684.jpg#2r1c-cf-3
Recked firetruck being towed by a large tow truck.
The firetruck was towed.
entailment
cf
2723024306.jpg#1r1e-orig
A man in a blue shirt is building a sand castle at the beach.
A man in a blue shirt is building a sand castle at the beach
entailment
original
2723024306.jpg#1r1e-cf-0
A man in a blue shirt is at the beach.
A man in a blue shirt is building a sand castle at the beach
neutral
cf
2723024306.jpg#1r1e-cf-1
A man in a blue shirt is building a bank at the beach.
A man in a blue shirt is building a sand castle at the beach
contradiction
cf
2723024306.jpg#1r1e-cf-2
A man in a blue shirt is building a sand castle at the beach.
A man in a blue shirt is building nothing at the beach
contradiction
cf
2723024306.jpg#1r1e-cf-3
A man in a blue shirt is building a sand castle at the beach.
A man in a blue shirt is being forced to build a sand castle at the beach
neutral
cf
561940436.jpg#0r1n-orig
An older man and woman sitting on a cement bench with frowns on their faces.
The man and woman are arguing about money
neutral
original
561940436.jpg#0r1n-cf-0
An older man and woman sitting on a cement bench with frowns on their faces.
The man and woman are frowning.
entailment
cf
561940436.jpg#0r1n-cf-1
An older man and woman sitting on a cement bench with frowns on their faces.
The man and woman are smiling.
contradiction
cf
561940436.jpg#0r1n-cf-2
An older man and woman sitting on a cement bench with frowns on their faces are arguing about their kids.
The man and woman are arguing about money
contradiction
cf
561940436.jpg#0r1n-cf-3
An older man and woman sitting on a cement bench with frowns on their faces are arguing about money.
The man and woman are arguing about money
entailment
cf
6918264972.jpg#0r2c-orig
Two horse racing jockeys, one in checkered blue and red and the other in orange and brown, are racing against a blurry background.
Two rodeo clowns riding old sad-looking ponies
contradiction
original
6918264972.jpg#0r2c-cf-0
Two horse racing jockeys, one in checkered blue and red and the other in orange and brown, are racing against a blurry background.
Two horse racing jockeys are racing against a blurry background.
entailment
cf
6918264972.jpg#0r2c-cf-1
Two horse racing jockeys, one in checkered blue and red and the other in orange and brown, are racing against a blurry background, while two rodeo clowns are riding old sad-looking ponies.
Two rodeo clowns riding old sad-looking ponies
entailment
cf
6918264972.jpg#0r2c-cf-2
Two horse racing jockeys, one in checkered blue and red and the other in orange and brown, are racing against a blurry background, while two people were riding ponies near them.
Two rodeo clowns riding old sad-looking ponies
neutral
cf
6918264972.jpg#0r2c-cf-3
Two horse racing jockeys, one in checkered blue and red and the other in orange and brown, are racing against a blurry background.
Several horse racing jockeys are racing against a blurry background
neutral
cf
3220815683.jpg#4r1n-orig
Several man in black tops play the guitar.
People are playing music.
entailment
original
3220815683.jpg#4r1n-cf-0
Several man in black tops sit silently.
People are playing music.
contradiction
cf
3220815683.jpg#4r1n-cf-1
Several man in black tops play the guitar.
People are playing rock music.
neutral
cf
3220815683.jpg#4r1n-cf-2
Several man in black tops play the guitar.
People are playing baseball.
contradiction
cf
3220815683.jpg#4r1n-cf-3
Several man in black tops have guitars.
People are playing music.
neutral
cf

Dataset Card for Counterfactually Augmented SNLI

Dataset Summary

The SNLI corpus (version 1.0) is a collection of 570k human-written English sentence pairs manually labeled for balanced classification with the labels entailment, contradiction, and neutral, supporting the task of natural language inference (NLI), also known as recognizing textual entailment (RTE). In the ICLR 2020 paper Learning the Difference that Makes a Difference with Counterfactually-Augmented Data, Kaushik et. al. provided a dataset with counterfactual perturbations on the SNLI and IMDB data. This repository contains the original and counterfactual perturbations for the SNLI data, which was generated after processing the original data from here.

Languages

The language in the dataset is English as spoken by users of the website Flickr and as spoken by crowdworkers from Amazon Mechanical Turk. The BCP-47 code for English is en.

Dataset Structure

Data Instances

For each instance, there is:

  • a string for the premise,
  • a string for the hypothesis,
  • a label: (entailment, contradiction, neutral)
  • a type: this tells whether the data point is the original SNLI data point or a counterfactual perturbation.
  • an idx. The ids correspond to the original id in the SNLI data. For example, if the original SNLI instance was 4626192243.jpg#3r1e, there wil be 5 data points as follows:
{
  "idx": "4626192243.jpg#3r1e-orig",
  "premise": "A man with a beard is talking on the cellphone and standing next to someone who is lying down on the street.",
  "hypothesis": "A man is prone on the street while another man stands next to him.",
  "label": "entailment",
  "type": "original"
}
{
  "idx": "4626192243.jpg#3r1e-cf-0",
  "premise": "A man with a beard is talking on the cellphone and standing next to someone who is lying down on the street.",
  "hypothesis": "A man is talking to his wife on the cellphone.",
  "label": "neutral",
  "type": "cf"
}
{
  "idx": "4626192243.jpg#3r1e-cf-1",
  "premise": "A man with a beard is talking on the cellphone and standing next to someone who is on the street.",
  "hypothesis": "A man is prone on the street while another man stands next to him.",
  "label": "neutral",
  "type": "cf"
}
{
  "idx": "4626192243.jpg#3r1e-cf-2",
  "premise": "A man with a beard is talking on the cellphone and standing next to someone who is sitting on the street.",
  "hypothesis": "A man is prone on the street while another man stands next to him.",
  "label": "contradiction",
  "_type": "cf"
}
{
  "idx": "4626192243.jpg#3r1e-cf-3",
  "premise": "A man with a beard is talking on the cellphone and standing next to someone who is lying down on the street.",
  "hypothesis": "A man is alone on the street.",
  "label": "contradiction",
  "type": "cf"
}

Data Splits

Following SNLI, this dataset also has 3 splits: train, validation, and test. The original paper says this:

RP and RH, each comprised of 3332 pairs in train, 400 in validation, and 800 in test, leading to a total of 6664 pairs in train, 800 in validation, and 1600 in test in the revised dataset.

This means for train, there are 1666 original SNLI instances, and each has 4 counterfactual perturbations (from premise and hypothesis edit), leading to a total of 1666*5 = 8330 train data points in this dataset. Similarly, validation and test has 200 and 400 original SNLI instances respectively, consequently 1000 and 2000 instances in total.

Dataset Split Number of Instances in Split
Train 8,330
Validation 1,000
Test 2,000
Downloads last month
84
Edit dataset card