Downloads · 30 days
19
14% of all-time downloads
Yuu-Xie/fever-dpr-query-encoder-modernbert-base
fever-dpr-query-encoder-modernbert-base is a feature extraction model from Yuu-Xie. Use it when you need embeddings to search or compare text. It is set up for transformers. The card lists the license as apache-2.0.
This model is the Query Encoder of a Dual-Encoder Dense Passage Retriever (DPR). Built upon answerdotai/ModernBERT-base, it is specifically designed to map input claims or queries into 768-dimensional dense vectors. T…
Downloads · 30 days
19
14% of all-time downloads
All-time downloads
140
Public
Parameters
149M
596 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors596 MB · 99%
From the Hugging Face model README
This model is the Query Encoder of a Dual-Encoder Dense Passage Retriever (DPR). Built upon answerdotai/ModernBERT-base, it is specifically designed to map input claims or queries into 768-dimensional dense vectors. The model was fine-tuned on the FEVER dataset to perform high-precision cosine similarity matching with corresponding evidence vectors in the vector space.
The training data originates from the pietrolesci/nli_fever dataset, with the following targeted processing applied:
label == 0 (Entailment/Supports) in the train set.premise column as the Query and the corresponding hypothesis column as the Positive Passage.By the end of training (Epoch 3), the model demonstrated extremely strong convergence in pushing apart negative samples and pulling together positive samples:
Note: The diagonal score is significantly higher than the global average score, proving that the model successfully constructed a highly discriminative vector space without experiencing representation collapse.
@misc{yuu-xie2026modernbert-base-dpr-fever,
author = {Yuu-Xie},
title = {fever-dpr-query-encoder-modernbert-base},
year = {2026},
publisher = {Hugging Face},
howpublished = {\url{https://huggingface.co/Yuu-Xie/fever-dpr-query-encoder-modernbert-base}}
}