alt.freeweights.vision / qnli-distilroberta-base
From: cross-encoder <huggingface.co/cross-encoder>Newsgroups: alt.freeweights.visionSubject:

qnli-distilroberta-base

Date: 2026-11-15Commit: 7dd04eeSigned: 2DC28CC7B26A283B ✓

Text ranking model with 82M parameters. Onnx and openvino and safetensors weights, 3.21 GB in all. Published by cross-encoder under Apache-2.0.

82M params3.21GBqnli-distilroberta-baseonnx openvino safetensorspermissive
FactsParams82MSize3.21 GBFormatsonnx, openvino, safetensorsTasktext rankingLicenseApache-2.0From sourcepermissive
$ fw get cross-encoder/qnli-distilroberta-base
# manifest sha256 76ff67ea75ec… · 3.21 GB · 25 files
$ fw verify ./qnli-distilroberta-base cross-encoder/qnli-distilroberta-base
From sourceHosted (signed)cross-encoder/qnli-distilroberta-baseLast check: 2026-11-15 04:58 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Quantized of distilroberta-base.

Overview

Size
3.21 GB
Weights
328 MB (safetensors)
Parameters
82M
Formats
onnx, openvino, safetensors
Task
text ranking
License
Apache-2.0 (permissive)
Files
25, each with a sha256
Publisher
cross-encoder
Added
2026-11-15
Section
alt.freeweights.vision
Lineage

Original release from the publisher.

Base model: distilbert/distilroberta-base

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 04:58 UTCpassed

Model card

From the publisher at commit 7dd04ee. Shown as plain text with links; images open at the publisher.

Cross-Encoder for SQuAD (QNLI)#

This model was trained using SentenceTransformers Cross-Encoder class.

Training Data#

Given a question and paragraph, can the question be answered by the paragraph? The models have been trained on the GLUE QNLI dataset, which transformed the SQuAD dataset into an NLI task.

Performance#

