multihoprag
triplum.datasets.multihoprag ¶
MultiHop-RAG corpus (Tang and Yang, 2024; ODC-BY): 609 news articles as Source records.
ENTRY
module-attribute
¶
ENTRY = DatasetEntry(
name="multihoprag",
files=[
PinnedFile(
name="corpus.json",
url="https://huggingface.co/datasets/yixuantt/MultiHopRAG/resolve/main/corpus.json",
sha256="20b61b5ab84de84a927420c5d265b7ec8d859ae49980699958a787ade9e4d28f",
bytes=6785567,
)
],
licence="ODC-BY 1.0",
commercial_reuse="Permitted with attribution",
)
MultiHopRAGCorpus ¶
MultiHopRAGCorpus(
*, collection_id: UUID, root: Path | None = None
)
One Source per article: origin is the article URL, text is title, blank line, body.
The file is downloaded into root/multihoprag on first use (root defaults to
datasets_home()), verified against its pinned hash and parsed at construction. Sources belong to the collection collection_id.
Source code in src/triplum/datasets/multihoprag.py
34 35 36 37 | |
fingerprint ¶
fingerprint() -> str
Source code in src/triplum/datasets/multihoprag.py
50 51 | |