Datasets:
Tasks:
Text Retrieval
Sub-tasks:
fact-checking-retrieval
Languages:
English
Size:
10K<n<100K
ArXiv:
License:
Add Parquet format for scriptless dataset loading
#7
by
vincentkoc
- opened
Summary
This PR adds Parquet-based data files to enable scriptless loading of the HoVer dataset, eliminating the need for trust_remote_code.
Changes
- β
Added
data/train.parquet(18,171 examples) - β
Added
data/validation.parquet(4,000 examples) - β
Added
data/test.parquet(4,000 examples) - β
Updated
README.mdwith:- Quick start guide
- Detailed data field descriptions
- Corrected MIT license information
- Complete citations and documentation
Benefits
- No trust_remote_code required - Users can load the dataset with standard
load_dataset("hover-nlp/hover")without security warnings - Faster loading - Parquet format is more efficient than JSON parsing
- 100% compatible - Data structure is identical to the existing
hover.pyscript output - Better CI/CD support - Modern pipelines prefer scriptless formats
Verification
The Parquet format has been verified to produce identical output to the original hover.py script:
- All field types match (ClassLabel for labels, etc.)
- Supporting facts structure preserved:
[{"key": "title", "value": idx}, ...] - All 26,171 examples converted successfully
Usage
from datasets import load_dataset
# No trust_remote_code needed!
dataset = load_dataset("hover-nlp/hover")
Backward Compatibility
The existing hover.py script remains in the repository for backward compatibility. Users can continue using the script-based approach if needed.
Testing
Dataset tested and confirmed working at: https://huggingface.co/datasets/vincentkoc/hover-parquet
Source branch: {source_repo}:{source_branch}
vincentkoc
changed discussion status to
closed