Datasets:
File size: 5,795 Bytes
d7b9a4c 5c07f77 d7b9a4c 5c07f77 d7b9a4c 5c07f77 6173dac 5c07f77 1581284 d7b9a4c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 | ---
task_categories:
- token-classification
tags:
- ner
- span-extraction
- data-mentions
- economics
license: cc-by-4.0
configs:
- config_name: bio
data_files:
- split: train
path: bio_train.jsonl
- split: val
path: bio_val.jsonl
- split: holdout
path: bio_holdout.jsonl
- config_name: gliner
data_files:
- split: train
path: gliner_train.jsonl
- split: val
path: gliner_val.jsonl
- split: holdout
path: gliner_holdout.jsonl
- config_name: gliner2
data_files:
- split: train
path: gliner2_train.jsonl
- split: val
path: gliner2_val.jsonl
- split: holdout
path: gliner2_holdout.jsonl
dataset_info:
config_name: gliner2
features:
- name: input
dtype: string
- name: output
struct:
- name: entities
struct:
- name: named_data
list: string
- name: descriptive_data
list: string
- name: vague_data
list: string
- name: entity_descriptions
struct:
- name: named_data
dtype: string
- name: descriptive_data
dtype: string
- name: vague_data
dtype: string
- name: corpus
dtype: string
- name: origin
dtype: string
- name: corpus_id
dtype: string
- name: page
dtype: int64
- name: chunk
dtype: int64
- name: title
dtype: string
- name: pdf_url
dtype: string
- name: extractor
dtype: string
- name: footnote_link
dtype: bool
- name: dedupe_overlap
dtype: bool
- name: has_data_score
dtype: float64
- name: split
dtype: string
- name: spans
list:
- name: text
dtype: string
- name: label
dtype: string
- name: score
dtype: float64
- name: start
dtype: int64
- name: end
dtype: int64
- name: singlepass_model
dtype: string
- name: singlepass_keep_thr
dtype: float64
- name: singlepass_entities
list:
- name: text
dtype: string
- name: start
dtype: int64
- name: end
dtype: int64
- name: extractor_score
dtype: float64
- name: probe_score
dtype: float64
- name: keep
dtype: bool
splits:
- name: train
num_bytes: 434822580
num_examples: 201025
- name: val
num_bytes: 188660358
num_examples: 42414
- name: holdout
num_bytes: 196872595
num_examples: 44174
download_size: 497942440
dataset_size: 820355533
---
# Data-use mentions (NER / span extraction)
Data mentions extracted from World Bank Policy Research Working Papers and FCV documents, predicted by a span-extraction model with no human or LLM-judge
validation, and formatted for span-extraction (GLiNER / GLiNER2) and
token-classification (LFM2.5-encoder) fine-tuning.
## Labels
Three entity types:
- `NAMED_DATA` — a proper name, title, or acronym of a specific data source
- `DESCRIPTIVE_DATA` — a source described in words but not named
- `VAGUE_DATA` — generic data wording with no identifiable source
`O` (BIO) = background, including hard negatives.
## Negative strategy
- **No hard negatives** — every predicted span is kept as a positive.
- **Negative-only** chunks (no predicted spans) are sampled at a controlled ratio per split.
## Re-chunking (why windows are <= 384 tokens)
The upstream `input_text` is already an extractor chunk of at most `max_tokens` (default 384) whitespace tokens, so it fits GLiNER/GLiNER2's context window as-is; a sliding-window re-chunk pass runs only as a safety net.
## Provenance
Every row contains `corpus` (`prwp` or `fcv`) and `origin` (the extraction config, e.g. `general_prwp`, `fcv_pads_east_africa`, `jdc_operational`, `refugee_pads`, `reliefweb`). See `split_stats.json` for per-split provenance counts.
## Configs
- `gliner` — `{"tokenized_text": [...], "ner": [[start, end, label], ...]}` (word-level spans)
- `bio` — `{"tokens": [...], "ner_tags": ["O", "B-NAMED_DATA", ...]}`
- `gliner2` — `{"input": "...", "output": {"entities": {...}, "entity_descriptions": {...}}}`
(GLiNER2 flat-NER, span strings + descriptions)
## Source (raw extraction, no judge)
Unlike the judged build, every span here is a raw prediction of `rafmacalaba/gliner_datause` (labels `NAMED_DATA, DESCRIPTIVE_DATA, VAGUE_DATA`, footnote_link=True, dedupe_overlap=True). There are no hard negatives; negatives are entity-less chunks sampled at ~0.25 per positive per split. Treat spans as noisy positives, not gold labels.
## Traceability columns
Every config carries the same flat provenance columns alongside its training keys, so any row joins back to the parsed `.md` (`<origin>/<corpus_id with ':' -> '_'>.md`), the source PDF, and the extraction run:
- `corpus_id` — document id (`<origin>:<NNNNNN>`); `page`, `chunk` — position within the document
- `title`, `pdf_url` — document title and source PDF URL
- `extractor` — model id that produced the spans; `footnote_link`, `dedupe_overlap` — pipeline flags baked into `input`/`text`
- `has_data_score` — chunk-level data score (1.0 iff spans present)
- `split` — which file the row came from (`train` / `val` / `holdout`)
- `spans` — full span detail the training keys collapse: `[{text, label, score, start, end}]` with char offsets into `input`/`text`
## Splits
Document-disjoint `train` / `val` / `holdout` (70% / 15% / 15%). See `split_stats.json`.
## Usage
```python
from datasets import load_dataset
gliner = load_dataset("rafmacalaba/datause-extracted", "gliner")
bio = load_dataset("rafmacalaba/datause-extracted", "bio")
gliner2 = load_dataset("rafmacalaba/datause-extracted", "gliner2")
```
## Files
- `gliner_{train,val,holdout}.jsonl`, `bio_{train,val,holdout}.jsonl`, `gliner2_{train,val,holdout}.jsonl`
- `labels.json` (label lists), `split_stats.json` (per-split counts)
|