Downloads · 30 days
10
9% of all-time downloads
bikingSolo/prominer-ru-reranker
prominer-ru-reranker is a sentence similarity model from bikingSolo. Use it when you need a score for how close two texts are. It is set up for sentence-transformers. The card lists the license as mit.
Final cross-encoder reranker for Russian BioNNE-L entity linking.
Downloads · 30 days
10
9% of all-time downloads
All-time downloads
113
Public
Parameters
278M
1.1 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors1.1 GB · 98%
From the Hugging Face model README
Final cross-encoder reranker for Russian BioNNE-L entity linking.
This model is part of ProMiNER, a Russian-track biomedical entity-linking system for BioNNE-L. The system links mentions from NEREL-BIO/BioNNE-L texts to UMLS concepts by combining dense retrieval and cross-encoder reranking.
https://github.com/bikingSolo/prominersentence-transformers-cross-encoderbikingSolo/prominer-ru-pretrained-cross-encoderFine-tuned on candidate lists produced by the ProMiNER dense retriever, initialized from the dictionary-pretrained cross-encoder, and optimized with LambdaLoss. This is the best final model in the repository.
Selected MLflow parameters:
reranker_model_name_or_path: bikingSolo/prominer-ru-pretrained-cross-encoderretriever_model_name_or_path: bikingSolo/prominer-ru-retrieverloss_name: lambdalosslambdaloss_weighting_scheme: ndcg2ppepochs: 5train_batch_size: 32learning_rate: 1e-05lr_scheduler_type: linearweight_decay: 0.01warmup_ratio: 0.1max_seq_length: 384train_candidate_pool_size: 20dev_candidate_pool_size: 20test_candidate_pool_size: 20num_train_lists: 21547num_train_pairs: 416508selection_metric: Acc@1According to the Acc@1 on dev, the best epoch is 3.
Full local metadata exported from MLflow is included in prominer_metadata/.
Metrics below are copied from the local MLflow run artifacts.
| split | Acc@1 | Acc@5 | Acc@10 | Acc@20 | MRR |
|---|---|---|---|---|---|
| dev | 0.7188498402555911 | 0.8293016887266088 | 0.8580556823368325 | 0.8667275216795983 | 0.7684439989494755 |
| test | 0.7339609483960948 | 0.8425732217573222 | 0.7795647373314744 |
from sentence_transformers import CrossEncoder
model = CrossEncoder("bikingSolo/prominer-ru-reranker", num_labels=1)
scores = model.predict([
(
"вестибулокохлеарный нерв",
"слуховой нерв; вестибулокохлеарный нерв; nervus vestibulocochlearis [viii]",
)
])
This checkpoint is intended for research and reproducibility of the ProMiNER BioNNE-L Russian entity-linking pipeline. For the full system, use:
prominer-ru-retriever to retrieve candidate UMLS concepts.prominer-ru-reranker to rerank those candidates with candidate-context profiles.The dictionary-pretrained cross-encoder is primarily an intermediate checkpoint used to initialize the final reranker.
Training and evaluation use BioNNE-L/NEREL-BIO resources and UMLS-derived terminology available in this repository's data layout. Cite the relevant NEREL-BIO and BioNNE-L papers when using this model.
Check https://github.com/bikingSolo/prominer for more info.