AI SeedbankHelp preserve open and free AI for humanity's future

← All models

cross-encoder_nli-deberta-v3-base

cross-encoder · View on Hugging Face ↗

Get this model

Download TorrentMagnet Link

Seeders: · Leechers:

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-base

Open magnet in torrent client · infohash ee1cb4f320ad1f69782b8d4bd23757230058cf4a

Files & hashes

PathSizesha1sha256
CESoftmaxAccuracyEvaluator_AllNLI-dev_results.csv682 B (682 B)a3b8b123e586a30737ad904babc4dce037158426145e4383bab068470215d3d70486719c90b4af425c0ba90d62a068e1ee2f9ba9
README.md2.8 KB (2,856 B)c38ae8fb13e12d744661486bf343f99e1c623065b6a6dd82d5fee7036e3b815ce1d28458df294d8525fc234fb7e7277b6b79d878
added_tokens.json26 B (26 B)71b89921f9568175266f31ac7e5ed6c39f008fd3a4b6bfe668f2b3cf6f0cd535e98a0663d2d0d4a4a15f13075ad3597d33985a23
config.json1.0 KB (1,052 B)f421929530a688a116ac1f95911e6aa06bd4820d897e756eb59d3183adb505952e7910e7cbc7750a43f3b3747a96b688d2b02a47
model.safetensors703.6 MB (737,726,552 B)276919b9dad059eb4928d55172d2b374d85adb04d8148c6d49e0a7925134294c56326c71fe0ab1dc390e37355e00c7efbb488afa
pytorch_model.bin703.6 MB (737,790,098 B)7d396653dec4cfd4e98bcc9d244ce1f5dc3f669a947f94dbf29b60831cc4c043e6c4449cf88c6f82843e9b857438b2a8967d2cb8
special_tokens_map.json301 B (301 B)21ee423233314af53c84b2a229398f8b425672f5ed7c099c988dbb414b18a6980d20cb57b91b7cd119f6f6941eb364b0e892e712
spm.model2.4 MB (2,464,616 B)1993e578cb006883fd01014f831c6261e8136823c679fbf93643d19aab7ee10c0b99e460bdbc02fedf34b92b05af343b4af586fd
tokenizer.json8.3 MB (8,656,624 B)12cc2e86bad0e731393847b017b32a7405ebd4f85124ef2ead1a10a717703bc436de7f353da76d6340e4587719b42b1693707964
tokenizer_config.json1.3 KB (1,346 B)734481711f0d172bd376a6d06c545286d58d8159f3eecd07c370ef0bf7dd3780d3cd68cf9c8b00c267e21a208ddcd8f82bfec1a6

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 repositorycross-encoder/nli-deberta-v3-base
Revision (pinned)6c749ce3425cd33b46d187e45b92bbf96ee12ec7
Fetched at2026-09-03T21:25:02Z
License at fetchapache-2.0
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ 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)