Dataset Preview Go to dataset viewer
premise (string)hypothesis (string)label (class label)
He was born in Illinois, but moved to Oklahoma in 1949.
He was born in Illinois.
0 (entailment)
Season eight of "South Park", an American animated television series created by Trey Parker and Matt Stone, began airing on March 17, 2004.
Season eight of "South Park", an American animated television series created by Trey Parker and Thom Yorke, began airing on March 17, 2004.
2 (contradiction)
Throughout history the cooked fruit has been used as food, but the tree is also grown for its attractive pale pink blossoms and other ornamental qualities.
Throughout history the cooked fruit has been used as food.
0 (entailment)
The Ezhou - Huanggang built - up " " area was home to 1,035,496 inhabitants from the Echeng and Huangzhou, Huanggang Districts.
The Ezhou - Huanggang built-up ("or metro") area was home to 1,035,496 inhabitants from the Echeng and Huangzhou, Huanggang Districts.
1 (neutral)
A mother's boyfriend is a man whose girlfriend has a son or daughter from a previous marriage or relationship.
A mother's boyfriend is a man whose girlfriend has a girl or daughter from a previous marriage or relationship.
1 (neutral)
It is the only intermediate station along the Kowloon Southern Link project, built to connect the West Rail Line and East Rail Line.
It is the only intermediate station along the Kowloon Southern Link project, built to connect East Rail Line.
0 (entailment)
Among the 128 Division I-A teams, Nebraska is one of ten football programs to win 800 or more games.
Among the 128 Division I - A teams, Nebraska is one of ten football programs to win 800 games.
0 (entailment)
Each German Army also had an " Armeeoberkommando ", Army Command.
Each German Army also had an "Armeeoberkommando", Army Command, or AOK.
1 (neutral)
The house was set up to allow women to learn the trade of printing, and provided an apprenticeship program.
The house was set up to allow women to learn the trade of printing.
0 (entailment)
Vesnina was scheduled to partner with Marina Erakovic, but Erakovic withdrew before the first round for personal reasons.
Vesnina was scheduled to partner with Wulsin, but Erakovic withdrew before the first round for personal reasons.
2 (contradiction)
Among the top majors declared by JU students are aviation management, biology, nursing, business and marine science.
Among the top majors declared by JU students are aviation management, biology, nursing, business science.
0 (entailment)
It was released on April 7, 2017, and is the first album not to feature either longtime drummer Kurt Dahle or singer-songwriter Dan Bejar.
It was released on April 7, 2017, and is the first album not to feature either longtime drummer Kurt Dahle - songwriter Dan Bejar.
0 (entailment)
For that common play - together music pieces of the classic period are specially adapted new composed.
For that common play-together music pieces of the classic period are specially adapted or also new composed.
1 (neutral)
Richard Willis Hawley (born 17 January 1967) is an English guitarist, singer-songwriter and producer.
Richard Willis Hawley born 17 January 1967 is an English guitarist, singer - songwriter.
0 (entailment)
Trade unions may be formed with more members, although those in military service or in management positions may not form unions.
Trade unions may be formed with seven or more members, although those in military service or in management positions may not form unions.
1 (neutral)
It started as a football club, which was founded on 5 June 1905.
It started as a football club, which was founded on 5 June 1905, but later the sport handball became a part of the club.
1 (neutral)
The action takes place over the course of one night as they discuss their loving but often volatile past together and possible future without each other.
The action takes place over the course of one night as they discuss their often volatile past together and possible future without each other.
0 (entailment)
The United States was still war weary from the disruptive World War II campaign.
The United States was still war weary from the disruptive World War II campaign and refused South Korea's request for weapons and troops.
1 (neutral)
Visitors see depictions of buffalo hunters, Comanche warriors, explorers, in the theatre called the " Century of Adventure ", 1780 - 1880.
Visitors see depictions of buffalo hunters, Comanche warriors, explorers, and pioneers in the theatre called the "Century of Adventure", 1780-1880.
1 (neutral)
They are all kindergarten through sixth grade and located within the city of Burbank.
They are all kindergarten through sixth grade and located within the city of Mount Panorama.
2 (contradiction)
It was originally worn by the upper class as a daily hat, but spread to commoners and women in the later period.
It was originally worn by the upper class as a daily hat.
0 (entailment)
Trade unions may be formed with seven or more members, although those in military service or in management positions may not form unions.
Trade unions may be formed with two or more members, although those in military service or in management positions may not form unions.
1 (neutral)
It was also locally known as " Dark Cream Common Beer " Dark Cream Common Beer ", " Cream Beer " or " Common Beer ".
It was also locally known as "Dark Cream Common Beer", "Cream Beer" or "Common Beer".
1 (neutral)
He uses the stage name "Li Ming" or "Lai Ming" which literally means "dawn."
He uses the stage name " Li Ming " which literally means " dawn. "
0 (entailment)
Joakim Nyström was the defending champion, but did not participate this year.
Joakim Nyström did not participate this year.
0 (entailment)
Sometimes the junction name also refers to the surrounding community or area as well as just the highway junction itself.
Sometimes the junction name also refers to the surrounding community as well as just the highway junction itself.
0 (entailment)
These talks took place in 1974, but this is the first English translation.
These talks took place in 1975, but this is the first English translation.
2 (contradiction)
The DVDs were first released as single films but most later releases would be double features on single double-sided discs.
The DVDs were 100th released as single films but most later releases would be double features on single double-sided discs.
2 (contradiction)
The river breaks into three forks, the North, South Forks, of which the Middle Fork is considered the main stem.
The river breaks into three forks, the North, Middle and South Forks, of which the Middle Fork is considered the main stem.
1 (neutral)
Arrangement deals with issues of how to best organize an argument in order to attain the writer ’s goals.
Arrangement deals with issues of how to best organize an argument in order to attain the speaker or writer’s goals.
1 (neutral)
Sligo entered the All-Ireland Qualifiers but soon exited, with a tame 0-13 - 0-04 defeat by Kildare in their next game.
Sligo entered the All - Ireland Qualifiers.
0 (entailment)
Diamanten ("The Diamond") or Oksenøyveien 3 is an office building located at Fornebu in Bærum, Norway.
Diamanten " The Diamond " is an office building located at Fornebu in Bærum, Norway.
0 (entailment)
The first two seasons for each country were broadly similar.
The first two seasons for each country were broadly similar, but thereafter diverged.
1 (neutral)
Indeed, over half of all LACCD students are older than 25 years of age, and more than a quarter are 35 or older.
Indeed, over half of all LACCD students are older than 25 years of age, and more than a quarter are 35.
0 (entailment)
... there ’s just no way ’cause it ’s too weird. "
(...) It’s the one that everybody likes, but there’s just no way ’cause it’s too weird."
1 (neutral)
Taijutsu is similar to Karate.
Taijutsu is similar to Karate but is more focused on the body techniques.
1 (neutral)
Groups are usually described as indigenous when they maintain traditions or other aspects of an early culture that is associated with a given region.
Groups are usually described as indigenous when they maintain traditions.
0 (entailment)
Three more episodes were filmed after the original cast abandoned the series, bringing the total number of episodes to 11 but it was cancelled in April 2005.
Three more episodes were filmed after the original cast abandoned the series, bringing the total number of episodes to 11.
2 (contradiction)
Within Cinemark, he has held the positions of Chairman, Vice Chairman, Executive Director, and Director at one of the Cinemark subsidiaries.
Within Cinemark, he has held the positions of Chairman, Vice Chairman, Executive Director, and Director at one or more of the Cinemark subsidiaries.
1 (neutral)
Cypress is a conifer shrub of northern temperate regions that belongs to the family Cupressaceae.
Cypress is a conifer tree or shrub of northern temperate regions that belongs to the family Cupressaceae.
1 (neutral)
The series portrays her as a scheming and secretive but caring woman who develops into a formidable antagonist as her agenda against Serena van der Woodsen progressed.
The series portrays her as a scheming and secretive woman who develops into a formidable antagonist as her agenda against Serena van der Woodsen progressed.
0 (entailment)
The rules of the BIS prohibited members from formally discussing political or religious questions, but the Society occasionally took a public political stand.
the Society occasionally took a public political stand.
0 (entailment)
The Sycaway branch has been closed permanently since 2011.
The Sycaway branch was also temporarily closed in January 2009 but has been closed permanently since 2011.
1 (neutral)
Trimark later released a sequel, "A Kid in Aladdin's Palace", in 1998, but without Disney's involvement.
Trimark later released a sequel, "A Kid in Aladdin's Palace", in 1999, but without Disney's involvement.
2 (contradiction)
On 9 September 1513 he fought in the Battle of Flodden and was knighted by the Earl of Surrey, Thomas Howard.
On 9 September 1513 he was knighted by the Earl of Surrey, Thomas Howard.
0 (entailment)
Canadian naming conventions vary based on whether one is Aboriginal Canadian, English Canadian.
Canadian naming conventions vary based on whether one is Aboriginal Canadian, English Canadian or French Canadian.
1 (neutral)
A try square is a woodworking or a metalworking tool used for marking and measuring a piece of wood.
A try square is a metalworking tool used for marking and measuring a piece of wood.
0 (entailment)
They recorded two albums and ultimately disbanded.
They recorded two albums and toured the country in support but ultimately disbanded.
1 (neutral)
Little Zizou is an 2008 Indian film in Hindi, Gujarati,, written and directed by Sooni Taraporevala.
Little Zizou is an 2008 Indian film in Hindi, Gujarati, and English, written and directed by Sooni Taraporevala.
1 (neutral)
Alphonse " Funzi " Sisca Born in 1946 is the head of the Gambino crime family New Jersey crew.
Alphonse "Funzi" Sisca (Born in 1942 or 1946) is the head of the Gambino crime family New Jersey crew.
1 (neutral)
Montana is one of the least successful states in Miss USA history.
Montana is one of the least successful states in Miss USA history, but there has been success in other pageants.
1 (neutral)
They are not slugs but are a kind of sawfly of the family Tenthredinidae.
They are a kind of sawfly of the family Tenthredinidae.
0 (entailment)
They were " Olympic " 1911, " Titanic " 1912, Olympic " 1911, " Titanic " 1912, and " Britannic " 1915.
They were "Olympic" (1911), "Titanic" (1912), and "Britannic" (1915).
1 (neutral)
Most of the species are native to tropical, subtropical, and warm temperate areas of the Americas.
Most of the species are native to tropical, subtropical, and warm temperate areas of the Americas, but some are found elsewhere.
1 (neutral)
Goes the Bell " was was cut from the final release.
Goes the Bell)" was recorded for the album but was cut from the final release.
1 (neutral)
Groseclose named the organization the Future Farmers of Virginia.
Groseclose named the organization the Future Farmers of Virginia, or FFV for short.
1 (neutral)
They are known to live up to 12 years in the wild, longer if captive, but are threatened due to over-hunting and habitat loss.
They are known to are threatened due to over - hunting and habitat loss.
0 (entailment)
The concept of The Cactus Club was created by Sean Galvin and Mike Trippett.
The concept of The Cactus Club was created by Sean Mike Trippett.
0 (entailment)
Notable examples of this would be the US version " The Office " and the British show The Thick of it
Notable examples of this would be the US version "The Office" or "Parks and Recreation" and the British show The Thick of it
1 (neutral)
Two weeks later she represented her state in the Miss USA 1972 pageant, held in Dorado, Puerto Rico and won the Miss USA title.
Two weeks later she represented her state in the Miss USA 1972 pageant, held in Dorado, Switzerland and won the Miss USA title.
2 (contradiction)
Hein van Aken, also called Hendrik van Aken, was the parish priest in Korbeek - Lo, between Leuven and Brussels.
Hein van Aken, also called Hendrik van Aken or van Haken, was the parish priest in Korbeek-Lo, between Leuven and Brussels.
1 (neutral)
Mirza Mohammad Afzal Bég was a Kashmiri politician and lieutenant of the late Chief Minister of Jammu and Kashmir, Sheikh Abdullah.
Mirza Mohammad Afzal Bég was a Kashmiri politician of the late Chief Minister of Jammu and Kashmir, Sheikh Abdullah.
0 (entailment)
Time Inc. also co-operates over 60 websites and digital-only titles including "MyRecipes", "TheSnug", HelloGiggles, and "MIMI".
Time Inc. also co - operates over 60 digital - only titles including " MyRecipes ", " TheSnug ", HelloGiggles, and " MIMI ".
0 (entailment)
He was re - elected at the 1944 general election.
He lost his seat at the 1943 general election but was re-elected at the 1944 general election.
1 (neutral)
They also lost in the first round to Middlesbrough.
They also competed in the FA Cup, but lost in the first round to Middlesbrough.
1 (neutral)
new segments from season 5 are being released monthly on YouTube.
Season 5 is in production for a 2017 television release, but new segments from season 5 are being released monthly on YouTube.
1 (neutral)
Immortal Gentleman is a 1935 British historical drama film directed by Widgey R. Newman and starring Basil Gill, Rosalinde Fuller and Dennis Hoey.
Immortal Gentleman is a 1935 British historical drama film directed by Widgey R. Newman.
0 (entailment)
It served as a ticket office and waiting room for the Humber Ferry.
It was not rail connected, but served as a ticket office and waiting room for the Humber Ferry.
1 (neutral)
The embedded chip and antenna enable consumers to wave their card, fob, over a reader at the point of sale terminal.
The embedded chip and antenna enable consumers to wave their card, fob, or handheld device over a reader at the point of sale terminal.
1 (neutral)
Iron Horse sold racing bikes and mountain bikes, but mainly downhill, freeride, and all mountain.
Iron Horse sold racing bikes and mountain bikes.
0 (entailment)
The flowers are usually white or pale blue, but numerous cultivars have been developed for garden use, in a range of colours.
The flowers are usually brown or pale blue, but numerous cultivars have been developed for garden use, in a range of colours.
1 (neutral)
Collections of seeds stored at constant low temperature and moisture guard against loss of genetic resources that are otherwise maintained in situ.
Collections of seeds stored at constant low temperature and moisture guard against loss of genetic resources that are otherwise maintained in situ or in field collections.
1 (neutral)
It is rooted in the Irish legend of Medb, one of the main protagonists of the early Irish legend " Táin Bó Cúailnge ".
It is rooted in the Irish legend of Queen Maeve or Medb, one of the main protagonists of the early Irish legend "Táin Bó Cúailnge".
1 (neutral)
The album was gold in Australia.
The album was certified silver in the UK, and gold in Australia.
1 (neutral)
Very little is known of his history before he arrived in Central Africa but he died in London during the First World War.
Very little is known of his history before he arrived in Central Africa but he died in Georgia during the First World War.
2 (contradiction)
The record includes the singles " Girls Are More Fun " Girls Are More Fun " and " One Sided Love Affair ".
The record includes the singles "Girls Are More Fun" and "One Sided Love Affair".
1 (neutral)
Windows NT 4.0 is a preemptively multitasked graphical operating system, designed to work with either uniprocessor or symmetric multi-processor computers.
Windows NT 4.0 is a preemptively multitasked graphical operating system, designed to work with either uniprocessor multi - processor computers.
0 (entailment)
Daniel Flynn is an English actor born in 1961 in Evesham, Worcestershire but moved to Bromley, Kent as a baby.
Daniel Flynn is an English actor moved to Bromley, Kent as a baby.
0 (entailment)
She debuted in 2002 as a member of South Korean R&B duo Isak N Jiyeon and disbanded in 2004.
She debuted in 2002 as a member of South Korean R&B duo Isak N Jiyeon.
0 (entailment)
Softer, Softest is a song by American alternative rock band Hole, written by frontwoman Courtney Love and lead guitarist Eric Erlandson.
Softer, Softest is a song by American alternative rock band Hole, written by frontwoman Courtney Love.
0 (entailment)
It aired on KBS2 from December 9, 2013 to February 4, 2014 on Mondays and Tuesdays at 22:00 for 17 episodes.
It aired on KBS2 from December 9, 2013 to February 4, 2014 on Tuesdays at 22:00 for 17 episodes.
0 (entailment)
It published full - length, original non - fiction books, often concerning military topics.
It published full-length, original non-fiction books, often concerning military or political topics.
1 (neutral)
Stenocarpus is a genus of about 25 species known to science, of woody trees, constituting part of the plant family Proteaceae.
Stenocarpus is a genus of about 25 species known to science, of woody trees or shrubs, constituting part of the plant family Proteaceae.
1 (neutral)
At the time of " No One Is Innocent " Biggs was living in Brazil, immune from extradition.
At the time of "No One Is Innocent" Biggs was living in Brazil, still wanted by the British authorities, but immune from extradition.
1 (neutral)
The Fairy Queen or Queen of the Fairies was a figure from folklore who was believed to rule the fairies.
The Fairy Queen was a figure from folklore who was believed to rule the fairies.
0 (entailment)
In some states public urination, unlawful imprisonment of a minor also constitute sexual offenses requiring registration.
In some states public urination, having sex on a beach, or unlawful imprisonment of a minor also constitute sexual offenses requiring registration.
1 (neutral)
The canal has also been known as the Metairie Outlet Canal and the Upperline Canal.
The canal has also been known as the Cyprus and the Upperline Canal.
2 (contradiction)
The Stockmann logo represents a set of escalators, which are commonly, but wrongly believed represent the first escalators in Finland.
The Stockmann logo represents a set of escalators, which wrongly believed represent the first escalators in Finland.
0 (entailment)
It was eventually not included.
It was originally intended as the lead single from the group's upcoming "Voulez-Vous" album, but was eventually not included.
2 (contradiction)
The first edition of the festival was held at Butlins Holiday Camp, Minehead, England.
The first edition of the festival was held at Butlins Holiday Camp, Minehead, England but the festival relocated to its current location in 2008.
1 (neutral)
Marvel began jointly publishing " Disney / Pixar Presents " magazine in May 2011 but did not revive the Disney Comics imprint as Boom !
Marvel and Disney Publishing began jointly publishing "Disney/Pixar Presents" magazine in May 2011 but did not revive the Disney Comics imprint as Boom!
1 (neutral)
He describes himself as an agnostic and a "conservative socialist."
He describes himself as an agnostic. "
0 (entailment)
He was billed as the brother of Fritz Von Erich, but was not related to Fritz or the rest of the Von Erich family.
He was billed as the brother of Fritz Von Erich, but was not related to Štěpánek or the rest of the Von Erich family.
2 (contradiction)
Wilson placed second runner-up in the Miss Nevada pageant in 1969 and also competed in 1970.
Wilson placed second runner - up in the Miss Nevada pageant in 1960 and also competed in 1970.
2 (contradiction)
Jana Novotná and Mary Pierce were the defending champions, but Novotná retired from professional tennis in 1999 and Pierce did not compete at the tournament.
Jana Novotná and Mary Pierce were the defending champions, but Novotná retired from professional tennis in 1990 and Pierce did not compete at the tournament.
2 (contradiction)
In contrast, a major scale and a minor scale that have the same key signature (and therefore different tonics) are called relative keys.
In contrast, a minor scale that have the same key signature and therefore different tonics are called relative keys.
0 (entailment)
She began her career performing the harp at private functions, celebrity events for Jerry Bruckheimer and his wife, Linda.
She began her career performing the harp at private functions, weddings and celebrity events for Jerry Bruckheimer and his wife, Linda.
1 (neutral)
Horizons of Rock Developing Everywhere was a touring summer rock music festival originated by the musical group Blues Traveler in 1992.
Horizons of Rock Developing Everywhere or H.O.R.D.E. Festival was a touring summer rock music festival originated by the musical group Blues Traveler in 1992.
1 (neutral)
Some aircraft that did escape served with the Allies.
Some aircraft that did escape served with the Allies or Free French forces, who also used many other types of allied aircraft.
1 (neutral)
It is located in the eastern Paris suburb of Clichy-sous-Bois, where many locals are first- or second-generation Muslim immigrants from former French colonies.
It is located in the eastern Paris suburb of Clichy - sous - Bois, where many locals are first- - generation Muslim immigrants from former French colonies.
0 (entailment)
End of preview (truncated to 100 rows)

