SAVRN
Search Contact SAVRN

Open-weight model · Zero-shot classification

nli-deberta-v3-xsmall

by Joshua Xenova/nli-deberta-v3-xsmall

https://huggingface.co/cross-encoder/nli-deberta-v3-xsmall with ONNX weights to be compatible with Transformers.js.

Parameters
Context512
Weights1.3 GB
License
AccessOpen weights
Monthly Downloads7.5k

Model Card

https://huggingface.co/cross-encoder/nli-deberta-v3-xsmall with ONNX weights to be compatible with Transformers.js. If you haven't already, you can install the Transformers.js JavaScript library from NPM using: Note: Having a separate repo for ONNX weights is intended to be a temporary solution until WebML gains more traction. If you would like to make your models web-ready, we recommend converting to ONNX using Optimum and structuring your repo like this one (with ONNX weights located in a subfolder named onnx).

Excerpt from the card by Joshua.

Configuration

Architecture
DebertaV2ForSequenceClassification
Context length (tokens)
512
Layers
12
Hidden size
384
Feed-forward size
1,536
Attention heads
6
Vocabulary size
128,100
Model type
deberta-v2

Identity and Version

Repository
Xenova/nli-deberta-v3-xsmall
Publisher
Joshua
Task
Zero-shot classification
Modality
Text
Library
transformers.js
Parameters
Not stated by the source
Languages
Not stated by the source
Revision
2a4f614a701367a02d51389039afc998faeda637
First published
2023-08-08
Last updated
2025-07-14

Files and Weights

17 files, 1.3 GB in total. The weights are 8 files totalling 1.3 GB in onnx.

Weights8 files · 1.3 GB
Configuration4 files · 2.4 KB
Tokenizer2 files · 8.7 MB
Documentation1 file · 1.2 KB
Other1 file · 2.5 MB
Repository1 file · 1.5 KB
Every file
FileTypeSizeSHA-256
onnx/model.onnxWeights284.2 MB 2fd05dda1dd5
onnx/model_bnb4.onnxWeights229.0 MB ba642e7ebed0
onnx/model_fp16.onnxWeights142.8 MB 2b260529bd21
onnx/model_int8.onnxWeights90.4 MB e1878da6c3a6
onnx/model_q4.onnxWeights230.4 MB b23e05ca1295
onnx/model_q4f16.onnxWeights120.8 MB 8e85c1045e03
onnx/model_quantized.onnxWeights87.2 MB 3fac2500c45c
onnx/model_uint8.onnxWeights90.4 MB f16bbb64e838
added_tokens.jsonConfiguration23 B
config.jsonConfiguration1.0 KB
quantize_config.jsonConfiguration1.2 KB
special_tokens_map.jsonConfiguration173 B
README.mdDocumentation1.2 KB
spm.modelOther2.5 MB c679fbf93643
.gitattributesRepository1.5 KB
tokenizer.jsonTokenizer8.7 MB
tokenizer_config.jsonTokenizer384 B

License and Download

License
Not stated by the source
Access
Open weights, no gate
Download size
1.3 GB
Download from Joshua

Released by Joshua through its official repository on Hugging Face.

Built From

Memory Requirements

PrecisionWeights in memory
As published1.3 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About nli-deberta-v3-xsmall

What is nli-deberta-v3-xsmall's context length?

512 tokens, from the maximum position embeddings in its published configuration.

Similar Models

Model · Zero-shot classification

bart-large-mnli

Joshua

https://huggingface.co/facebook/bart-large-mnli with ONNX weights to be compatible with Transformers.js. If you haven't already, you can install the Transformers.js JavaScript library from NPM using: Note: Having a separate repo for ONNX weights is intended to be a temporary solution until WebML gains more traction. If you would like to make your models web-ready, we recommend converting to ONNX using Optimum and structuring your repo like this one (with ONNX weights located in a subfolder named onnx).

Open weights 1,024 tokens transformers.js

Model · Zero-shot classification

distilbart-mnli-12-3

Suraj Patil

distilbart-mnli is the distilled version of bart-large-mnli created using the No Teacher Distillation technique proposed for BART summarisation by Huggingface, here. We just copy alternating layers from bart-large-mnli and finetune more on the same data. This is a very simple and effective technique, as we can see the performance drop is very little. Detailed performace trade-offs will be posted in this sheet. If you want to train these models yourself, clone the distillbart-mnli repo and follow the steps below Clone and install transformers from source Download MNLI data Create student model Start fine-tuning You can find the logs of these trained models in this wandb project.

Open weights 1,024 tokens transformers

Model · Zero-shot classification

distilbart-mnli-12-1

Suraj Patil

distilbart-mnli is the distilled version of bart-large-mnli created using the No Teacher Distillation technique proposed for BART summarisation by Huggingface, here. We just copy alternating layers from bart-large-mnli and finetune more on the same data. This is a very simple and effective technique, as we can see the performance drop is very little. Detailed performace trade-offs will be posted in this sheet. If you want to train these models yourself, clone the distillbart-mnli repo and follow the steps below Clone and install transformers from source Download MNLI data Create student model Start fine-tuning You can find the logs of these trained models in this wandb project.

Open weights 1,024 tokens transformers

Model · Zero-shot classification

mobilebert-uncased-mnli

Joshua

https://huggingface.co/typeform/mobilebert-uncased-mnli with ONNX weights to be compatible with Transformers.js. If you haven't already, you can install the Transformers.js JavaScript library from NPM using: Note: Having a separate repo for ONNX weights is intended to be a temporary solution until WebML gains more traction. If you would like to make your models web-ready, we recommend converting to ONNX using Optimum and structuring your repo like this one (with ONNX weights located in a subfolder named onnx).

Open weights 512 tokens transformers.js

Model · Zero-shot classification

distilbert-base-uncased-mnli

Joshua

https://huggingface.co/typeform/distilbert-base-uncased-mnli with ONNX weights to be compatible with Transformers.js. If you haven't already, you can install the Transformers.js JavaScript library from NPM using: Note: Having a separate repo for ONNX weights is intended to be a temporary solution until WebML gains more traction. If you would like to make your models web-ready, we recommend converting to ONNX using Optimum and structuring your repo like this one (with ONNX weights located in a subfolder named onnx).

Open weights 512 tokens transformers.js