metadata
language:
- en
license: apache-2.0
dataset_info:
- config_name: deu.rst.pcc.conllu
features:
- name: id
sequence: string
- name: form
sequence: string
- name: lemma
sequence: string
- name: upos
sequence: string
- name: xpos
sequence: string
- name: feats
sequence: string
- name: head
sequence: string
- name: deprel
sequence: string
- name: deps
sequence: string
- name: misc
sequence: string
- name: doc_id
dtype: string
- name: mwe
sequence: 'null'
splits:
- name: train
num_bytes: 3002196
num_examples: 1773
- name: validation
num_bytes: 354996
num_examples: 207
- name: test
num_bytes: 357461
num_examples: 213
download_size: 0
dataset_size: 3714653
- config_name: deu.rst.pcc.rels
features:
- name: doc
dtype: string
- name: unit1_toks
dtype: string
- name: unit2_toks
dtype: string
- name: unit1_txt
dtype: string
- name: unit2_txt
dtype: string
- name: s1_toks
dtype: string
- name: s2_toks
dtype: string
- name: unit1_sent
dtype: string
- name: unit2_sent
dtype: string
- name: dir
dtype: string
- name: orig_label
dtype: string
- name: label
dtype: string
splits:
- name: train
num_bytes: 1061634
num_examples: 2164
- name: validation
num_bytes: 120267
num_examples: 241
- name: test
num_bytes: 131921
num_examples: 260
download_size: 0
dataset_size: 1313822
- config_name: eng.dep.scidtb.conllu
features:
- name: id
sequence: string
- name: form
sequence: string
- name: lemma
sequence: string
- name: upos
sequence: string
- name: xpos
sequence: string
- name: feats
sequence: string
- name: head
sequence: string
- name: deprel
sequence: string
- name: deps
sequence: string
- name: misc
sequence: string
- name: doc_id
dtype: string
- name: mwe
sequence: string
splits:
- name: train
num_bytes: 5396222
num_examples: 2570
- name: validation
num_bytes: 1749607
num_examples: 815
- name: test
num_bytes: 1706155
num_examples: 817
download_size: 0
dataset_size: 8851984
- config_name: eng.dep.scidtb.rels
features:
- name: doc
dtype: string
- name: unit1_toks
dtype: string
- name: unit2_toks
dtype: string
- name: unit1_txt
dtype: string
- name: unit2_txt
dtype: string
- name: s1_toks
dtype: string
- name: s2_toks
dtype: string
- name: unit1_sent
dtype: string
- name: unit2_sent
dtype: string
- name: dir
dtype: string
- name: orig_label
dtype: string
- name: label
dtype: string
splits:
- name: train
num_bytes: 3463826
num_examples: 6060
- name: validation
num_bytes: 1125360
num_examples: 1933
- name: test
num_bytes: 1092953
num_examples: 1911
download_size: 0
dataset_size: 5682139
- config_name: eus.rst.ert.conllu
features:
- name: id
sequence: string
- name: form
sequence: string
- name: lemma
sequence: string
- name: upos
sequence: string
- name: xpos
sequence: string
- name: feats
sequence: string
- name: head
sequence: string
- name: deprel
sequence: string
- name: deps
sequence: string
- name: misc
sequence: string
- name: doc_id
dtype: string
- name: mwe
sequence: 'null'
splits:
- name: train
num_bytes: 2952101
num_examples: 1599
- name: validation
num_bytes: 693012
num_examples: 366
- name: test
num_bytes: 753179
num_examples: 415
download_size: 635612
dataset_size: 4398292
- config_name: eus.rst.ert.rels
features:
- name: doc
dtype: string
- name: unit1_toks
dtype: string
- name: unit2_toks
dtype: string
- name: unit1_txt
dtype: string
- name: unit2_txt
dtype: string
- name: s1_toks
dtype: string
- name: s2_toks
dtype: string
- name: unit1_sent
dtype: string
- name: unit2_sent
dtype: string
- name: dir
dtype: string
- name: orig_label
dtype: string
- name: label
dtype: string
splits:
- name: train
num_bytes: 1544724
num_examples: 2533
- name: validation
num_bytes: 367114
num_examples: 614
- name: test
num_bytes: 398853
num_examples: 678
download_size: 267097
dataset_size: 2310691
- config_name: ita.pdtb.luna.conllu
features:
- name: id
sequence: string
- name: form
sequence: string
- name: lemma
sequence: string
- name: upos
sequence: string
- name: xpos
sequence: string
- name: feats
sequence: string
- name: head
sequence: string
- name: deprel
sequence: string
- name: deps
sequence: string
- name: misc
sequence: string
- name: doc_id
dtype: string
- name: mwe
sequence: string
splits:
- name: train
num_bytes: 1884586
num_examples: 3721
- name: validation
num_bytes: 350547
num_examples: 775
- name: test
num_bytes: 706637
num_examples: 1315
download_size: 505505
dataset_size: 2941770
- config_name: ita.pdtb.luna.rels
features:
- name: doc
dtype: int64
- name: unit1_toks
dtype: string
- name: unit2_toks
dtype: string
- name: unit1_txt
dtype: string
- name: unit2_txt
dtype: string
- name: s1_toks
dtype: string
- name: s2_toks
dtype: string
- name: unit1_sent
dtype: string
- name: unit2_sent
dtype: string
- name: dir
dtype: string
- name: orig_label
dtype: string
- name: label
dtype: string
splits:
- name: train
num_bytes: 498204
num_examples: 955
- name: validation
num_bytes: 107102
num_examples: 209
- name: test
num_bytes: 209035
num_examples: 380
download_size: 271620
dataset_size: 814341
- config_name: nld.rst.nldt.conllu
features:
- name: id
sequence: string
- name: form
sequence: string
- name: lemma
sequence: string
- name: upos
sequence: string
- name: xpos
sequence: string
- name: feats
sequence: string
- name: head
sequence: string
- name: deprel
sequence: string
- name: deps
sequence: string
- name: misc
sequence: string
- name: doc_id
dtype: string
- name: mwe
sequence: 'null'
splits:
- name: train
num_bytes: 1738747
num_examples: 1155
- name: validation
num_bytes: 375701
num_examples: 254
- name: test
num_bytes: 350324
num_examples: 239
download_size: 334430
dataset_size: 2464772
- config_name: nld.rst.nldt.rels
features:
- name: doc
dtype: string
- name: unit1_toks
dtype: string
- name: unit2_toks
dtype: string
- name: unit1_txt
dtype: string
- name: unit2_txt
dtype: string
- name: s1_toks
dtype: string
- name: s2_toks
dtype: string
- name: unit1_sent
dtype: string
- name: unit2_sent
dtype: string
- name: dir
dtype: string
- name: orig_label
dtype: string
- name: label
dtype: string
splits:
- name: train
num_bytes: 705665
num_examples: 1608
- name: validation
num_bytes: 146881
num_examples: 331
- name: test
num_bytes: 143380
num_examples: 325
download_size: 372780
dataset_size: 995926
- config_name: por.pdtb.crpc.conllu
features:
- name: id
sequence: string
- name: form
sequence: string
- name: lemma
sequence: string
- name: upos
sequence: string
- name: xpos
sequence: string
- name: feats
sequence: string
- name: head
sequence: string
- name: deprel
sequence: string
- name: deps
sequence: string
- name: misc
sequence: string
- name: doc_id
dtype: string
- name: mwe
sequence: 'null'
splits:
- name: train
num_bytes: 14274302
num_examples: 4078
- name: validation
num_bytes: 1948042
num_examples: 581
- name: test
num_bytes: 1852695
num_examples: 535
download_size: 2246483
dataset_size: 18075039
- config_name: por.pdtb.crpc.rels
features:
- name: doc
dtype: string
- name: unit1_toks
dtype: string
- name: unit2_toks
dtype: string
- name: unit1_txt
dtype: string
- name: unit2_txt
dtype: string
- name: s1_toks
dtype: string
- name: s2_toks
dtype: string
- name: unit1_sent
dtype: string
- name: unit2_sent
dtype: string
- name: dir
dtype: string
- name: orig_label
dtype: string
- name: orig_label.1
dtype: string
splits:
- name: train
num_bytes: 8673004
num_examples: 8797
- name: validation
num_bytes: 1156669
num_examples: 1285
- name: test
num_bytes: 1147069
num_examples: 1248
download_size: 3135555
dataset_size: 10976742
- config_name: rus.rst.rrt.conllu
features:
- name: id
sequence: string
- name: form
sequence: string
- name: lemma
sequence: string
- name: upos
sequence: string
- name: xpos
sequence: string
- name: feats
sequence: string
- name: head
sequence: string
- name: deprel
sequence: string
- name: deps
sequence: string
- name: misc
sequence: string
- name: doc_id
dtype: string
- name: mwe
sequence: 'null'
splits:
- name: train
num_bytes: 43706473
num_examples: 18932
- name: validation
num_bytes: 4556506
num_examples: 2025
- name: test
num_bytes: 4657786
num_examples: 2087
download_size: 0
dataset_size: 52920765
- config_name: rus.rst.rrt.rels
features:
- name: doc
dtype: string
- name: unit1_toks
dtype: string
- name: unit2_toks
dtype: string
- name: unit1_txt
dtype: string
- name: unit2_txt
dtype: string
- name: s1_toks
dtype: string
- name: s2_toks
dtype: string
- name: unit1_sent
dtype: string
- name: unit2_sent
dtype: string
- name: dir
dtype: string
- name: orig_label
dtype: string
- name: label
dtype: string
splits:
- name: train
num_bytes: 29448345
num_examples: 28868
- name: validation
num_bytes: 2906149
num_examples: 2855
- name: test
num_bytes: 2907619
num_examples: 2843
download_size: 0
dataset_size: 35262113
- config_name: spa.rst.rststb.conllu
features:
- name: id
sequence: string
- name: form
sequence: string
- name: lemma
sequence: string
- name: upos
sequence: string
- name: xpos
sequence: string
- name: feats
sequence: string
- name: head
sequence: string
- name: deprel
sequence: string
- name: deps
sequence: string
- name: misc
sequence: string
- name: doc_id
dtype: string
- name: mwe
sequence: 'null'
splits:
- name: train
num_bytes: 4145601
num_examples: 1547
- name: validation
num_bytes: 723297
num_examples: 253
- name: test
num_bytes: 780028
num_examples: 286
download_size: 659246
dataset_size: 5648926
- config_name: spa.rst.rststb.rels
features:
- name: doc
dtype: string
- name: unit1_toks
dtype: string
- name: unit2_toks
dtype: string
- name: unit1_txt
dtype: string
- name: unit2_txt
dtype: string
- name: s1_toks
dtype: string
- name: s2_toks
dtype: string
- name: unit1_sent
dtype: string
- name: unit2_sent
dtype: string
- name: dir
dtype: string
- name: orig_label
dtype: string
- name: label
dtype: string
splits:
- name: train
num_bytes: 1613935
num_examples: 2240
- name: validation
num_bytes: 304667
num_examples: 383
- name: test
num_bytes: 321080
num_examples: 426
download_size: 0
dataset_size: 2239682
- config_name: zho.dep.scidtb.conllu
features:
- name: id
sequence: string
- name: form
sequence: string
- name: lemma
sequence: string
- name: upos
sequence: string
- name: xpos
sequence: string
- name: feats
sequence: string
- name: head
sequence: string
- name: deprel
sequence: string
- name: deps
sequence: string
- name: misc
sequence: string
- name: doc_id
dtype: string
- name: mwe
sequence: 'null'
splits:
- name: train
num_bytes: 827143
num_examples: 308
- name: validation
num_bytes: 282227
num_examples: 103
- name: test
num_bytes: 264697
num_examples: 89
download_size: 0
dataset_size: 1374067
- config_name: zho.dep.scidtb.rels
features:
- name: doc
dtype: string
- name: unit1_toks
dtype: string
- name: unit2_toks
dtype: string
- name: unit1_txt
dtype: string
- name: unit2_txt
dtype: string
- name: s1_toks
dtype: string
- name: s2_toks
dtype: string
- name: unit1_sent
dtype: string
- name: unit2_sent
dtype: string
- name: dir
dtype: string
- name: orig_label
dtype: string
- name: label
dtype: string
splits:
- name: train
num_bytes: 628861
num_examples: 802
- name: validation
num_bytes: 228839
num_examples: 281
- name: test
num_bytes: 181790
num_examples: 215
download_size: 0
dataset_size: 1039490
configs:
- config_name: deu.rst.pcc.conllu
data_files:
- split: train
path: deu.rst.pcc.conllu/train-*
- split: validation
path: deu.rst.pcc.conllu/validation-*
- split: test
path: deu.rst.pcc.conllu/test-*
- config_name: deu.rst.pcc.rels
data_files:
- split: train
path: deu.rst.pcc.rels/train-*
- split: validation
path: deu.rst.pcc.rels/validation-*
- split: test
path: deu.rst.pcc.rels/test-*
- config_name: eng.dep.scidtb.conllu
data_files:
- split: train
path: eng.dep.scidtb.conllu/train-*
- split: validation
path: eng.dep.scidtb.conllu/validation-*
- split: test
path: eng.dep.scidtb.conllu/test-*
- config_name: eng.dep.scidtb.rels
data_files:
- split: train
path: eng.dep.scidtb.rels/train-*
- split: validation
path: eng.dep.scidtb.rels/validation-*
- split: test
path: eng.dep.scidtb.rels/test-*
- config_name: eus.rst.ert.conllu
data_files:
- split: train
path: eus.rst.ert.conllu/train-*
- split: validation
path: eus.rst.ert.conllu/validation-*
- split: test
path: eus.rst.ert.conllu/test-*
- config_name: eus.rst.ert.rels
data_files:
- split: train
path: eus.rst.ert.rels/train-*
- split: validation
path: eus.rst.ert.rels/validation-*
- split: test
path: eus.rst.ert.rels/test-*
- config_name: ita.pdtb.luna.conllu
data_files:
- split: train
path: ita.pdtb.luna.conllu/train-*
- split: validation
path: ita.pdtb.luna.conllu/validation-*
- split: test
path: ita.pdtb.luna.conllu/test-*
- config_name: ita.pdtb.luna.rels
data_files:
- split: train
path: ita.pdtb.luna.rels/train-*
- split: validation
path: ita.pdtb.luna.rels/validation-*
- split: test
path: ita.pdtb.luna.rels/test-*
- config_name: nld.rst.nldt.conllu
data_files:
- split: train
path: nld.rst.nldt.conllu/train-*
- split: validation
path: nld.rst.nldt.conllu/validation-*
- split: test
path: nld.rst.nldt.conllu/test-*
- config_name: nld.rst.nldt.rels
data_files:
- split: train
path: nld.rst.nldt.rels/train-*
- split: validation
path: nld.rst.nldt.rels/validation-*
- split: test
path: nld.rst.nldt.rels/test-*
- config_name: por.pdtb.crpc.conllu
data_files:
- split: train
path: por.pdtb.crpc.conllu/train-*
- split: validation
path: por.pdtb.crpc.conllu/validation-*
- split: test
path: por.pdtb.crpc.conllu/test-*
- config_name: por.pdtb.crpc.rels
data_files:
- split: train
path: por.pdtb.crpc.rels/train-*
- split: validation
path: por.pdtb.crpc.rels/validation-*
- split: test
path: por.pdtb.crpc.rels/test-*
- config_name: rus.rst.rrt.conllu
data_files:
- split: train
path: rus.rst.rrt.conllu/train-*
- split: validation
path: rus.rst.rrt.conllu/validation-*
- split: test
path: rus.rst.rrt.conllu/test-*
- config_name: rus.rst.rrt.rels
data_files:
- split: train
path: rus.rst.rrt.rels/train-*
- split: validation
path: rus.rst.rrt.rels/validation-*
- split: test
path: rus.rst.rrt.rels/test-*
- config_name: spa.rst.rststb.conllu
data_files:
- split: train
path: spa.rst.rststb.conllu/train-*
- split: validation
path: spa.rst.rststb.conllu/validation-*
- split: test
path: spa.rst.rststb.conllu/test-*
- config_name: spa.rst.rststb.rels
data_files:
- split: train
path: spa.rst.rststb.rels/train-*
- split: validation
path: spa.rst.rststb.rels/validation-*
- split: test
path: spa.rst.rststb.rels/test-*
- config_name: zho.dep.scidtb.conllu
data_files:
- split: train
path: zho.dep.scidtb.conllu/train-*
- split: validation
path: zho.dep.scidtb.conllu/validation-*
- split: test
path: zho.dep.scidtb.conllu/test-*
- config_name: zho.dep.scidtb.rels
data_files:
- split: train
path: zho.dep.scidtb.rels/train-*
- split: validation
path: zho.dep.scidtb.rels/validation-*
- split: test
path: zho.dep.scidtb.rels/test-*
Disrpt is a multilingual, multi-framework unified discourse analysis benchmark.
It unifies discourse relation classification tasks (.rels) and discourse segmentation (.connlu) for many languages.
⚠️ This repo only contains the disrpt dataset when the underlying data is permissively licensed. Some datasets rely on corpora like the PTB.
To load these datasets, do the following:
pip install disrpt-utils
from disrpt_utils import load_dataset
corpora_paths={
#TODO Input your own paths
"tur.pdtb.tdb": "/mnt/nfs_share_magnet2/dsileo/data/disrpt/TDB1.0/raw/",
"eng.rst.rstdt": "/mnt/nfs_share_magnet2/dsileo/data/disrpt/RSTtrees-WSJ-main-1.0-20231128T125253Z-001/"
}
config_name="eng.rst.rstdt"
load_dataset(config_name,'conllu',corpora_paths=corpora_paths)
Otherwise, most datasets are directly accessible:
from huggingface import load_dataset
load_dataset(/multilingual-discourse-hub/disrpt/'','eng.dep.scidtb.rels')
Citations
@inproceedings{braud2024disrpt,
title={{DISRPT}: A Multilingual, Multi-domain, Cross-framework Benchmark for Discourse Processing},
author={Braud, Chloé and Zeldes, Amir and Rivière, Laura and Liu, Yang Janet and Muller, Philippe and Sileo, Damien and Aoyama, Tatsuya},
booktitle={Proceedings of LREC-COLING 2024},
year={2024}
}
Underline datasets:
https://huggingface.co/datasets/multilingual-discourse-hub/disrpt/raw/main/bibtex.json