utterance
stringlengths
2
136
label
int64
0
149
can i make a reservation for redrobin
0
is it possible to make a reservation at redrobin
0
does redrobin take reservations
0
are reservations taken at redrobin
0
does redrobin do reservations
0
can acero take reservation
0
can you make reservations at hodak's
0
tell me if per se in nyc takes reservations
0
tell me if the cheshire takes reservations
0
will qdoba take reservations
0
does burger king accept reservations
0
does gramercy tavern in new york accept reservations
0
does acero in maplewood allow reservations
0
does cielo take reservations
0
find out if la tour d'argent in paris takes reservations
0
does tony's in downton let you make reservations
0
does gramercy tavern accept reservations
0
does mcdonalds take reservations
0
can you make reservations at steak 'n' shake
0
will nobu take reservations
0
do they take reservations at carrabbas
0
do they take reservations at applebees
0
do they take reservations at olive garden
0
do they take reservations at buffalo wild wings
0
do they take reservations at outback steakhouse
0
i need to know if angelos takes reservations
0
does applebees in trenton do reservations
0
does luigi's take reservations
0
please find out if napolis takes lunch reservations
0
does hannahs in galloway take reservations
0
does stanleys take brunch reservations
0
tell me if luigis in brick takes reservations
0
i need to know if capones does reservations in trenton
0
does marios in brooklyn take reservations
0
do you know if bottlenecks takes dinner reservations
0
do you know if whether or not zeus does reservations
0
can you let me if zeus accepts reservations
0
i need to find out do you know if zeus does reservations
0
please tell me does zeus do reservations
0
can you tell me if zeus does reservations
0
can i get a reservation at melting pot tomorrow
0
what locations of applebee's take reservations
0
can i get a reservation at champs
0
where can i find jimmy john's reservations
0
how many culver's take reservations
0
is there evening reservations available in the eve
0
do you know if bahama breeze does reservations
0
do you know if ruth chris does reservations
0
do you know if cheese cake factory does reservations
0
do you know if benihana does reservations
0
do you know if olive garden does reservations
0
does the steakhouse on main st take reservations
0
does sidetracks take reservations
0
are reservations allowed at burger king
0
does black rock take reservations
0
can i make reservations at applebee's or no
0
does buffalo wild wings do reservations
0
does minnies cafe in modesto take reservations
0
does bjs take reservations
0
will they take reservations at chillis
0
does pho king in ceres take reservations
0
can applebees take any reservations
0
does arbys in lakewood take reservations
0
does minnis take reservations
0
do they take reservations at bjs
0
does buffalo wild wings take reservations
0
does buffalo wild wings in concord take reservations
0
will they take reservations at torris
0
does black bear diner in tracy take reservations
0
does chillis take reservations
0
do they take reservations at bar tartine
0
do they take reservations at mcdonalds
0
do they take reservations at the progress
0
does tartine in san francisco take reservations
0
does cowgirl creamery in san francisco take reservations
0
do they take reservations at state bird
0
does nopa in san francisco take reservations
0
does bar tartine in san francisco take reservations
0
do they take reservations at arby's
0
does pizzeria delfina in san francisco take reservations
0
does iron skillet at the truck stop trake reservations
0
does the zen garden in la take reservations
0
does moes in la except rerservations
0
does ruby tuesday accept reservations
0
can i make a reservation at chevy's
0
is it possible to make reservations in advance for macaroni grill
0
is it possible to make reservations with famous dave's restaurant
0
is it possible to make reservations at chili's
0
does chili's take reservations
0
can you tell me if ruby tuesday does reservations
0
does olive garden take reservations
0
do you know whether ihop does reservations
0
does michael's accept reservations
0
do they accept reservations at michael's
0
can you make a reservation at michael's
0
can i make a reservation at michael's
0
does the restaurant michael's take reservations
0
do they take reservations at mendy's
0
do you know if outback allows reservations
0
do they take reservations at red robin
0

clinc150

This is a text classification dataset. It is intended for machine learning research and experimentation.

This dataset is obtained via formatting another publicly available data to be compatible with our AutoIntent Library.

Usage

It is intended to be used with our AutoIntent Library:

from autointent import Dataset

clinc150 = Dataset.from_datasets("AutoIntent/clinc150")

Source

This dataset is taken from cmaldona/All-Generalization-OOD-CLINC150 and formatted with our AutoIntent Library:

# define util
from datasets import load_dataset
from autointent import Dataset


def convert_clinc150(clinc150_train, shots_per_intent, oos_intent_name="ood"):
    intent_names = sorted(clinc150_train.unique("labels"))
    oos_intent_id = intent_names.index(oos_intent_name)
    intent_names = intent_names[:oos_intent_id] + intent_names[oos_intent_id + 1 :]
    n_classes = len(intent_names)
    assert n_classes == 150
    name_to_id = dict(zip(intent_names, range(n_classes), strict=False))

    oos_utterances = []
    classwise_utterance_records = [[] for _ in range(n_classes)]
    intents = [
        {
            "id": i,
            "name": name,
        }
        for name, i in name_to_id.items()
    ]

    for batch in clinc150_train.iter(batch_size=16, drop_last_batch=False):
        for txt, name in zip(batch["data"], batch["labels"], strict=False):
            if name == oos_intent_name:
                oos_utterances.append({"utterance": txt})
                continue
            intent_id = name_to_id[name]
            target_list = classwise_utterance_records[intent_id]
            if shots_per_intent is not None and len(target_list) >= shots_per_intent:
                continue
            target_list.append({"utterance": txt, "label": intent_id})

    train_utterances = [rec for lst in classwise_utterance_records for rec in lst]

    return Dataset.from_dict({"intents": intents, "train": train_utterances + oos_utterances})

# load and format
clinc150 = load_dataset("cmaldona/All-Generalization-OOD-CLINC150")
clinc150_converted = convert_clinc150(clinc150["train"], shots_per_intent=None)
Downloads last month
53