Dataset Preview Go to dataset viewer
context (string)hypothesis (string)label (class label)original_label (int)context_from (string)hypothesis_from (string)subset (string)
An Asian boy is holding onto the metal railing of a wooden bridge .
Police defuse the bridge .
1 (neutral)
2
SNLI-train
AGCI-WK
AGCI
The two children simultaneously reached down to retrieve the ball.
The ball rolled away.
1 (neutral)
4
COPA-premise
COPA-effect
COPA
A couple poses with their snowboards in the middle of a snowy timber .
A commerce walks the timber .
2 (contradiction)
1
SNLI-train
AGCI-WK
AGCI
A dog with red fur stands in a body of water .
A person is happy with the body .
1 (neutral)
3
SNLI-train
AGCI-WK
AGCI
A man in a bar having a Martini .
A person rises the Martini .
1 (neutral)
3
SNLI-train
AGCI-WK
AGCI
An early morning rush hour in the middle of the city.
An arrival marks the morning .
2 (contradiction)
1
SNLI-train
AGCI-WK
AGCI
Little league slides into plate where rival player crouches in anticipation.
The people are playing baseball.
0 (entailment)
5
SNLI-train
SNLI-ENTAILMENT
SNLI
Pom girls performing their choreography .
A person weighs in on the choreography .
1 (neutral)
3
SNLI-train
AGCI-WK
AGCI
Adelaide had saved fifty years of National Geographics in her cellar
The cellar is a floor .
1 (neutral)
4
ROCStories
AGCI-WK
AGCI
A young woman vibrantly frolicking on the coast in San Francisco .
The coast is a shore .
0 (entailment)
5
SNLI-train
AGCI-WK
AGCI
Standing in a kitchen a young woman wearing a black peasant blouse and holding a plastic fork between her teeth shows the camera a ladle in her right hand and a bowl in her left hand .
A person deals with the blouse .
1 (neutral)
2
SNLI-train
AGCI-WK
AGCI
A motorcycle driver dressed in orange gear swerves to the right .
The swerves are a turning .
0 (entailment)
5
SNLI-train
AGCI-WK
AGCI
There is a man wearing construction gear, standing next to a bulldozer that is picking up rubble and debris.
The worker is wearing protective gear.
0 (entailment)
5
SNLI-train
SNLI-ENTAILMENT
SNLI
A very proud looking chubby oriental man selling crops on the street with a cigarette on his lips .
The lips are an articulator .
1 (neutral)
2
SNLI-train
AGCI-WK
AGCI
At the fall festival there was a big wide bucket
It was filled with water and apples.
1 (neutral)
4
ROCStories-1st
ROCStories-2nd
ROC
Yong man with cellphone and goatee holding Obama sign
A hair has the goatee .
2 (contradiction)
1
SNLI-train
AGCI-WK
AGCI
A group of children doing a dance .
The dance is a party .
1 (neutral)
3
SNLI-train
AGCI-WK
AGCI
Woman wearing black and kneeling on rollerskates with deer face antlers on top of her helmet.
Woman in black kneeling on rollerskates.
0 (entailment)
5
SNLI-train
SNLI-ENTAILMENT
SNLI
A man is selling hotdogs on a walkway, and there are tons of pigeons.
A person gains the tons .
2 (contradiction)
1
SNLI-train
AGCI-WK
AGCI
A girl shows off a colorful board with batteries that looks like a science project .
A person beats the batteries .
1 (neutral)
2
SNLI-train
AGCI-WK
AGCI
I thought my friend was going to die in my arms today
The arms lack a fire .
2 (contradiction)
1
ROCStories
AGCI-WK
AGCI
A red gate allows access to the yard .
The access are an approach .
0 (entailment)
5
SNLI-train
AGCI-WK
AGCI
There was a huge Alligator exhibit at the zoo
A person tours the exhibit .
1 (neutral)
4
ROCStories
AGCI-WK
AGCI
An area in japan which appears to be extremely crowded , with many people of whom look like tourists .
The japan is a lacquer .
2 (contradiction)
1
SNLI-train
AGCI-WK
AGCI
The girl met her favorite actor.
She asked him for his autograph.
0 (entailment)
5
COPA-premise
COPA-effect
COPA
A man , with a blue wrapping around his foot , is about to kick another man , with a red cloth hanging from his belt , in the head .
The wrapping is strewn in debris .
2 (contradiction)
1
SNLI-test
AGCI-WK
AGCI
A group dressed in yellow flair sing a song to the crowd .
A person tries to make the flair .
1 (neutral)
2
SNLI-train
AGCI-WK
AGCI
3 Olympic winners posing for a photo on an advertised background
The winners receive a prize .
1 (neutral)
4
SNLI-test
AGCI-WK
AGCI
My puppy was sniffing around on the ground
The ground is a rational motive .
2 (contradiction)
1
ROCStories
AGCI-WK
AGCI
Sam brought several ingredients from the store
She prepared some seasoning for her chicken.
0 (entailment)
5
ROCStories-1st
ROCStories-2nd
ROC
Two hip hop dancers perform a move showing off their strength and balance .
The strength is a property .
1 (neutral)
3
SNLI-train
AGCI-WK
AGCI
A man picking up a softball as another slides to the base.
the man is climbing .
2 (contradiction)
1
SNLI-train
AGCI-NN
AGCI
A young girl is on a street near two orange cones wearing gold bracelets and a gold necklace along with a black and gold bra type top and her hair is up .
The bracelets go for a price .
1 (neutral)
2
SNLI-train
AGCI-WK
AGCI
Two men dressed in black with large colored bowties are performing a comedy routine near some bushes in front of a small audience .
The audience is a opportunity .
2 (contradiction)
1
SNLI-train
AGCI-WK
AGCI
Two elderly men are building a stone cottage wall in front of a blue cottage.
Two men are using wood to build a fence near a dog house.
2 (contradiction)
1
SNLI-train
SNLI-CONTRADICTION
SNLI
The white dog is drinking mountain dew in the snow.
A person expects the dew .
2 (contradiction)
1
SNLI-train
AGCI-WK
AGCI
This winter I went skiing in Alaska with my friend
The skiing is a sport .
0 (entailment)
5
ROCStories
AGCI-WK
AGCI
A man with glasses , a red shirt and black jacket is playing a trumpet .
A person learns to play the trumpet .
1 (neutral)
2
SNLI-train
AGCI-WK
AGCI
Seven people got stuck in an elevator when the power went out
The power is a strength .
2 (contradiction)
1
ROCStories
AGCI-WK
AGCI
a group of people are canoeing down a river through a rainforest .
Visitors can hike through the rainforest .
1 (neutral)
4
SNLI-train
AGCI-WK
AGCI
A group of people began to protest the local library
The crowd grew as the time went on and everyone was getting excited.
1 (neutral)
4
ROCStories-1st
ROCStories-3rd
ROC
A little girl holds orange lilies while others celebrate an occasion in a garden setting .
The lilies are a liliaceous plant .
0 (entailment)
5
SNLI-train
AGCI-WK
AGCI
A young and old Hindu ringing bells at a religious ceremony.
The Hindu accuses police .
1 (neutral)
2
SNLI-train
AGCI-WK
AGCI
people making strawberries drink on a hot day.
The strawberries find a protection .
2 (contradiction)
1
SNLI-train
AGCI-WK
AGCI
A samurai warrior in full black dress takes his sword from the sheath on an outdoor training mat.
The sheath looks fantastic .
1 (neutral)
3
SNLI-train
AGCI-WK
AGCI
A short long-haired dog plays with a multicolored stuffed toy centipede .
The centipede is newest .
1 (neutral)
3
SNLI-train
AGCI-WK
AGCI
A little boy is drinking from a juice packet .
The packet is a boat .
2 (contradiction)
1
SNLI-train
AGCI-WK
AGCI
A man wearing a white hard hat and orange vest is working in a dusty environment .
The environment is a situation .
1 (neutral)
4
SNLI-train
AGCI-WK
AGCI
Pedestrians are yielding to a firetruck as it enters the intersection .
A person faces the intersection .
1 (neutral)
4
SNLI-train
AGCI-WK
AGCI
A mailman with a rolling mailbag smiling at the camera in front of a wall topped with an iron decorative fence.
A mailman is having his picture taken.
0 (entailment)
5
SNLI-train
SNLI-ENTAILMENT
SNLI
A woman fillets a fish , as part of preparing a recipe that includes broccoli , celery , and eggs .
Years eat the broccoli .
2 (contradiction)
1
SNLI-train
AGCI-WK
AGCI
A group with waiters in the foreground mingles under chandeliers on a white ceiling .
A person gapes at the chandeliers .
1 (neutral)
3
SNLI-train
AGCI-WK
AGCI
A young woman with blond-hair is holding a white statuette of a Japanese geisha woman .
The statuette is a figure .
0 (entailment)
5
SNLI-train
AGCI-WK
AGCI
Two young boys , one in a green shirt eating a banana and one in a blue shirt eating an apple .
The banana is edible fruit .
0 (entailment)
5
SNLI-train
AGCI-WK
AGCI
Ric thought he 'd missed his favorite tv show 's return
He clicked the remote rapidly, scanning the channels like a madman.
1 (neutral)
3
ROCStories-1st
ROCStories-2nd
ROC
Two hockey players almost fall on the ice during a scuffle .
The scuffle is a struggle .
1 (neutral)
4
SNLI-train
AGCI-WK
AGCI
Jim worked at an ice cream factory as the foreman
He tried his best to stop it from happening but it just kept coming.
2 (contradiction)
0
ROCStories-1st
ROCStories-3rd
ROC
A female barista making a latte.
The latte is an espresso .
1 (neutral)
4
SNLI-train
AGCI-WK
AGCI
Rick and his dad used to see wrestling matches together all the time
Then when Rick turned 40, his dad bought him a special birthday gift.
1 (neutral)
3
ROCStories-1st
ROCStories-3rd
ROC
A man and women shake hands as a bride holding a flower bouquet looks on .
The bride is a participant .
0 (entailment)
5
SNLI-train
AGCI-WK
AGCI
A young girls with a short red dress makes a phone call while holding a bright blue bag .
A person takes out the phone .
1 (neutral)
4
SNLI-train
AGCI-WK
AGCI
A person in a blue sweatshirt replaces letters in a theater marquee using a long pole .
A reception is held in the marquee .
1 (neutral)
2
SNLI-dev
AGCI-WK
AGCI
A man stands in front of a street vending booth with his hands crossed awkwardly in front of him while two yellow taxis are seen in the background of the cityscape .
The taxis are strapped to a roof .
2 (contradiction)
1
SNLI-train
AGCI-WK
AGCI
A young man is cleaning caulk from a tiled wall .
The caulk is a sealant .
0 (entailment)
5
SNLI-train
AGCI-WK
AGCI
A female runner is in front of people dressed up as Spartans warriors and people wearing togas .
A person switches to the togas .
1 (neutral)
3
SNLI-train
AGCI-WK
AGCI
People walking though an architectural design.
A person plays with the design .
1 (neutral)
3
SNLI-train
AGCI-WK
AGCI
Two teenage girls conversing next to lockers .
A diamond has to be transported in the lockers .
1 (neutral)
2
SNLI-test
AGCI-WK
AGCI
I knocked on my neighbor's door.
My neighbor invited me in.
1 (neutral)
4
COPA-premise
COPA-effect
COPA
A cricket player is bowling the ball as the batsman is getting ready to run .
The batsman gets a wish .
1 (neutral)
2
SNLI-train
AGCI-WK
AGCI
Eleven green and black uniformed boys sitting in a circle in one part of a gym with a man in the middle .
A person helps the eleven .
1 (neutral)
3
SNLI-train
AGCI-WK
AGCI
I was not sure where to hang my new picture so I called for help
A government requests the help .
2 (contradiction)
1
ROCStories
AGCI-WK
AGCI
Four military servicemen in a boat are attempting to attach a stairway to a larger vessel next to them .
The servicemen die an overnight .
1 (neutral)
2
SNLI-train
AGCI-WK
AGCI
Male tennis player with tattoo on left arm in position to hit the ball with onlooker sitting down .
A person tries to do the position .
1 (neutral)
2
SNLI-train
AGCI-WK
AGCI
A man tests an instrument using his ears and hands .
A person plays the instrument .
1 (neutral)
4
SNLI-train
AGCI-WK
AGCI
Someone grinding stones with a pestle.
The pestle disrupts a deal .
2 (contradiction)
1
SNLI-train
AGCI-WK
AGCI
three young boys playing hear no evil, speak no evil, see no evil
a large group of people are gathering .
1 (neutral)
3
SNLI-train
AGCI-NN
AGCI
A large class of graduates wearing robes and mortarboards is waiting for their diplomas.
The mortarboards fall off .
1 (neutral)
3
SNLI-train
AGCI-WK
AGCI
A group of women converse with one another as they work in a rice paddy.
a group of women talking
1 (neutral)
4
SNLI-train
AGCI-NN
AGCI
A woman took her dog the park to play fetch
The woman tells police .
1 (neutral)
2
ROCStories
AGCI-WK
AGCI
My friend asked if he can have a chip
Since the chips were spicy, he ended up sweating.
1 (neutral)
3
ROCStories-1st
ROCStories-3rd
ROC
A hiker standing high on a bluff overlooking the mountains below .
The bluff is confirmed .
2 (contradiction)
1
SNLI-train
AGCI-WK
AGCI
Overlooking a street with a sign above shops that states Welcome To Golden.
The shop sign is laying on the sidewalk.
2 (contradiction)
1
SNLI-train
SNLI-CONTRADICTION
SNLI
A firefighter climbs up a ladder towards flames while surrounded by smoke .
The flames are separated from a torch .
1 (neutral)
2
SNLI-test
AGCI-WK
AGCI
A woman in a black shirt and apron is busy weighing fish on a scale at a fish market , with a variety of fish meats on display in front of her .
A company offers the variety .
1 (neutral)
3
SNLI-train
AGCI-WK
AGCI
Five people standing on a stage , getting ready to perform , who are unrecognizable due to the lack of lighting .
A person underscores the lack .
1 (neutral)
2
SNLI-test
AGCI-WK
AGCI
A large crowd of people trying to get something .
The crowd erupts .
1 (neutral)
3
SNLI-train
AGCI-WK
AGCI
Two opposing hockey players make a play for the puck with opposing fans and team members watching .
Police defuse the fans .
1 (neutral)
2
SNLI-train
AGCI-WK
AGCI
A young man with a jacket over his head contemplating his strategy before his event begins .
The strategy is a plan of action .
0 (entailment)
5
SNLI-train
AGCI-WK
AGCI
Ben did n't like art and his wife knew how much he hated it
A site has the art .
1 (neutral)
3
ROCStories
AGCI-WK
AGCI
A young man , wearing a T-shirt that says Joplin , plays the guitar in front of a large amplifier .
The amplifier includes brakes .
2 (contradiction)
1
SNLI-test
AGCI-WK
AGCI
A mother tries to console her smallest child after a visit to a medical facility for his immunizations .
A person provides the immunizations .
1 (neutral)
4
SNLI-train
AGCI-WK
AGCI
A boy and a girl stand in a median amongst Mike Huckabee signs .
The median is an average .
2 (contradiction)
1
SNLI-test
AGCI-WK
AGCI
Alex realized he needed to do laundry when he had no clean clothes
He also noticed that there was a huge puddle under the washer.
1 (neutral)
3
ROCStories-1st
ROCStories-3rd
ROC
I do surveys online to make extra cash
The cash is a currency .
0 (entailment)
5
ROCStories
AGCI-WK
AGCI
A man wearing a pirate hat and eyepatch smiles at the camera .
A person wears the eyepatch .
0 (entailment)
5
SNLI-train
AGCI-WK
AGCI
A group of people are listening to a man with a moustache speak into a microphone .
The moustache is a facial hair .
0 (entailment)
5
SNLI-train
AGCI-WK
AGCI
A black woman balancing a large platter on her head that has many bagged items on it .
The platter contains one .
1 (neutral)
2
SNLI-dev
AGCI-WK
AGCI
USA basketball player dribbling to the basket protecting the ball from the opposition .
The opposition is an action .
2 (contradiction)
1
SNLI-train
AGCI-WK
AGCI
A female employee of a movie theater on a ladder placing letters to display the showing for that evening .
The showing is held .
0 (entailment)
5
SNLI-train
AGCI-WK
AGCI
Oklahoma University's Sooners football team playing against a rival.
Their is a football game going on.
0 (entailment)
5
SNLI-train
SNLI-ENTAILMENT
SNLI
End of preview (truncated to 100 rows)

