alt.freeweights.vision / deberta-small-long-nli
From: tasksource <huggingface.co/tasksource>Newsgroups: alt.freeweights.visionSubject:

deberta-small-long-nli

Date: 2026-11-15Commit: 9a77395Signed: 2DC28CC7B26A283B ✓

Zero shot classification model with 142M parameters. Safetensors weights, 1.15 GB in all. Published by tasksource under Apache-2.0.

142M params1.15GBdeberta-small-long-nlisafetensorspermissive
FactsParams142MSize1.15 GBFormatssafetensorsTaskzero shot classificationLicenseApache-2.0From sourcepermissive
$ fw get tasksource/deberta-small-long-nli
# manifest sha256 73856d2a0146… · 1.15 GB · 10 files
$ fw verify ./deberta-small-long-nli tasksource/deberta-small-long-nli
From sourceHosted (signed)tasksource/deberta-small-long-nliLast check: 2026-11-15 02:44 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Works with

Runs with

Ranked by fit to this model (safetensors), then by GitHub stars.

Overview

Size
1.15 GB
Weights
568 MB (safetensors)
Parameters
142M
Formats
safetensors
Task
zero shot classification
License
Apache-2.0 (permissive)
Files
10, each with a sha256
Publisher
tasksource
Added
2026-11-15
Section
alt.freeweights.vision
Lineage

Original release from the publisher.

Base model: microsoft/deberta-v3-small

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 02:44 UTCpassed

Model card

From the publisher at commit 9a77395. Shown as plain text with links; images open at the publisher.

Model Card for DeBERTa-v3-small-tasksource-nli#

DeBERTa-v3-small with context length of 1680 tokens fine-tuned on tasksource for 250k steps. I oversampled long NLI tasks (ConTRoL, doc-nli). Training data include HelpSteer v1/v2, logical reasoning tasks (FOLIO, FOL-nli, LogicNLI...), OASST, hh/rlhf, linguistics oriented NLI tasks, tasksource-dpo, fact verification tasks.

This model is suitable for long context NLI or as a backbone for reward models or classifiers fine-tuning.

This checkpoint has strong zero-shot validation performance on many tasks (e.g. 70% on WNLI), and can be used for:

  • Zero-shot entailment-based classification for arbitrary labels [ZS].
  • Natural language inference [NLI]
  • Further fine-tuning on a new task or tasksource task (classification, token classification or multiple-choice) [FT].
test_nameaccuracy
anli/a157.2
anli/a246.1
anli/a347.2
nli_fever71.7
FOLIO47.1
ConTRoL-nli52.2
cladder52.8
zero-shot-label-nli70.0
chatbot_arena_conversations67.8
oasst2_pairwise_rlhf_reward75.6
doc-nli75.0

Zero-shot GPT-4 scores 61% on FOLIO (logical reasoning), 62% on cladder (probabilistic reasoning) and 56.4% on ConTRoL (long context NLI).

[ZS] Zero-shot classification pipeline#

from transformers import pipeline
classifier = pipeline("zero-shot-classification",model="tasksource/deberta-small-long-nli")

text = "one day I will see the world"
candidate_labels = ['travel', 'cooking', 'dancing']
classifier(text, candidate_labels)

NLI training data of this model includes label-nli, a NLI dataset specially constructed to improve this kind of zero-shot classification.

[NLI] Natural language inference pipeline#

from transformers import pipeline
pipe = pipeline("text-classification",model="tasksource/deberta-small-long-nli")
pipe([dict(text='there is a cat',
  text_pair='there is a black cat')]) #list of (premise,hypothesis)
# [{'label': 'neutral', 'score': 0.9952911138534546}]

[FT] Tasknet: 3 lines fine-tuning#

# !pip install tasknet
import tasknet as tn
hparams=dict(model_name='tasksource/deberta-small-long-nli', learning_rate=2e-5)
model, trainer = tn.Model_Trainer([tn.AutoTask("glue/rte")], hparams)
trainer.train()
Software and training details#

The model was trained on 600 tasks for 250k steps with a batch size of 384 and a peak learning rate of 2e-5. Training took 14 days on Nvidia A30 24GB gpu. This is the shared model with the MNLI classifier on top. 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.

https://github.com/sileod/tasksource/ \ https://github.com/sileod/tasknet/ \ Training code: https://colab.research.google.com/drive/1iB4Oxl9_B5W3ZDzXoWJN-olUbqLBxgQS?usp=sharing

