Datasets:

Modalities:
Text
Formats:
csv
Languages:
Chinese
ArXiv:
Libraries:
Datasets
pandas
License:
File size: 710 Bytes
b9c8178
 
7edead1
 
 
 
 
baca2e7
b9c8178
7edead1
 
 
 
 
 
 
 
 
2d6f313
7edead1
 
2d6f313
baca2e7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
license: gpl-3.0
task_categories:
- text-classification
language:
- zh
size_categories:
- 10K<n<100K
---

This dataset is copied from [CLUE](https://github.com/CLUEbenchmark/OCNLI/tree/main/data/ocnli) with certain modifications.
The paper of CLUE is [OCNLI](https://arxiv.org/abs/2010.05444).

The modifications are:
1. Transform json file to csv file.
2. Encoding in UTF-8.
3. Remove data entries whose label value is '-'.
4. Replace label values, 'neutral' to 1, 'entailment' to 0, and 'contradiction' to 2.
5. Add one column 'sentence1', whose value is '前提:' + premise value + '结论:' + hypothsis value.

ocnli_train_std.csv comes from train.50k.json.

ocnli_test_std.csv comes from dev.json.