Datasets:
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -8,13 +8,21 @@ tags:
|
|
| 8 |
- data-use
|
| 9 |
size_categories:
|
| 10 |
- 1K-10K
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
# Dataset Card for Datause Dataset
|
| 14 |
|
| 15 |
-
Combined data-mention extraction dataset for the GLiNER2 data-use swarm
|
| 16 |
-
|
| 17 |
-
top-level `split` field: `train`, `validation`, or `holdout`.
|
| 18 |
|
| 19 |
## Dataset Summary
|
| 20 |
The dataset is designed to teach Named Entity Recognition (NER) models to extract
|
|
@@ -28,10 +36,9 @@ references to datasets, databases, and surveys from PDF-extracted text.
|
|
| 28 |
| `holdout` | 1,149 | canonical `holdout_v10` prose-only evaluation benchmark |
|
| 29 |
|
| 30 |
## Schema (GLiNER2 Flat-NER Format)
|
| 31 |
-
Each record has
|
| 32 |
-
* `split`: one of `train`, `validation`, `holdout`.
|
| 33 |
* `input`: The raw text paragraph containing potential data mentions.
|
| 34 |
-
* `output`:
|
| 35 |
* `entities`: Dictionaries containing lists of span strings extracted for three categories:
|
| 36 |
* `named_data`: Proper name of a dataset (e.g. `National Education Outcomes Registry (NEOR)`).
|
| 37 |
* `descriptive_data`: Described data source (e.g. `school enrolment and retention indicators`).
|
|
@@ -40,7 +47,6 @@ Each record has three fields:
|
|
| 40 |
Example:
|
| 41 |
```json
|
| 42 |
{
|
| 43 |
-
"split": "train",
|
| 44 |
"input": "We use data from the Demographic and Health Surveys (DHS) 2020 and MICS 2019 to analyze child nutrition.",
|
| 45 |
"output": {
|
| 46 |
"entities": {
|
|
@@ -61,6 +67,5 @@ Example:
|
|
| 61 |
## Loading
|
| 62 |
```python
|
| 63 |
from datasets import load_dataset
|
| 64 |
-
ds = load_dataset("
|
| 65 |
-
splits = {s: ds.filter(lambda x: x["split"] == s) for s in ("train", "validation", "holdout")}
|
| 66 |
```
|
|
|
|
| 8 |
- data-use
|
| 9 |
size_categories:
|
| 10 |
- 1K-10K
|
| 11 |
+
configs:
|
| 12 |
+
- config_name: default
|
| 13 |
+
data_files:
|
| 14 |
+
- split: train
|
| 15 |
+
path: "data/train.jsonl"
|
| 16 |
+
- split: validation
|
| 17 |
+
path: "data/validation.jsonl"
|
| 18 |
+
- split: holdout
|
| 19 |
+
path: "data/holdout.jsonl"
|
| 20 |
---
|
| 21 |
|
| 22 |
# Dataset Card for Datause Dataset
|
| 23 |
|
| 24 |
+
Combined data-mention extraction dataset for the GLiNER2 data-use swarm, with
|
| 25 |
+
three splits: `train`, `validation`, `holdout`.
|
|
|
|
| 26 |
|
| 27 |
## Dataset Summary
|
| 28 |
The dataset is designed to teach Named Entity Recognition (NER) models to extract
|
|
|
|
| 36 |
| `holdout` | 1,149 | canonical `holdout_v10` prose-only evaluation benchmark |
|
| 37 |
|
| 38 |
## Schema (GLiNER2 Flat-NER Format)
|
| 39 |
+
Each record has two fields:
|
|
|
|
| 40 |
* `input`: The raw text paragraph containing potential data mentions.
|
| 41 |
+
* `output`:
|
| 42 |
* `entities`: Dictionaries containing lists of span strings extracted for three categories:
|
| 43 |
* `named_data`: Proper name of a dataset (e.g. `National Education Outcomes Registry (NEOR)`).
|
| 44 |
* `descriptive_data`: Described data source (e.g. `school enrolment and retention indicators`).
|
|
|
|
| 47 |
Example:
|
| 48 |
```json
|
| 49 |
{
|
|
|
|
| 50 |
"input": "We use data from the Demographic and Health Surveys (DHS) 2020 and MICS 2019 to analyze child nutrition.",
|
| 51 |
"output": {
|
| 52 |
"entities": {
|
|
|
|
| 67 |
## Loading
|
| 68 |
```python
|
| 69 |
from datasets import load_dataset
|
| 70 |
+
ds = load_dataset("ai4data/datause-dataset") # DatasetDict: train / validation / holdout
|
|
|
|
| 71 |
```
|