Citation#

More details on this article:

@inproceedings{sileo-2024-tasksource,
    title = "tasksource: A Large Collection of {NLP} tasks with a Structured Dataset Preprocessing Framework",
    author = "Sileo, Damien",
    booktitle = "Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024)",
    month = may,
    year = "2024",
    address = "Torino, Italia",
    publisher = "ELRA and ICCL",
    url = "https://aclanthology.org/2024.lrec-main.1361",
    pages = "15655--15684",
}

Model Card Contact#

damien.sileo@inria.fr

Files

10 files · 1.15 GBWeights 568 MB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 10 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md10.9 KB1ec318b613531555a82b23c5898342cc4b160c85d1a758c3b7208b3fc209007a
added_tokens.json23 Bdc046d04c9b0ada7ae6f1dc89c465801799acdf0c9a6aab8c15a1b2d5ca4e91f
config.json19.1 KB02840a52954942f5e6d487b2562a466ecb41a0f388e91678c061e1825f3772ee
model.safetensors568 MB9af30c7ad7235a2054300bc2df1d98149ad6008dd1ef06212be8b32b5d1b3458
pytorch_model.bin568 MB75b538ddb05c1d2d9a4d6305e043b91e8cce9ccbb9eb22c339a489301671ce49
special_tokens_map.json286 B9463f61e1b109a8eb4688b829260d7c6b1e6dff04c98ff7269bb89e2b92369b9
spm.model2.46 MBc679fbf93643d19aab7ee10c0b99e460bdbc02fedf34b92b05af343b4af586fd
tokenizer.json8.66 MBacc5aff95a1beb48778f3aa96674ebf6b55f506b2dac28faeeceb6a815e86806
tokenizer_config.json1.28 KB557b3d33d3f41b81ad769244e506549e98a1857d41dd58160aacd4d98d710b5a
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
9a77395d4d pinned now2026-11-15 02:44 UTC10 files · 1.15 GB

Use it

$ fw get tasksource/deberta-small-long-nli
# manifest sha256 73856d2a0146… · 1.15 GB · 10 files
$ fw verify ./deberta-small-long-nli tasksource/deberta-small-long-nli
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/tasksource/deberta-small-long-nli.json --dir ./deberta-small-long-nli $ python3 fw.py verify ./deberta-small-long-nli ./tasksource__deberta-small-long-nli.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download tasksource/deberta-small-long-nli --revision 9a77395d4d3751be9e2a69c4ae318491d9b3fffb --local-dir ./deberta-small-long-nli

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
1ec318b613531555a82b23c5898342cc4b160c85d1a758c3b7208b3fc209007a
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: tasksource <huggingface.co/tasksource>Newsgroups: alt.freeweights.visionSubject: deberta-small-long-nliDate: 2026-11-15Commit: 9a77395Signed: 2DC28CC7B26A283B ✓
Upstream
tasksource/deberta-small-long-nli
Pinned commit
9a77395d4d3751be9e2a69c4ae318491d9b3fffb
Manifest
deberta-small-long-nli.json · .minisig
Manifest sha256
73856d2a0146e18b2aa9a2bd4f07da2abb6c1a31382b939f3088a1c7dfb05803
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:44 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/tasksource/deberta-small-long-nli.json $ curl -O https://freeweights.allternit.com/manifests/tasksource/deberta-small-long-nli.json.minisig $ minisign -Vm deberta-small-long-nli.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

Parent

microsoft/deberta-v3-small (not in this catalog) · this model is a finetune of it

1 model in the catalog name this one as their parent.

Quantizations
1
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download tasksource/deberta-small-long-nli
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. deberta-small-long-nli.json. Provenance. Takedown history: none.

Variants

1 quantized or adapter build of deberta-small-long-nli. Each has its own license check and page.

From: dima806 <huggingface.co/dima806>Subject: ai_vs_real_image_detection
From: legekka <huggingface.co/legekka>Subject: AI-Anime-Image-Detector-ViT
From: onnx-community <huggingface.co/onnx-community>Subject: AI-Anime-Image-Detector-ViT-ONNX
From: AICodexLab <huggingface.co/AICodexLab>Subject: answerdotai-ModernBERT-base-ai-detector
From: onnx-community <huggingface.co/onnx-community>Subject: answerdotai-ModernBERT-base-ai-detector-ONNX
From: onnx-community <huggingface.co/onnx-community>Subject: bart-large-cnn-ONNX