cross-encoder-distilbert-it

作者 efederici · 下载 21 · 点赞 0 · 更新 2023-10-31

cross-encoder sentence-similarity transformers

Cross-Encoder

The model can be used for Information Retrieval: given a query, encode the query will all possible passages. Then sort the passages in a decreasing order.

cross-encoder-distilbert-it 预览 1
Bridget Riley, COOL EDGE

Training Data

This model was trained on a custom biomedical ranking dataset.

Usage and Performance

from sentence_transformers import CrossEncoder
model = CrossEncoder('efederici/cross-encoder-distilbert-it')
scores = model.predict([('Sentence 1', 'Sentence 2'), ('Sentence 3', 'Sentence 4')])

The model will predict scores for the pairs ('Sentence 1', 'Sentence 2') and ('Sentence 3', 'Sentence 4').