Instructions to use OpenMatch/ance-tele_triviaqa_psg-encoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OpenMatch/ance-tele_triviaqa_psg-encoder with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="OpenMatch/ance-tele_triviaqa_psg-encoder")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("OpenMatch/ance-tele_triviaqa_psg-encoder") model = AutoModel.from_pretrained("OpenMatch/ance-tele_triviaqa_psg-encoder", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from OpenMatch/ance-tele_triviaqa_psg-encoder: direct link, hf CLI and curl.
- Browser
- Download file 945 Bytes
-
https://huggingface.co/OpenMatch/ance-tele_triviaqa_psg-encoder/resolve/main/README.md
- Command line
-
hf download hf://OpenMatch/ance-tele_triviaqa_psg-encoder/README.md
-
curl -L -o README.md https://huggingface.co/OpenMatch/ance-tele_triviaqa_psg-encoder/resolve/main/README.md
945 Bytes
metadata
license: mit
This model is the passage encoder of ANCE-Tele trained on TriviaQA, described in the EMNLP 2022 paper "Reduce Catastrophic Forgetting of Dense Retrieval Training with Teleportation Negatives". The associated GitHub repository is available at https://github.com/OpenMatch/ANCE-Tele.
ANCE-Tele only trains with self-mined negatives (teleportation negatives) without using additional negatives (e.g., BM25, other DR systems) and eliminates the dependency on filtering strategies and distillation modules.
| NQ (Test) | R@5 | R@20 | R@20 |
|---|---|---|---|
| ANCE-Tele | 76.9 | 83.4 | 87.3 |
@inproceedings{sun2022ancetele,
title={Reduce Catastrophic Forgetting of Dense Retrieval Training with Teleportation Negatives},
author={Si, Sun and Chenyan, Xiong and Yue, Yu and Arnold, Overwijk and Zhiyuan, Liu and Jie, Bao},
booktitle={Proceedings of EMNLP 2022},
year={2022}
}