File size: 2,325 Bytes
e803602
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c4ee829
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
dataset_info:
  features:
  - name: premise
    dtype: string
  - name: hypothesis
    dtype: string
  - name: instruction
    dtype: string
  - name: label_name
    dtype: string
  splits:
  - name: train
    num_bytes: 254483428
    num_examples: 785404
  - name: test
    num_bytes: 6297986
    num_examples: 19630
  download_size: 54354034
  dataset_size: 260781414
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
  - split: test
    path: data/test-*
---
# Dataset Card for "mnli-contrast"
This dataset is the [mnli-3way](https://huggingface.co/datasets/AntoineBlanot/mnli-3way) dataset with an additional `instruction` feature.
This new feature along with its related `label_name` expresses how the `premise` and `hypothesis` features are related in the original dataset.

The following explains how the mapping is done:

### If the original example was of class `entailment`
Two data points will be related to that example.

One is the positive example (i.e., `label_name` == "positive") which assign to it the folowing instruction: "The meaning of the hypothesis is logically inferred from the meaning of the premise."
The other is the negative example (i.e., `label_name` == "negative") which assign to it the folowing instruction: "The meaning of the hypothesis either contradicts the meaning of the premise, is unrelated to it, or does not provide sufficient information to infer the meaning of the premise."

### If the original example was of class `contradiction` or `neutral`
Two data points will be related to that example.

One is the positive example (i.e., `label_name` == "positive") which assign to it the folowing instruction: "The meaning of the hypothesis either contradicts the meaning of the premise, is unrelated to it, or does not provide sufficient information to infer the meaning of the premise."
The other is the negative example (i.e., `label_name` == "negative") which assign to it the folowing instruction: "The meaning of the hypothesis is logically inferred from the meaning of the premise."

This dataset is double the size of this original dataset because each is related to a positive and negative instruction.

[More Information needed](https://github.com/huggingface/datasets/blob/main/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)