joelniklaus commited on
Commit
d9711ab
1 Parent(s): 8f3732b

improved dataset card

Browse files
Files changed (1) hide show
  1. README.md +8 -1
README.md CHANGED
@@ -35,7 +35,7 @@ multilinguality:
35
  paperswithcode_id: null
36
  pretty_name: "EurlexResources: A Corpus Covering the Largest EURLEX Resources"
37
  size_categories:
38
- - 10M<n<100M
39
  source_datasets:
40
  - original
41
  task_categories:
@@ -83,6 +83,13 @@ task_categories:
83
 
84
  This dataset contains large text resources (~179GB in total) from EURLEX that can be used for pretraining language models.
85
 
 
 
 
 
 
 
 
86
  ### Supported Tasks and Leaderboards
87
 
88
  The dataset supports the task of masked language modeling.
 
35
  paperswithcode_id: null
36
  pretty_name: "EurlexResources: A Corpus Covering the Largest EURLEX Resources"
37
  size_categories:
38
+ - 1M<n<10M
39
  source_datasets:
40
  - original
41
  task_categories:
 
83
 
84
  This dataset contains large text resources (~179GB in total) from EURLEX that can be used for pretraining language models.
85
 
86
+ Use the dataset like this:
87
+ ```python
88
+ from datasets import load_dataset
89
+ config = "de_caselaw" # {lang}_{resource}
90
+ dataset = load_dataset("joelito/eurlex_resources", config, split='train', streaming=True)
91
+ ```
92
+
93
  ### Supported Tasks and Leaderboards
94
 
95
  The dataset supports the task of masked language modeling.