Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -40,45 +40,17 @@ configs:
|
|
40 |
|
41 |
## NOTES FOR DOWNLOAD!
|
42 |
|
43 |
-
|
44 |
|
45 |
-
```bash
|
46 |
curl -X GET "https://datasets-server.huggingface.co/first-rows?dataset=unimelb-nlp%2FMulti-EuP&config=default&split=train"
|
47 |
|
48 |
-
If you are using the HuggingFace library, please follow these steps:
|
49 |
|
50 |
-
Install the datasets library using pip:
|
51 |
-
|
52 |
-
```bash
|
53 |
pip install datasets
|
54 |
|
55 |
from datasets import load_dataset
|
56 |
-
|
57 |
dataset = load_dataset("unimelb-nlp/Multi-EuP", keep_default_na=False)
|
58 |
|
59 |
-
Please DO use keep_default_na=False, since there is some 'null' value in the datasets, such as qid_GA because the Irish language (GA) was not publicaed before it became EU offical language. And also some text was not the active 705 MEP, so there are some missing matching.
|
60 |
-
|
61 |
-
Certainly! Here is the provided content formatted as a Markdown document:
|
62 |
-
|
63 |
-
markdown
|
64 |
-
Copy code
|
65 |
-
**Highly recommend downloading it via the API:**
|
66 |
-
|
67 |
-
```bash
|
68 |
-
curl -X GET "https://datasets-server.huggingface.co/first-rows?dataset=unimelb-nlp%2FMulti-EuP&config=default&split=train"
|
69 |
-
If you are using the HuggingFace library, please follow these steps:
|
70 |
-
|
71 |
-
Install the datasets library using pip:
|
72 |
-
bash
|
73 |
-
Copy code
|
74 |
-
pip install datasets
|
75 |
-
Import the library and load the dataset in your code:
|
76 |
-
python
|
77 |
-
Copy code
|
78 |
-
from datasets import load_dataset
|
79 |
-
|
80 |
-
# Use keep_default_na=False to handle 'null' values in the datasets
|
81 |
-
dataset = load_dataset("unimelb-nlp/Multi-EuP", keep_default_na=False)
|
82 |
Note: It's crucial to use keep_default_na=False because some datasets contain 'null' values, such as qid_GA, due to the Irish language (GA) not being published before it became an official EU language. Additionally, some text may not belong to the active 705 MEP, resulting in missing matching information.
|
83 |
|
84 |
### Dataset Description
|
|
|
40 |
|
41 |
## NOTES FOR DOWNLOAD!
|
42 |
|
43 |
+
1. Highly recommend downloading it via the API:
|
44 |
|
|
|
45 |
curl -X GET "https://datasets-server.huggingface.co/first-rows?dataset=unimelb-nlp%2FMulti-EuP&config=default&split=train"
|
46 |
|
47 |
+
2. If you are using the HuggingFace library, please follow these steps:
|
48 |
|
|
|
|
|
|
|
49 |
pip install datasets
|
50 |
|
51 |
from datasets import load_dataset
|
|
|
52 |
dataset = load_dataset("unimelb-nlp/Multi-EuP", keep_default_na=False)
|
53 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
Note: It's crucial to use keep_default_na=False because some datasets contain 'null' values, such as qid_GA, due to the Irish language (GA) not being published before it became an official EU language. Additionally, some text may not belong to the active 705 MEP, resulting in missing matching information.
|
55 |
|
56 |
### Dataset Description
|