Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
configs:
|
| 4 |
+
- config_name: fcv_pads_east_africa
|
| 5 |
+
data_files:
|
| 6 |
+
- split: train
|
| 7 |
+
path: fcv_pads_east_africa.jsonl
|
| 8 |
+
- config_name: refugee_pads
|
| 9 |
+
data_files:
|
| 10 |
+
- split: train
|
| 11 |
+
path: refugee_pads.jsonl
|
| 12 |
+
- config_name: jdc_operational
|
| 13 |
+
data_files:
|
| 14 |
+
- split: train
|
| 15 |
+
path: jdc_operational.jsonl
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
# FCV Extractions Meta
|
| 19 |
+
|
| 20 |
+
Data-use mention extractions from `rafmacalaba/fcv-extractions`, enriched with the source
|
| 21 |
+
document label metadata from `rafmacalaba/fcv-corpus`. Each extraction row keeps its
|
| 22 |
+
per-page/chunk `input_text`, `entities`, and `has_data_score`, plus the document-level
|
| 23 |
+
labels of its source document (`project_id`, `country`, `document_type`, `language`,
|
| 24 |
+
`disclosure_status`, etc.).
|
| 25 |
+
|
| 26 |
+
## Configs
|
| 27 |
+
|
| 28 |
+
One config per source corpus (mirrors `rafmacalaba/fcv-corpus`):
|
| 29 |
+
|
| 30 |
+
| config | rows | notes |
|
| 31 |
+
|---|---|---|
|
| 32 |
+
| `fcv_pads_east_africa` | 91,267 | WB FCV project documents (East Africa) |
|
| 33 |
+
| `refugee_pads` | 45,046 | World Bank refugee project documents (PADs) |
|
| 34 |
+
| `jdc_operational` | 12,372 | WB operational project documents (JDC operational set) |
|
| 35 |
+
|
| 36 |
+
## Schema
|
| 37 |
+
|
| 38 |
+
Common per-config fields:
|
| 39 |
+
|
| 40 |
+
- `corpus_id` — `{config}:{index:06d}`, matching `rafmacalaba/fcv-corpus` ordering
|
| 41 |
+
- `config` — source corpus config
|
| 42 |
+
- `pdf_url`, `title` — source document
|
| 43 |
+
- document label metadata (fields vary by config; inherited from `fcv-corpus`):
|
| 44 |
+
`project_id`, `doc_id`, `document_type`, `document_date`, `language`,
|
| 45 |
+
`disclosure_status`, `country`, `report_no`, `authors`, `disclosure_date`,
|
| 46 |
+
`major_sector`, `sector`, `topics`, `themes`, `region`, `landing_page_url`, `abstract`
|
| 47 |
+
- `page`, `chunk`, `input_text`, `has_data_score`, `entities` — extraction payload
|
| 48 |
+
(entities are `{text, label, score, start, end}` spans)
|
| 49 |
+
|
| 50 |
+
## Usage
|
| 51 |
+
|
| 52 |
+
```python
|
| 53 |
+
from datasets import load_dataset
|
| 54 |
+
|
| 55 |
+
fcv = load_dataset("rafmacalaba/fcv-extractions-meta", "fcv_pads_east_africa")
|
| 56 |
+
refugee = load_dataset("rafmacalaba/fcv-extractions-meta", "refugee_pads")
|
| 57 |
+
jdc = load_dataset("rafmacalaba/fcv-extractions-meta", "jdc_operational")
|
| 58 |
+
```
|
| 59 |
+
|
| 60 |
+
## Provenance
|
| 61 |
+
|
| 62 |
+
Built by joining `rafmacalaba/fcv-extractions` rows to `rafmacalaba/fcv-corpus` documents
|
| 63 |
+
on `config` + `pdf_url` (all 148,685 rows matched). The `fcv_pads_east_asia` config was
|
| 64 |
+
renamed to `fcv_pads_east_africa` to fix the region typo.
|