This model was trained using SentenceTransformers Cross-Encoder class.
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 rather low score, as these are not duplicates.
Pre-trained models can be used like this:
from sentence_transformers import CrossEncoder
model = CrossEncoder('cross-encoder/quora-roberta-large')
scores = model.predict([('Question 1', 'Question 2'), ('Question 3', 'Question 4')])
You can use this model also without sentence_transformers and by just using Transformers AutoModel class
onnx/model.onnx 1.3 GiBonnx/model_O1.onnx 1.3 GiBpytorch_model.bin 1.3 GiBonnx/model_O2.onnx 1.3 GiBonnx/model_O3.onnx 1.3 GiBmodel.safetensors 1.3 GiBopenvino/openvino_model.bin 1.3 GiBonnx/model_O4.onnx 678 MiBonnx/model_qint8_arm64.onnx 342 MiBonnx/model_qint8_avx512.onnx 342 MiBonnx/model_qint8_avx512_vnni.onnx 342 MiBonnx/model_quint8_avx2.onnx 342 MiBopenvino/openvino_model_qint8_quantized.bin 342 MiBFacebookAI/roberta-large