Overview

The original dataset can be found here. It has been proposed in ConjNLI: Natural Language Inference Over Conjunctive Sentences.

This dataset is a stress test for natural language inference over conjunctive sentences, where the premise differs from the hypothesis by conjuncts removed, added, or replaced.

Dataset curation

The label mapping is the usual {"entailment": 0, "neutral": 1, "contradiction": 2} used in NLI datasets. Note that labels for test split are not available. Also, the train split is originally named adversarial_train_15k.

There are 2 instances (join on "premise", "hypothesis", "label") present both in train and dev.

The test split does not have labels.

Finally, in the train set there are a few instances without a label, they are removed.

Code to create the dataset

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

# download data from repo https://github.com/swarnaHub/ConjNLI
paths = {
    "train": "<path_to_folder>/ConjNLI-master/data/NLI/adversarial_train_15k.tsv",
    "dev": "<path_to_folder>/ConjNLI-master/data/NLI/conj_dev.tsv",
    "test": "<path_to_folder>/ConjNLI-master/data/NLI/conj_test.tsv",
}

dataset_splits = {}
for split, path in paths.items():

    # load data
    df = pd.read_csv(paths[split], sep="\t")

    # encode labels using the default mapping used by other nli datasets
    # i.e, entailment: 0, neutral: 1, contradiction: 2
    df.columns = df.columns.str.lower()

    if "test" in path:
        df["label"] = -1
    
    else:
        # remove empty labels
        df = df.loc[~df["label"].isna()]
        # encode labels
        df["label"] = df["label"].map({"entailment": 0, "neutral": 1, "contradiction": 2})

    # cast to dataset
    features = Features({
        "premise": Value(dtype="string", id=None),
        "hypothesis": Value(dtype="string", id=None),
        "label": ClassLabel(num_classes=3, names=["entailment", "neutral", "contradiction"]),
    })
    dataset = Dataset.from_pandas(df, features=features)
    dataset_splits[split] = dataset

conj_nli = DatasetDict(dataset_splits)
conj_nli.push_to_hub("pietrolesci/conj_nli", token="<token>")


# check overlap between splits
from itertools import combinations
for i, j in combinations(conj_nli.keys(), 2):
    print(
        f"{i} - {j}: ",
        pd.merge(
            conj_nli[i].to_pandas(), 
            conj_nli[j].to_pandas(), 
            on=["premise", "hypothesis", "label"], how="inner"
        ).shape[0],
    )
#> train - dev:  2
#> train - test:  0
#> dev - test:  0