Datasets:

Modalities:
Text
Formats:
csv
Languages:
Chinese
ArXiv:
Libraries:
Datasets
pandas
License:
ocnli / README.md
Fred666's picture
Update README.md
baca2e7
metadata
license: gpl-3.0
task_categories:
  - text-classification
language:
  - zh
size_categories:
  - 10K<n<100K

This dataset is copied from CLUE with certain modifications. The paper of CLUE is OCNLI.

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.