Update README.md
Browse files
README.md
CHANGED
@@ -10,7 +10,7 @@ size_categories:
|
|
10 |
|
11 |
## Dataset Summary
|
12 |
|
13 |
-
The Refugee Law Lab supports bulk open-access to Canada legal data to facilitate research and advocacy.
|
14 |
Bulk open-access helps avoid asymmetrical access-to-justice and amplification of marginalization that
|
15 |
results when commercial actors leverage proprietary
|
16 |
legal datasets for profit -- a particular concern in the border control setting.
|
@@ -64,7 +64,19 @@ Many documents are available in both English and French. Some are only available
|
|
64 |
|
65 |
The data has not been split, so all files are in the train split. If splitting for training/validation,
|
66 |
some thought should be given to whether it is necessary to limit to one language or to ensure that both
|
67 |
-
English and French versions of the same documents are put
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
68 |
|
69 |
|
70 |
## Dataset Creation
|
|
|
10 |
|
11 |
## Dataset Summary
|
12 |
|
13 |
+
The [Refugee Law Lab](https://refugeelab.ca) supports bulk open-access to Canada legal data to facilitate research and advocacy.
|
14 |
Bulk open-access helps avoid asymmetrical access-to-justice and amplification of marginalization that
|
15 |
results when commercial actors leverage proprietary
|
16 |
legal datasets for profit -- a particular concern in the border control setting.
|
|
|
64 |
|
65 |
The data has not been split, so all files are in the train split. If splitting for training/validation,
|
66 |
some thought should be given to whether it is necessary to limit to one language or to ensure that both
|
67 |
+
English and French versions of the same documents (where available) are put into the same split.
|
68 |
+
|
69 |
+
### Data Loading
|
70 |
+
|
71 |
+
To load all data instances:
|
72 |
+
|
73 |
+
from datasets import load_dataset
|
74 |
+
dataset = load_dataset("refugee-law-lab/canadian-legal-data", split="train")
|
75 |
+
|
76 |
+
To load only a specific data instance, for example only the SCC data instance):
|
77 |
+
|
78 |
+
from datasets import load_dataset
|
79 |
+
dataset = load_dataset("refugee-law-lab/canadian-legal-data", split="train", data_dir="scc")
|
80 |
|
81 |
|
82 |
## Dataset Creation
|