Downloads · 30 days
22
1% of all-time downloads
efederici/cross-encoder-distilbert-it
cross-encoder-distilbert-it is a text classification model from efederici. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
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.
Downloads · 30 days
22
1% of all-time downloads
All-time downloads
1.6K
Public
Parameters
63.1M
505 MB on disk
Likes
0
Public
Click a slice to open those files.
.bin252 MB · 50%
From the Hugging Face model README
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.
<p align="center"> <img src="https://www.exibart.com/repository/media/2020/07/bridget-riley-cool-edge.jpg" width="400"> </br> Bridget Riley, COOL EDGE </p>This model was trained on a custom biomedical ranking dataset.
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').