Downloads · 30 days
314
0% of all-time downloads
navteca/quora-roberta-base
quora-roberta-base is a text classification model from navteca. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as mit.
This model was trained using SentenceTransformers Cross-Encoder class.
Downloads · 30 days
314
0% of all-time downloads
All-time downloads
188K
Public
Repo size
1.5 GB
Likes
0
Public
Click a slice to open those files.
.bin499 MB · 50%
From the Hugging Face model README
This model was trained using SentenceTransformers Cross-Encoder class.
This model uses roberta-base.
This model was trained on the Quora Duplicate Questions dataset.
The model will predict a score between 0 and 1: How likely the two given questions are duplicates.
Note: The model is not suitable to estimate the similarity of questions, e.g. the two questions "How to learn Java" and "How to learn Python" will result in a rahter low score, as these are not duplicates.
The trained model can be used like this:
from sentence_transformers import CrossEncoder
model = CrossEncoder('model_name')
scores = model.predict([('Question 1', 'Question 2'), ('Question 3', 'Question 4')])
print(scores)