Overview

Original dataset available here. This dataset is the "full" JOCI dataset, which is the file named joci.csv.zip.

Dataset curation

The following processing is applied,

  • label column renamed to original_label
  • creation of the label column using the following mapping, using common practices (1, 2)
{
    0: "contradiction", 
    1: "contradiction",  
    2: "neutral",
    3: "neutral",
    4: "neutral",
    5: "entailment",
}
  • finally, converting this to the usual NLI classes, that is {"entailment": 0, "neutral": 1, "contradiction": 2}

Code to create dataset

import pandas as pd
from datasets import Features, Value, ClassLabel, Dataset


# read data
df = pd.read_csv("<path to folder>/joci.csv")

# column name to lower
df.columns = df.columns.str.lower()

# rename label column
df = df.rename(columns={"label": "original_label"})

# encode labels
df["label"] = df["original_label"].map({
    0: "contradiction", 
    1: "contradiction",  
    2: "neutral",
    3: "neutral",
    4: "neutral",
    5: "entailment",
})

# encode labels
df["label"] = df["label"].map({"entailment": 0, "neutral": 1, "contradiction": 2})

# cast to dataset
features = Features({
    "context": Value(dtype="string"),
    "hypothesis": Value(dtype="string"),
    "label": ClassLabel(num_classes=3, names=["entailment", "neutral", "contradiction"]),
    "original_label": Value(dtype="int32"),
    "context_from": Value(dtype="string"),
    "hypothesis_from": Value(dtype="string"),
    "subset": Value(dtype="string"),
})
ds = Dataset.from_pandas(df, features=features)
ds.push_to_hub("joci", token="<token>")