Downloads · 30 days
0
DomLoyer/TREC_AP_88-90
TREC_AP_88-90 is a text retrieval model from DomLoyer. Use it for the text retrieval task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as other.
- This model is trained on the TREC AP 88–90 newswire collection for ad‑hoc information retrieval and ranking. - Input: a text query and one or several candidate documents or passages. - Output: a relevance score or g…
Downloads · 30 days
0
Access
Public
Updated Apr 14, 2026
Repo size
704 MB
Likes
1
Public
Click a slice to open those files.
.jsonl695 MB · 99%
From the Hugging Face model README
transformers and a text‑retrieval pipeline:from transformers import AutoTokenizer, AutoModel
from sentence_transformers import SentenceTransformer, util # if you use SBERT-style embeddings
model_id = "DomLoyer/TREC_AP_88-90"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModel.from_pretrained(model_id)
# encode queries and documents then compute similarity / ranking as in your paper or codebase
# TREC_AP_88-90 Model
## Model Summary
This repository contains resources related to experiments on the **TREC AP 88–90** newswire collection.
It is intended for research in information retrieval and evaluation of models trained or tested on the AP 1988–1990 subset of TREC.
A snapshot of this work is archived on Zenodo with the DOI: **10.5281/zenodo.17917839**.
Please refer to the Zenodo record for a citable, versioned release of the code and experimental setup.
## Intended Use
- Evaluation of retrieval models on the AP 88–90 collection.
- Reproducibility of experiments for IR research.
- Analysis of ranking performance and credibility-related experiments (SysCRED context).
This repository is **not** a redistribution of the original Associated Press documents.
Users must obtain the AP 88–90 collection from the official TREC/NIST source and comply with their license.
## Training Data
The experiments are based on the **TREC AP 88–90** newswire data.
All copyrights for the underlying texts remain with the original rights holders (Associated Press / TREC).
## Files
This repository may contain:
- Configuration files, scripts, and notebooks used for the experiments.
- Trained models or precomputed indexes derived from the AP 88–90 corpus (without redistributing the raw documents).
## Citation
If you use this repository or the associated Zenodo archive in academic work, please cite:
```bibtex
@dataset{loyer_trec_ap_88_90_zenodo,
author = {Dominique Loyer},
title = {TREC\_AP\_88-90 Resources},
year = {2025},
publisher = {Zenodo},
doi = {10.5281/zenodo.17917839},
url = {https://doi.org/10.5281/zenodo.17917839}
}
Question: Is the TREC AP 88-90 repository implemented in the systemFactChecking repository?
Answer: ✅ YES - The TREC repository is successfully integrated and implemented in the systemFactChecking repository.
The following TREC-related modules are implemented in 02_Code/syscred/:
trec_retriever.py (14,958 bytes)TREC_AP88-90_5juin2025.pyEvidence: Dataclass representing retrieved evidenceRetrievalResult: Complete result from evidence retrievalTRECRetriever: Main retriever class with fact-checking interfaceretrieve_evidence(claim, k, model, use_prf) -> RetrievalResult
batch_retrieve(claims, k, model) -> List[RetrievalResult]
trec_dataset.py (14,212 bytes)TRECDataset, TRECTopicir_engine.py (12,310 bytes)eval_metrics.py (11,558 bytes)demo_trec.pytest_trec_integration.py (9,814 bytes)run_trec_benchmark.py (12,828 bytes)The TREC modules are formally integrated into the syscred package (__init__.py):
# TREC Integration (NEW - Feb 2026)
from syscred.trec_retriever import TRECRetriever, Evidence, RetrievalResult
from syscred.trec_dataset import TRECDataset, TRECTopic
__all__ = [
# ... other exports
'TRECRetriever',
'TRECDataset',
'TRECTopic',
'Evidence',
'RetrievalResult',
]
Version: Marked as v2.3.0 (February 2026) with TREC integration noted as "NEW"
The TREC retriever explicitly references the original TREC_AP88-90 work:
"""
Based on: TREC_AP88-90_5juin2025.py
(c) Dominique S. Loyer - PhD Thesis Prototype
Citation Key: loyerEvaluationModelesRecherche2025
"""
Both repositories share:
systemFactChecking (Fact-Checking System)
└── syscred/ (Core Package)
├── verification_system.py (Main credibility pipeline)
│ └── Uses TRECRetriever for evidence gathering
├── trec_retriever.py (Evidence retrieval)
│ └── Based on TREC_AP88-90 methodology
├── trec_dataset.py (Dataset loader)
├── ir_engine.py (BM25, TF-IDF, QLD)
└── eval_metrics.py (MAP, NDCG, P@K)
RetrievalResult containing:
Evidence objects (doc_id, text, score, rank)The TREC retriever serves as the evidence gathering component for:
from syscred import TRECRetriever
# Initialize retriever
retriever = TRECRetriever(use_stemming=True, enable_prf=True)
# Retrieve evidence for a claim
result = retriever.retrieve_evidence(
claim="Climate change is caused by human activities",
k=10
)
# Process evidence
for evidence in result.evidences:
print(f"[{evidence.score:.4f}] {evidence.text[:100]}...")
From the README:
The evaluation metrics from TREC are used to validate:
| TREC_AP_88-90 | systemFactChecking | Purpose |
|---|---|---|
TREC_AP88-90_5juin2025.py | 02_Code/syscred/trec_retriever.py | Main retrieval logic |
| Evaluation metrics | 02_Code/syscred/eval_metrics.py | MAP, NDCG, P@K, MRR |
| IR models | 02_Code/syscred/ir_engine.py | BM25, TF-IDF, QLD |
| - | 02_Code/syscred/trec_dataset.py | Dataset loader |
| - | 02_Code/demo_trec.py | Demo script |
| - | 02_Code/syscred/test_trec_integration.py | Integration tests |
GitHub code search found 54 occurrences of "TREC" in the systemFactChecking repository, including:
This extensive integration demonstrates that TREC is not just referenced but is a core component of the fact-checking system.
The TREC integration represents a significant enhancement in v2.3.0, bridging classic Information Retrieval evaluation with modern neuro-symbolic fact-checking.
✅ CONFIRMED: The TREC AP 88-90 repository is fully implemented and integrated in the systemFactChecking repository.
trec_retriever.pyThe TREC implementation in systemFactChecking is production-ready and represents a successful bridge between classic Information Retrieval (TREC) and modern AI-powered fact-checking systems.
Analysis Date: February 3, 2026
Analyst: GitHub Copilot Agent
Analysis Type: Cross-Repository Implementation Verification