ONNX Model Zoo

cross-encoder/quora-distilroberta-base

By cross-encoder · ↓ 66.7K · ♥ 1 · Updated 2025-04-11

What's in this repo

This page lists the files in cross-encoder/quora-distilroberta-base, including model.onnx, model_O1.onnx, model_O2.onnx and more.

  • 9 ONNX models (.onnx files)
  • 25 files, including 9 .onnx, 5 .json, 3 .bin, 2 .xml, 1 .csv, 1 .md
  • Repository size ~3.0 GB
  • Last updated 2025-04-11

ONNX files

File Size Download
onnx/model.onnx 313 MB Download
onnx/model_O1.onnx 313 MB Download
onnx/model_O2.onnx 313 MB Download
onnx/model_O3.onnx 313 MB Download
onnx/model_O4.onnx 157 MB Download
onnx/model_qint8_arm64.onnx 79.0 MB Download
onnx/model_qint8_avx512.onnx 79.0 MB Download
onnx/model_qint8_avx512_vnni.onnx 79.0 MB Download
onnx/model_quint8_avx2.onnx 79.0 MB Download

How to use

These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.

README

Cross-Encoder for Quora Duplicate Questions Detection

This model was trained using SentenceTransformers Cross-Encoder class.

Training Data

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.

Usage and Performance

Pre-trained models can be used like this:

from sentence_transformers import CrossEncoder

model = CrossEncoder('cross-encoder/quora-distilroberta-base')
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

Model info

text-ranking sentence-transformers
sentence-transformers pytorch jax onnx safetensors openvino roberta text-classification transformers text-ranking en dataset:sentence-transformers/quora-duplicates
↓ 66.7K ♥ 1

Created: 2022-03-02

Updated: 2025-04-11

View on Hugging Face

Files (25)

.gitattributes
CEBinaryClassificationEvaluator_Quora-dev_results.csv
README.md
config.json
flax_model.msgpack
merges.txt
model.safetensors
onnx/model.onnx 313 MB ONNX
onnx/model_O1.onnx 313 MB ONNX
onnx/model_O2.onnx 313 MB ONNX
onnx/model_O3.onnx 313 MB ONNX
onnx/model_O4.onnx 157 MB ONNX
onnx/model_qint8_arm64.onnx 79.0 MB ONNX
onnx/model_qint8_avx512.onnx 79.0 MB ONNX
onnx/model_qint8_avx512_vnni.onnx 79.0 MB ONNX
onnx/model_quint8_avx2.onnx 79.0 MB ONNX
openvino/openvino_model.bin
openvino/openvino_model.xml
openvino/openvino_model_qint8_quantized.bin
openvino/openvino_model_qint8_quantized.xml
pytorch_model.bin
special_tokens_map.json
tokenizer.json
tokenizer_config.json
vocab.json

Related models