cross-encoder_nli-deberta-v3-small
cross-encoder · View on Hugging Face ↗
Model card
The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.
language: en pipeline_tag: zero-shot-classification tags:
- transformers datasets:
- nyu-mll/multi_nli
- stanfordnlp/snli metrics:
- accuracy license: apache-2.0 base_model:
- microsoft/deberta-v3-small library_name: sentence-transformers
Cross-Encoder for Natural Language Inference
This model was trained using SentenceTransformers Cross-Encoder class. This model is based on microsoft/deberta-v3-small
Training Data
The model was trained on the SNLI and MultiNLI datasets. For a given sentence pair, it will output three scores corresponding to the labels: contradiction, entailment, neutral.
Performance
- Accuracy on SNLI-test dataset: 91.65
- Accuracy on MNLI mismatched set: 87.55
For futher evaluation results, see SBERT.net - Pretrained Cross-Encoder.
Usage
Pre-trained models can be used like this:
from sentence_transformers import CrossEncoder
model = CrossEncoder('cross-encoder/nli-deberta-v3-small')
scores = model.predict([('A man is eating pizza', 'A man eats something'), ('A black race car starts up in front of a crowd of people.', 'A man is driving down a lonely road.')])
#Convert scores to labels
label_mapping = ['contradiction', 'entailment', 'neutral']
labels = [label_mapping[score_max] for score_max in scores.argmax(axis=1)]
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/nli-deberta-v3-small')
tokenizer = AutoTokenizer.from_pretrained('cross-encoder/nli-deberta-v3-small')
features = tokenizer(['A man is eating pizza', 'A black race car starts up in front of a crowd of people.'], ['A man eats something', 'A man is driving down a lonely road.'], padding=True, truncation=True, return_tensors="pt")
model.eval()
with torch.no_grad():
scores = model(**features).logits
label_mapping = ['contradiction', 'entailment', 'neutral']
labels = [label_mapping[score_max] for score_max in scores.argmax(dim=1)]
print(labels)
Zero-Shot Classification
This model can also be used for zero-shot-classification:
from transformers import pipeline
classifier = pipeline("zero-shot-classification", model='cross-encoder/nli-deberta-v3-small')
sent = "Apple just announced the newest iPhone X"
candidate_labels = ["technology", "sports", "politics"]
res = classifier(sent, candidate_labels)
print(res)
Magnet link
Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:
magnet:?xt=urn:btih:a98eb3d1d0b6a9698e7b1375f7f200b63ab8b53d&dn=cross-encoder_nli-deberta-v3-smallOpen magnet in torrent client · infohash a98eb3d1d0b6a9698e7b1375f7f200b63ab8b53d
Files & hashes
| Path | Size | sha1 | sha256 |
|---|---|---|---|
| CESoftmaxAccuracyEvaluator_AllNLI-dev_results.csv | 678 B (678 B) | f2d4272e2f1c156ba8eee74feeb327882a7ce2e8 | e8dfe95a9db1190cfa53b900dca9ed6059afaf5d2a43b59d0dfe069d69413afd |
| README.md | 2.8 KB (2,864 B) | e0d26329f017dc3a92f03a99578a92fdee6c9837 | a9aa108025ad1984374c5e80365406bafe331aea5abc30239e1796ec0a7c267d |
| added_tokens.json | 26 B (26 B) | 71b89921f9568175266f31ac7e5ed6c39f008fd3 | a4b6bfe668f2b3cf6f0cd535e98a0663d2d0d4a4a15f13075ad3597d33985a23 |
| config.json | 1.0 KB (1,052 B) | 69a0f734d3ab525dc1eb951b46f1d0f7dd52230c | 885d0dceae8fa5c136da9209121ec9eb11160488e840de3bc1f29353674e5712 |
| model.safetensors | 541.3 MB (567,605,820 B) | d33465ff81fd91aca42c586f45062dc64d4d9e34 | ebc79588dd73ccfb6a3f6078519cfbf512c5305384c5ea1845bc71cd32216e86 |
| pytorch_model.bin | 541.3 MB (567,639,154 B) | d7ce2f8ea784891f6700c26debe406d299b03928 | 2930841dcaa813d1e04bf0d8bbb4415d795ed6e36719c6fffb613a3fd26faabc |
| special_tokens_map.json | 301 B (301 B) | 21ee423233314af53c84b2a229398f8b425672f5 | ed7c099c988dbb414b18a6980d20cb57b91b7cd119f6f6941eb364b0e892e712 |
| spm.model | 2.4 MB (2,464,616 B) | 1993e578cb006883fd01014f831c6261e8136823 | c679fbf93643d19aab7ee10c0b99e460bdbc02fedf34b92b05af343b4af586fd |
| tokenizer.json | 8.3 MB (8,656,624 B) | 12cc2e86bad0e731393847b017b32a7405ebd4f8 | 5124ef2ead1a10a717703bc436de7f353da76d6340e4587719b42b1693707964 |
| tokenizer_config.json | 1.3 KB (1,346 B) | 734481711f0d172bd376a6d06c545286d58d8159 | f3eecd07c370ef0bf7dd3780d3cd68cf9c8b00c267e21a208ddcd8f82bfec1a6 |
Cite this release
- Canonical URL
- https://aiseedbank.org/models/cross-encoder_nli-deberta-v3-small/
- Slug
- cross-encoder_nli-deberta-v3-small
- Infohash
- a98eb3d1d0b6a9698e7b1375f7f200b63ab8b53d
- License
- apache-2.0
- Signing key fingerprint
- 85a3b32c3712427b
Every file carries a locally computed sha256 — verify a download against the signed sums: cross-encoder_nli-deberta-v3-small.SHA256SUMS (+ minisign signature).
Provenance
| Upstream repository | cross-encoder/nli-deberta-v3-small |
|---|---|
| Revision (pinned) | fa2804872c3b4bd748f38c0185cc85775361e735 |
| Fetched at | 2026-09-03T21:25:19Z |
| License at fetch | apache-2.0 |
| Snapshot tool | huggingface · seedbank 0.1.0 |
Trackers
- udp://announce.aitorrent.org:6969/announce
- http://announce.aitorrent.org:7070/announce
- udp://announce2.aitorrent.org:6970/announce
- http://announce2.aitorrent.org:7071/announce
- udp://tracker.opentrackr.org:1337/announce
- udp://open.demonii.com:1337/announce
- udp://open.stealth.si:80/announce
- udp://exodus.desync.com:6969/announce
- udp://tracker.torrent.eu.org:451/announce
✓ verified · rehash-vs-hf-metadata at 2026-09-03T21:25:32Z
apache-2.01.07 GB (1,146,372,481 bytes)sentence-transformerspytorchonnxsafetensorsdeberta-v2text-classificationtransformerszero-shot-classification1 language (en)