SAVRN
Search Contact SAVRN

Open-weight model · Zero-shot classification

deberta-v3-large-tasksource-nli

by Damien Sileo sileod/deberta-v3-large-tasksource-nli

DeBERTa-v3-large fine-tuned with multi-task learning on 600 tasks of the tasksource collection You can further fine-tune this model to use it for any classification or multiple-choice task.

Parameters435M
Context512
Weights3.5 GB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads3.4k

Runs On

What it takes to serve deberta-v3-large-tasksource-nli (435M parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.

PrecisionWeightsMemory neededCheapest setupPer hourAlso fits
16-bit 0.9 GB 1.0 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
8-bit 0.4 GB 0.5 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
4-bit 0.2 GB 0.3 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00

Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Sep 18, 2026.

Model Card

By Damien Sileo, published under apache-2.0, revision 212de447184b.

DeBERTa-v3-large fine-tuned with multi-task learning on 600 tasks of the tasksource collection You can further fine-tune this model to use it for any classification or multiple-choice task. This checkpoint has strong zero-shot validation performance on many tasks (e.g. 77% on WNLI). The untuned model CLS embedding also has strong linear probing performance (90% on MNLI), due to the multitask training. This is the shared model with the MNLI classifier on top. Its encoder was trained on many datasets including bigbench, Anthropic rlhf, anli... alongside many NLI and classification tasks with a SequenceClassification heads while using only one shared encoder. Each task had a specific CLS…

Read Damien Sileo's full model card

Model Card for DeBERTa-v3-large-tasksource-nli

DeBERTa-v3-large fine-tuned with multi-task learning on 600 tasks of the tasksource collection You can further fine-tune this model to use it for any classification or multiple-choice task. This checkpoint has strong zero-shot validation performance on many tasks (e.g. 77% on WNLI). The untuned model CLS embedding also has strong linear probing performance (90% on MNLI), due to the multitask training.

This is the shared model with the MNLI classifier on top. Its encoder was trained on many datasets including bigbench, Anthropic rlhf, anli... alongside many NLI and classification tasks with a SequenceClassification heads while using only one shared encoder. Each task had a specific CLS embedding, which is dropped 10% of the time to facilitate model use without it. All multiple-choice model used the same classification layers. For classification tasks, models shared weights if their labels matched. The number of examples per task was capped to 64k. The model was trained for 80k steps with a batch size of 384, and a peak learning rate of 2e-5.

tasksource training code: https://colab.research.google.com/drive/1iB4Oxl9_B5W3ZDzXoWJN-olUbqLBxgQS?usp=sharing

Software

https://github.com/sileod/tasksource/ \ https://github.com/sileod/tasknet/ \ Training took 6 days on Nvidia A100 40GB GPU.

Citation

More details on this article:

@article{sileo2023tasksource,
  title={tasksource: Structured Dataset Preprocessing Annotations for Frictionless Extreme Multi-Task Learning and Evaluation},
  author={Sileo, Damien},
  url= {https://arxiv.org/abs/2301.05948},
  journal={arXiv preprint arXiv:2301.05948},
  year={2023}
}

Loading a specific classifier

Classifiers for all tasks available. See https://huggingface.co/sileod/deberta-v3-large-tasksource-adapters

Model Card Contact

[email protected]

Configuration

Architecture
DebertaV2ForSequenceClassification
Context length (tokens)
512
Layers
24
Hidden size
1,024
Feed-forward size
4,096
Attention heads
16
Vocabulary size
128,100
Stored precision
float32
Model type
deberta-v2

Identity and Version

Repository
sileod/deberta-v3-large-tasksource-nli
Publisher
Damien Sileo
Task
Zero-shot classification
Modality
Text
Library
transformers
Parameters
435M parameters
Languages
en
Revision
212de447184bda8fb9415a2e5697846864ddf304
First published
2023-03-27
Last updated
2024-02-17

Files and Weights

10 files, 3.5 GB in total. The weights are 2 files totalling 3.5 GB in bin, safetensors.

Weights2 files · 3.5 GB
Configuration3 files · 19.1 KB
Tokenizer2 files · 8.7 MB
Documentation1 file · 6.4 KB
Other1 file · 2.5 MB
Repository1 file · 1.5 KB
Every file
FileTypeSizeSHA-256
model.safetensorsWeights1.7 GB 534780ea5d1f
pytorch_model.binWeights1.7 GB 4f13d15a0f69
added_tokens.jsonConfiguration23 B
config.jsonConfiguration18.8 KB
special_tokens_map.jsonConfiguration286 B
README.mdDocumentation6.4 KB
spm.modelOther2.5 MB c679fbf93643
.gitattributesRepository1.5 KB
tokenizer.jsonTokenizer8.7 MB
tokenizer_config.jsonTokenizer1.3 KB

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
3.5 GB
Download from Damien Sileo

Released by Damien Sileo through its official repository on Hugging Face. Read the license.

Built From

  • Described by arXiv:2301.05948
  • Trained on (disclosed) 12ml/e-CARE
  • Trained on (disclosed) Anthropic/hh-rlhf
  • Trained on (disclosed) Anthropic/model-written-evals
  • Trained on (disclosed) ColumbiaNLP/FLUTE
  • Trained on (disclosed) Dahoas/synthetic-instruct-gptj-pairwise
  • Trained on (disclosed) Ericwang/promptCoherence
  • Trained on (disclosed) Ericwang/promptGrammar
  • Trained on (disclosed) Ericwang/promptNLI
  • Trained on (disclosed) Ericwang/promptProficiency
  • Trained on (disclosed) Ericwang/promptSentiment
  • Trained on (disclosed) Ericwang/promptSpoke
  • Trained on (disclosed) GBaker/MedQA-USMLE-4-options-hf
  • Trained on (disclosed) PiC/phrase_similarity
  • Trained on (disclosed) RuyuanWan/Dilemmas_Disagreement
  • Trained on (disclosed) RuyuanWan/Dynasent_Disagreement
  • Trained on (disclosed) RuyuanWan/Politeness_Disagreement
  • Trained on (disclosed) RuyuanWan/SBIC_Disagreement
  • Trained on (disclosed) RuyuanWan/SChem_Disagreement
  • Trained on (disclosed) SetFit/insincere-questions
  • Trained on (disclosed) SetFit/toxic_conversations
  • Trained on (disclosed) SpeedOfMagic/ontonotes_english
  • Trained on (disclosed) YaHi/EffectiveFeedbackStudentWriting
  • Trained on (disclosed) acronym_identification
  • Trained on (disclosed) ade_corpus_v2
  • Trained on (disclosed) ag_news
  • Trained on (disclosed) ai2_arc
  • Trained on (disclosed) alisawuffles/WANLI
  • Trained on (disclosed) amazon_polarity
  • Trained on (disclosed) amydeng2000/CREAK
  • Trained on (disclosed) anli
  • Trained on (disclosed) app_reviews
  • Trained on (disclosed) aps/dynahate
  • Trained on (disclosed) aqua_rat
  • Trained on (disclosed) art
  • Trained on (disclosed) banking77
  • Trained on (disclosed) bigbench
  • Trained on (disclosed) blimp
  • Trained on (disclosed) blog_authorship_corpus
  • Trained on (disclosed) circa
  • Trained on (disclosed) codah
  • Trained on (disclosed) commonsense_qa
  • Trained on (disclosed) conll2003
  • Trained on (disclosed) copenlu/scientific-exaggeration-detection
  • Trained on (disclosed) corypaik/prost
  • Trained on (disclosed) cos_e
  • Trained on (disclosed) cosmos_qa
  • Trained on (disclosed) dbpedia_14
  • Trained on (disclosed) declare-lab/cicero
  • Trained on (disclosed) definite_pronoun_resolution
  • Trained on (disclosed) demelin/moral_stories
  • Trained on (disclosed) demo-org/auditor_review
  • Trained on (disclosed) discovery
  • Trained on (disclosed) dream
  • Trained on (disclosed) dynabench/dynasent
  • Trained on (disclosed) emo
  • Trained on (disclosed) ethos
  • Trained on (disclosed) financial_phrasebank
  • Trained on (disclosed) glue
  • Trained on (disclosed) go_emotions

Memory Requirements

PrecisionWeights in memory
As published3.5 GB
16-bit0.9 GB
8-bit0.4 GB
4-bit0.2 GB

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

Questions About deberta-v3-large-tasksource-nli

How much GPU memory does deberta-v3-large-tasksource-nli need?

About 1 GB at 16-bit and 0.3 GB at 4-bit: the weights (435M parameters) plus a working margin. A long context needs more.

What is the cheapest GPU to run deberta-v3-large-tasksource-nli on?

At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.

Can I use deberta-v3-large-tasksource-nli commercially?

Yes. deberta-v3-large-tasksource-nli is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.

What is deberta-v3-large-tasksource-nli's context length?

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

Similar Models

This model was fine-tuned on the MultiNLI, Fever-NLI, Adversarial-NLI (ANLI), LingNLI and WANLI datasets, which comprise 885 242 NLI hypothesis-premise pairs. This model is the best performing NLI model on the Hugging Face Hub as of 06.06.22 and can be used for zero-shot classification. It significantly outperforms all other large models on the ANLI benchmark. The foundation model is DeBERTa-v3-large from Microsoft. DeBERTa-v3 combines several recent innovations compared to classical Masked Language Models like BERT, RoBERTa etc., see the paper DeBERTa-v3-large-mnli-fever-anli-ling-wanli was trained on the MultiNLI, Fever-NLI, Adversarial-NLI (ANLI), LingNLI and WANLI datasets, which…

Open weights mit 435M parameters 512 tokens transformers

This model was trained using SentenceTransformers Cross-Encoder class. This model is based on microsoft/deberta-v3-large 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. For futher evaluation results, see SBERT.net - Pretrained Cross-Encoder. Pre-trained models can be used like this: You can use the model also directly with Transformers library (without SentenceTransformers library): This model can also be used for zero-shot-classification

Open weights apache-2.0 435M parameters 512 tokens sentence-transformers

Models in this series are designed for efficient zeroshot classification with the Hugging Face pipeline. These models can do classification without training data and run on both GPUs and CPUs. An overview of the latest zeroshot classifiers is available in my Zeroshot Classifier Collection. The main update of this zeroshot-v2.0 series of models is that several models are trained on fully commercially-friendly data for users with strict license requirements. These models can do one universal classification task: determine whether a hypothesis is "true" or "not true" given a text (entailment vs. notentailment). This task format is based on the Natural Language Inference task (NLI). The task is…

Open weights mit 435M parameters 512 tokens transformers

The model is designed for zero-shot classification with the Hugging Face pipeline. The model should be substantially better at zero-shot classification than my other zero-shot models on the The model can do one universal task: determine whether a hypothesis is true or nottrue given a text (also called entailment vs. notentailment). This task format is based on the Natural Language Inference task (NLI). The task is so universal that any classification task can be reformulated into the task. The model was trained on a mixture of 27 tasks and 310 classes that have been reformatted into this universal format. 1. 26 classification tasks with ~400k texts: 'amazonpolarity', 'imdb', 'appreviews'…

Open weights mit 435M parameters 512 tokens transformers

The model is designed for zero-shot classification with the Hugging Face pipeline. The model can do one universal classification task: determine whether a hypothesis is "true" or "not true" given a text (entailment vs. notentailment). This task format is based on the Natural Language Inference task (NLI). The task is so universal that any classification task can be reformulated into this task. A detailed description of how the model was trained and how it can be used is available in this paper. The model was trained on a mixture of 33 datasets and 387 classes that have been reformatted into this universal format. 1. Five NLI datasets with ~885k texts: "mnli", "anli", "fever", "wanli"…

Open weights mit 435M parameters 512 tokens transformers

Models in this series are designed for efficient zeroshot classification with the Hugging Face pipeline. These models can do classification without training data and run on both GPUs and CPUs. An overview of the latest zeroshot classifiers is available in my Zeroshot Classifier Collection. The main update of this zeroshot-v2.0 series of models is that several models are trained on fully commercially-friendly data for users with strict license requirements. These models can do one universal classification task: determine whether a hypothesis is "true" or "not true" given a text (entailment vs. notentailment). This task format is based on the Natural Language Inference task (NLI). The task is…

Open weights mit 435M parameters 512 tokens transformers