multihoprag
triplum.datasets.multihoprag ¶
MultiHop-RAG corpus (Tang and Yang, 2024; ODC-BY): 609 news articles as Source records.
URL
module-attribute
¶
URL = "https://huggingface.co/datasets/yixuantt/MultiHopRAG/resolve/main/corpus.json"
SHA256
module-attribute
¶
SHA256 = "20b61b5ab84de84a927420c5d265b7ec8d859ae49980699958a787ade9e4d28f"
MultiHopRAGCorpus ¶
MultiHopRAGCorpus(path: Path)
One Source per article: origin is the article URL, text is title, blank line, body.
The whole file is parsed at construction and must match the pinned hash.
Source code in src/triplum/datasets/multihoprag.py
39 40 41 42 | |
download ¶
download(root: Path) -> Path
Fetch the pinned corpus.json into root unless a verified copy exists; return its path.
Source code in src/triplum/datasets/multihoprag.py
19 20 21 22 23 24 25 26 27 28 29 30 | |