experimaestro-ir-0.6.2
توضیحات
Experimaestro common module for IR experiments
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | experimaestro-ir-0.6.2 |
| نام | experimaestro-ir |
| نسخه کتابخانه | 0.6.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | Benjamin Piwowarski <benjamin@piwowarski.fr> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/experimaestro-ir/ |
| مجوز | GPL-3 |
[](https://github.com/pre-commit/pre-commit)
[](https://experimaestro-ir.readthedocs.io/en/latest/?badge=latest)
# Information Retrieval for experimaestro
Information Retrieval module for [experimaestro](https://experimaestro-python.readthedocs.io/)
The full documentation can be read at [IR@experimaestro](https://experimaestro-ir.readthedocs.io/).
## Install
Base experimaestro-IR can be installed with `pip install xpmir`.
Functionalities can be added by installing optional dependencies:
- `pip install xpmir[neural]` to install neural-IR packages (torch, etc.)
- `pip install xpmir[anserini]` to install Anserini related packages
## What's inside?
- Collection management (using datamaestro)
- Interface for the [IR datasets library](https://ir-datasets.com/)
- Splitting IR datasets
- Shuffling training triplets
- Representation
- Word Embeddings
- HuggingFace transformers
- Indices
- dense: [FAISS](https://github.com/facebookresearch/faiss) interface
- sparse: [xpmir-rust library](https://github.com/experimaestro/experimaestro-ir-rust)
- Standard Indexing and Retrieval
- Anserini
- Learning to Rank
- Pointwise
- Pairwise
- Distillation
- Neural IR
- Cross-Encoder
- Splade
- DRMM
- ColBERT
- Paper reproduction:
- *MonoBERT* (Passage Re-ranking with BERT. Rodrigo Nogueira and Kyunghyun Cho. 2019)
- (planned) *DuoBERT* (Multi-Stage Document Ranking with BERT. Rodrigo Nogueira, Wei Yang, Kyunghyun Cho, Jimmy Lin. 2019)
- (planned) *Splade v2* (SPLADE v2: Sparse Lexical and Expansion Model for Information Retrieval, Thibault Formal, Carlos Lassance, Benjamin Piwowarski, and Stéphane Clinchant. SIGIR 2021)
- Pre-trained models
- [HuggingFace](https://huggingface.co) [integration](https://experimaestro-ir.readthedocs.io/en/latest/pretrained.html) (direct, through the Sentence Transformers library)
## Thanks
Some parts of the code have been adapted from [OpenNIR](https://github.com/Georgetown-IR-Lab/OpenNIR)
نیازمندی
| مقدار | نام |
|---|---|
| >0.22.0 | experimaestro |
| >=0.8.13 | datamaestro |
| >=2023.2.3 | datamaestro-text |
| - | ir-datasets |
| - | docstring-parser |
| ==0.20.* | xpmir-rust |
| - | omegaconf |
| - | attrs |
| >=0.3.1 | ir-measures |
| - | toma |
| - | pytorch-lightning |
| >=0.20.0 | pyserini |
| >=1.12 | torch |
| - | tensorboard |
| - | transformers |
| - | sentence-transformers |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl experimaestro-ir-0.6.2:
pip install experimaestro-ir-0.6.2.whl
نصب پکیج tar.gz experimaestro-ir-0.6.2:
pip install experimaestro-ir-0.6.2.tar.gz