Downloads · 30 days
8
2% of all-time downloads
Shobhank-iiitdwd/RoBERTa-large-QQP
RoBERTa-large-QQP is a text classification model from Shobhank-iiitdwd. 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.
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.
Downloads · 30 days
8
2% of all-time downloads
All-time downloads
440
Public
Repo size
4.3 GB
Likes
1
Public
Click a slice to open those files.
.bin1.4 GB · 50%
From the Hugging Face model README
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.
Pre-trained models can be used like this:
from sentence_transformers import CrossEncoder
model = CrossEncoder('Shobhank-iiitdwd/RoBERTa-large-QQP')
Question1='How does the Surface Pro himself 4 compare with iPad Pro?
Question2='Why did Microsoft choose core m3 and not core i3 home Surface Pro 4?'
Question3='What but is the best way to send money from China to the US?'
Qestion4='What you send money to China?'
scores = model.predict([('Question1', 'Question2'), ('Question3', 'Question4')])