sileod commited on
Commit
774f4d1
1 Parent(s): c71dcc4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +25 -1
README.md CHANGED
@@ -833,7 +833,31 @@ configs:
833
  - split: test
834
  path: zho.dep.scidtb.rels/test-*
835
  ---
836
- https://github.com/disrpt/sharedtask2023
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
837
 
838
  scditb:
839
  ```
 
833
  - split: test
834
  path: zho.dep.scidtb.rels/test-*
835
  ---
836
+
837
+ Disrpt is a multilingual, multi-framework unified discourse analysis benchmark.
838
+
839
+ This repo only contains the disrpt dataset when the underlying data is permissively licensed. Some datasets rely on corpora like the PTB.
840
+ To load these datasets, do the following:
841
+ `pip install disrpt-utils`
842
+
843
+ ```python
844
+ from disrpt_utils import load_dataset
845
+
846
+ corpora_paths={
847
+ #🚩 TODO Input your own paths 🚩
848
+ "tur.pdtb.tdb": "/mnt/nfs_share_magnet2/dsileo/data/disrpt/TDB1.0/raw/",
849
+ "eng.rst.rstdt": "/mnt/nfs_share_magnet2/dsileo/data/disrpt/RSTtrees-WSJ-main-1.0-20231128T125253Z-001/"
850
+ }
851
+
852
+ config_name="eng.rst.rstdt"
853
+ load_dataset(config_name,'conllu',corpora_paths=corpora_paths)
854
+ ```
855
+
856
+ Otherwise, most datasets are
857
+ ```python
858
+ from huggingface import load_dataset
859
+ load_dataset(/multilingual-discourse-hub/disrpt/'','eng.dep.scidtb.rels')
860
+ ```
861
 
862
  scditb:
863
  ```