rafmacalaba commited on
Commit
01d2aec
·
verified ·
1 Parent(s): 338d755

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +66 -0
README.md ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ task_categories:
4
+ - token-classification
5
+ tags:
6
+ - ner
7
+ - dataset-mention
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. A single
16
+ JSONL file (`datause-dataset.jsonl`) carries all three splits, tagged with a
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
21
+ references to datasets, databases, and surveys from PDF-extracted text.
22
+
23
+ ### Splits
24
+ | split | records | notes |
25
+ |---|---|---|
26
+ | `train` | 1,779 | `v12-rerun` training split (70% positive + 120 pinned hard negatives) |
27
+ | `validation` | 415 | `v12-rerun` validation split (early stopping) |
28
+ | `holdout` | 1,149 | canonical `holdout_v10` prose-only evaluation benchmark |
29
+
30
+ ## Schema (GLiNER2 Flat-NER Format)
31
+ Each record has three fields:
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`).
38
+ * `vague_data`: General data references (e.g. `monitoring data`).
39
+
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": {
47
+ "named_data": ["Demographic and Health Surveys (DHS)", "MICS"],
48
+ "descriptive_data": [],
49
+ "vague_data": ["data"]
50
+ }
51
+ }
52
+ }
53
+ ```
54
+
55
+ ## Source Documents
56
+ * **World Bank Group Project Appraisal Documents (PADs)** — social protection, education, agriculture, water.
57
+ * **UNHCR Refugee Operational Reports** — livelihood surveys, MSNAs, Protection Briefs.
58
+ * **Synthetic Target Sets** — 27 contexts balancing underrepresented classes.
59
+ * **Layout Hard Negatives** — 120 curated tables/indices/footers with empty entities.
60
+
61
+ ## Loading
62
+ ```python
63
+ from datasets import load_dataset
64
+ ds = load_dataset("json", data_files="https://huggingface.co/datasets/ai4data/datause-dataset/resolve/main/datause-dataset.jsonl", split="train")
65
+ splits = {s: ds.filter(lambda x: x["split"] == s) for s in ("train", "validation", "holdout")}
66
+ ```