cross-encoder_nli-deberta-v3-base
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-base 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-base
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: 92.38
- Accuracy on MNLI mismatched set: 90.04
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-base')
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-base')
tokenizer = AutoTokenizer.from_pretrained('cross-encoder/nli-deberta-v3-base')
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-base')
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:ee1cb4f320ad1f69782b8d4bd23757230058cf4a&dn=cross-encoder_nli-deberta-v3-baseOpen magnet in torrent client · infohash ee1cb4f320ad1f69782b8d4bd23757230058cf4a
Files & hashes
| Path | Size | sha1 | sha256 |
|---|---|---|---|
| CESoftmaxAccuracyEvaluator_AllNLI-dev_results.csv | 682 B (682 B) | a3b8b123e586a30737ad904babc4dce037158426 | 145e4383bab068470215d3d70486719c90b4af425c0ba90d62a068e1ee2f9ba9 |
| README.md | 2.8 KB (2,856 B) | c38ae8fb13e12d744661486bf343f99e1c623065 | b6a6dd82d5fee7036e3b815ce1d28458df294d8525fc234fb7e7277b6b79d878 |
| added_tokens.json | 26 B (26 B) | 71b89921f9568175266f31ac7e5ed6c39f008fd3 | a4b6bfe668f2b3cf6f0cd535e98a0663d2d0d4a4a15f13075ad3597d33985a23 |
| config.json | 1.0 KB (1,052 B) | f421929530a688a116ac1f95911e6aa06bd4820d | 897e756eb59d3183adb505952e7910e7cbc7750a43f3b3747a96b688d2b02a47 |
| model.safetensors | 703.6 MB (737,726,552 B) | 276919b9dad059eb4928d55172d2b374d85adb04 | d8148c6d49e0a7925134294c56326c71fe0ab1dc390e37355e00c7efbb488afa |
| pytorch_model.bin | 703.6 MB (737,790,098 B) | 7d396653dec4cfd4e98bcc9d244ce1f5dc3f669a | 947f94dbf29b60831cc4c043e6c4449cf88c6f82843e9b857438b2a8967d2cb8 |
| 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-base/
- Slug
- cross-encoder_nli-deberta-v3-base
- Infohash
- ee1cb4f320ad1f69782b8d4bd23757230058cf4a
- 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-base.SHA256SUMS (+ minisign signature).
Provenance
| Upstream repository | cross-encoder/nli-deberta-v3-base |
|---|---|
| Revision (pinned) | 6c749ce3425cd33b46d187e45b92bbf96ee12ec7 |
| Fetched at | 2026-09-03T21:25:02Z |
| 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:18Z
apache-2.01.38 GB (1,486,644,153 bytes)sentence-transformerspytorchonnxsafetensorsdeberta-v2text-classificationtransformerszero-shot-classification1 language (en)