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

← All models

cross-encoder_nli-deberta-v3-xsmall

cross-encoder · View on Hugging Face ↗

Get this model

Download TorrentMagnet Link

Seeders: 1 · Leechers: 0

Observed 2026-09-02T13:56:39Z via announce.aitorrent.org:7070.

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

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.64
  • Accuracy on MNLI mismatched set: 87.77

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-xsmall')
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-xsmall')
tokenizer = AutoTokenizer.from_pretrained('cross-encoder/nli-deberta-v3-xsmall')

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-xsmall')

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:a7e07066599d969dc477dfb31d64c6ef3171b868&dn=cross-encoder_nli-deberta-v3-xsmall

Open magnet in torrent client · infohash a7e07066599d969dc477dfb31d64c6ef3171b868

Files & hashes

PathSizesha1sha256
CESoftmaxAccuracyEvaluator_AllNLI-dev_results.csv681 B (681 B)99b7ec9775c79a0ce69377f487f17108febc43162887329b30414f5f2349f5f3a384889569dcbac04b065d88d08d25afa72ca464
README.md2.8 KB (2,871 B)7a60c3d6be4a7f1ad72b7a599506b36012af5c444aeb5585a9eeb71b2d572249f9faa22ef3378c6abee3eeaffaae8c961068a2c6
added_tokens.json26 B (26 B)71b89921f9568175266f31ac7e5ed6c39f008fd3a4b6bfe668f2b3cf6f0cd535e98a0663d2d0d4a4a15f13075ad3597d33985a23
config.json1.0 KB (1,053 B)855bc825dc75ef9bc0a33ca9619d2870531d42748d9f07bf7ba54a6fc3b1962483056f94c39dcf188db4cf61843e1c88f94b2342
model.safetensors270.2 MB (283,353,172 B)96c41dddee4892233d7d148cf1032fb15d2fc47f4e4fc4977f8d29d2a164255c8f69b9d6c158deeb309bb5e70445b94666ccd9e9
pytorch_model.bin270.3 MB (283,416,722 B)684652ac7be722abfea69464908a221befb47dcb7bfaa3c5238c1cddcf8a8f76bc82686a653473218f880452dded766a93f41461
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-xsmall/
Slug
cross-encoder_nli-deberta-v3-xsmall
Infohash
a7e07066599d969dc477dfb31d64c6ef3171b868
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-xsmall.SHA256SUMS (+ minisign signature).

Provenance

Upstream repositorycross-encoder/nli-deberta-v3-xsmall
Revision (pinned)a150876415327c80daeff35ca6f68f5ed8cf5c24
Fetched at2026-09-02T04:29:23Z
License at fetchapache-2.0
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ verified · rehash-vs-hf-metadata at 2026-09-02T04:29:30Z

apache-2.0551.1 MB (577,897,412 bytes)sentence-transformerspytorchonnxsafetensorsdeberta-v2text-classificationtransformerszero-shot-classification1 language (en)