For performance results of this model, see [SBERT.net Pre-trained Cross-Encoder][https://www.sbert.net/docs/pretrained_cross-encoders.html].

Usage#

Pre-trained models can be used like this:

from sentence_transformers import CrossEncoder

model = CrossEncoder('cross-encoder/qnli-distilroberta-base')
scores = model.predict([('Query1', 'Paragraph1'), ('Query2', 'Paragraph2')])

#e.g.
scores = model.predict([('How many people live in Berlin?', 'Berlin had a population of 3,520,031 registered inhabitants in an area of 891.82 square kilometers.'), ('What is the size of New York?', 'New York City is famous for the Metropolitan Museum of Art.')])

Usage with Transformers AutoModel#

You can use the model also directly with Transformers library (without SentenceTransformers library):

from transformers import AutoTokenizer, AutoModelForSequenceClassification
import torch

model = AutoModelForSequenceClassification.from_pretrained('cross-encoder/qnli-distilroberta-base')
tokenizer = AutoTokenizer.from_pretrained('cross-encoder/qnli-distilroberta-base')

features = tokenizer(['How many people live in Berlin?', 'What is the size of New York?'], ['Berlin had a population of 3,520,031 registered inhabitants in an area of 891.82 square kilometers.', 'New York City is famous for the Metropolitan Museum of Art.'],  padding=True, truncation=True, return_tensors="pt")

model.eval()
with torch.no_grad():
    scores = torch.nn.functional.sigmoid(model(**features).logits)
    print(scores)

Files

25 files · 3.21 GBWeights 328 MB (safetensors). Sizes and sha256 from the signed manifest.
Show all 25 files with their sha256
FileSizesha256
.gitattributes445 B98c91dabef4df27b2fc7c8454d220aba47476f73593cbd034d961fe4927304c1
CEBinaryAccuracyEvaluator_qnli-dev_results.csv140 Bf7e34ef5e09d7c0c6ed593b7c68f916d6bc373dbc2cffbde8f748e520e8040c1
README.md2.20 KBb208b2890e4ccd0b0a33f90cef35e1e7dbcc7834c77b07bd51894916750e4274
config.json689 Bb04d6ecae8262ef631ee236b029e14515db4a9d2389aacc73d42856d028f4264
flax_model.msgpack328 MBf22d739614b08b6a293d9edddb9fb5fc32bfe9acc63f2157a95fd3a8cc861076
merges.txt456 KB1ce1664773c50f3e0cc8842619a93edc4624525b728b188a9e0be33b7726adc5
model.safetensors328 MB8b0cfff5547faac6a89c58eca8e0d26b3c4df0022937d59accb417957747ce6c
onnx/model.onnx329 MBb3a9df1010c6740086a24ef5a55c671a7b5a38db78ddf6012deae19b4c48f8ed
onnx/model_O1.onnx329 MB5a6f2737cbb2a97bba1cea8f38ecf016158d9e3a43f7cb1dd8c7b9528e5210ec
onnx/model_O2.onnx329 MBf8944d864ad125d7ffe69cb92294279012dcec2d38e72225edd2656ec8385eea
onnx/model_O3.onnx329 MB36158343d75f57b569df6d8596512f4073610ba959077c2ee2e711b4fd3ae8b0
onnx/model_O4.onnx164 MB018e14a72fe55ef936d86c2bfdb4d4c05d49a9e7f334ff8798100833b8e36696
onnx/model_qint8_arm64.onnx82.8 MB4c3d2853f28c9a450054b40e02a683a10ab74076d726fb0ac9c8f19fbc27a3c3
onnx/model_qint8_avx512.onnx82.8 MB4c3d2853f28c9a450054b40e02a683a10ab74076d726fb0ac9c8f19fbc27a3c3
onnx/model_qint8_avx512_vnni.onnx82.8 MB4c3d2853f28c9a450054b40e02a683a10ab74076d726fb0ac9c8f19fbc27a3c3
onnx/model_quint8_avx2.onnx82.8 MB7037afc2d93bfabb15637a98f0a183eab8c3064dfd2b62d286d6f38a149cefe1
openvino/openvino_model.bin328 MB04334cbe109b0b6b382a8c6cfbb4a965200eef2faf97f9c0f7ec693f9b3c0334
openvino/openvino_model.xml212 KBe121fb7b5a5ce98b89b45d5165dad00963a85dfb2bfee07075af0e8aa8fa87b8
openvino/openvino_model_qint8_quantized.bin82.8 MB466a93037e3e15ae56960ddaa10574a8bb87b5e75a2ba89fa2ff3b9a4dcba3d2
openvino/openvino_model_qint8_quantized.xml379 KB2821639bc0a9880ddabc9aca28b2ff4b8fdf53682e6bf082dd5fcf2a7899ebf9
pytorch_model.bin329 MB2f87f2db9fdf8b9c534ad88e73295d9771f622ad68acb0cd34f48e04e3cce140
special_tokens_map.json1.01 KBb72f59af007f804a5b6514f6ed8d59b4723349105471bcc3a881591fd586e2d5
tokenizer.json3.56 MB727009a8214ddfa5af1deedf1006d4d06e8e51e54aa5f03566263d4e19bfcdce
tokenizer_config.json1.30 KB253e231e9ae9fd6e64762375b14c8f7f266c711b75d2b74a17170e6f3defe729
vocab.json798 KBed19656ea1707df69134c4af35c8ceda2cc9860bf2c3495026153a133670ab5e
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
7dd04ee0a6 pinned now2026-11-15 04:58 UTC25 files · 3.21 GB

Use it

$ fw get cross-encoder/qnli-distilroberta-base
# manifest sha256 76ff67ea75ec… · 3.21 GB · 25 files
$ fw verify ./qnli-distilroberta-base cross-encoder/qnli-distilroberta-base
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/cross-encoder/qnli-distilroberta-base.json --dir ./qnli-distilroberta-base $ python3 fw.py verify ./qnli-distilroberta-base ./cross-encoder__qnli-distilroberta-base.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download cross-encoder/qnli-distilroberta-base --revision 7dd04ee0a6040c06fb381ad7edcb8585f4d937fd --local-dir ./qnli-distilroberta-base

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
b208b2890e4ccd0b0a33f90cef35e1e7dbcc7834c77b07bd51894916750e4274
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: cross-encoder <huggingface.co/cross-encoder>Newsgroups: alt.freeweights.visionSubject: qnli-distilroberta-baseDate: 2026-11-15Commit: 7dd04eeSigned: 2DC28CC7B26A283B ✓
Upstream
cross-encoder/qnli-distilroberta-base
Pinned commit
7dd04ee0a6040c06fb381ad7edcb8585f4d937fd
Manifest
qnli-distilroberta-base.json · .minisig
Manifest sha256
76ff67ea75ecd630ca48056e6258ff0eca0e2bb65f724de1f776776d21f8745d
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 04:58 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/cross-encoder/qnli-distilroberta-base.json $ curl -O https://freeweights.allternit.com/manifests/cross-encoder/qnli-distilroberta-base.json.minisig $ minisign -Vm qnli-distilroberta-base.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

Parent

distilbert/distilroberta-base · this model is a quantization of it

No model in the catalog names this one as its parent.

Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download cross-encoder/qnli-distilroberta-base
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. qnli-distilroberta-base.json. Provenance. Takedown history: none.
From: dima806 <huggingface.co/dima806>Subject: ai_vs_real_image_detection
From: legekka <huggingface.co/legekka>Subject: AI-Anime-Image-Detector-ViT
From: onnx-community <huggingface.co/onnx-community>Subject: AI-Anime-Image-Detector-ViT-ONNX
From: AICodexLab <huggingface.co/AICodexLab>Subject: answerdotai-ModernBERT-base-ai-detector
From: onnx-community <huggingface.co/onnx-community>Subject: answerdotai-ModernBERT-base-ai-detector-ONNX
From: onnx-community <huggingface.co/onnx-community>Subject: bart-large-cnn-ONNX