Run this model with HF Jobs
Run utahnlp/tevatron-elastic-modernbert-retriever-2d on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/utahnlp/tevatron-elastic-modernbert-retriever-2d. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/utahnlp/tevatron-elastic-modernbert-retriever-2d on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use utahnlp/tevatron-elastic-modernbert-retriever-2d with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use utahnlp/tevatron-elastic-modernbert-retriever-2d with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="utahnlp/tevatron-elastic-modernbert-retriever-2d")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("utahnlp/tevatron-elastic-modernbert-retriever-2d") model = AutoModel.from_pretrained("utahnlp/tevatron-elastic-modernbert-retriever-2d", device_map="auto") - Notebooks
- Google Colab
- Kaggle
tevatron-elastic-modernbert-retriever-2d
A retriever trained with Tevatron-Elastic, which trains one checkpoint to serve many operating points along the depth / width / token compression axes. This checkpoint is an elastic depth×width schedule (2D Matryoshka).
- Base model:
answerdotai/ModernBERT-base - Task: retriever
- Elastic axis: 2d
- Training data: rlhn/rlhn-680K, max length 512,
query:/passage:prefixes.
Full-point BEIR-15 nDCG@10: 0.450.
Load with the Tevatron-Elastic framework and select an operating point with prune_to /
encode_at; see the repository for usage. Part of a release of 20 checkpoints (3 backbones,
retrieval and reranking, all compression axes) accompanying the Tevatron-Elastic paper. Reported as
a reproducibility resource, not a state-of-the-art claim.
- Downloads last month
- 9
Model tree for utahnlp/tevatron-elastic-modernbert-retriever-2d
Base model
answerdotai/ModernBERT-base