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

deberta-base-long-nli

Date: 2026-11-15Commit: 04dcf11Signed: 2DC28CC7B26A283B ✓

Zero shot classification model with 184M parameters. Safetensors weights, 749 MB in all. Published by tasksource under Apache-2.0.

184M params749MBdeberta-base-long-nlisafetensorspermissive
FactsParams184MSize749 MBFormatssafetensorsTaskzero shot classificationLicenseApache-2.0From sourcepermissive
$ fw get tasksource/deberta-base-long-nli
# manifest sha256 ff0bb6a67117… · 749 MB · 9 files
$ fw verify ./deberta-base-long-nli tasksource/deberta-base-long-nli
From sourceHosted (signed)tasksource/deberta-base-long-nliLast check: 2026-11-15 03:30 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
749 MB
Weights
738 MB (safetensors)
Parameters
184M
Formats
safetensors
Task
zero shot classification
License
Apache-2.0 (permissive)
Files
9, 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-base

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 03:30 UTCpassed

Model card

From the publisher at commit 04dcf11. Shown as plain text with links; images open at the publisher.

Model Card for Model ID#

deberta-v3-base with context length of 1280 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 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, reward modeling or multiple-choice) [FT].
datasetaccuracy
anli/a163.3
anli/a247.2
anli/a349.4
nli_fever79.4
FOLIO61.8
ConTRoL-nli63.3
cladder71.1
zero-shot-label-nli74.4
chatbot_arena_conversations72.2
oasst2_pairwise_rlhf_reward73.9
doc-nli90.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-base-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-base-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}]

[TA] Tasksource-adapters: 1 line access to hundreds of tasks#

# !pip install tasknet
import tasknet as tn
pipe = tn.load_pipeline('tasksource/deberta-base-long-nli','glue/sst2') # works for 500+ tasksource tasks
pipe(['That movie was great !', 'Awful movie.'])
# [{'label': 'positive', 'score': 0.9956}, {'label': 'negative', 'score': 0.9967}]

The list of tasks is available in model config.json. This is more efficient than ZS since it requires only one forward pass per example, but it is less flexible.

[FT] Tasknet: 3 lines fine-tuning#

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

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",
    editor = "Calzolari, Nicoletta  and
      Kan, Min-Yen  and
      Hoste, Veronique  and
      Lenci, Alessandro  and
      Sakti, Sakriani  and
      Xue, Nianwen",
    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",
}

Files

9 files · 749 MBWeights 738 MB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 9 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md10.5 KB4852a6944834d5c6a33dd23e49efce4d04a8e99636f09b8ecb9d7850adec27ed
added_tokens.json23 Bdc046d04c9b0ada7ae6f1dc89c465801799acdf0c9a6aab8c15a1b2d5ca4e91f
config.json19.1 KB708314bd039034a16c42e998eddf9ec63c8bf9c16b8e849760c7ddf2375c8b6f
model.safetensors738 MB71cace06873870322ffa93e4005999961cef6d6b08263b01aad832ded23d94ae
special_tokens_map.json286 B9463f61e1b109a8eb4688b829260d7c6b1e6dff04c98ff7269bb89e2b92369b9
spm.model2.46 MBc679fbf93643d19aab7ee10c0b99e460bdbc02fedf34b92b05af343b4af586fd
tokenizer.json8.66 MB497cf2afb9f305365529f3fb22b3993c97c929c85ba3b64118dc51eb4cab0e1d
tokenizer_config.json1.28 KB557b3d33d3f41b81ad769244e506549e98a1857d41dd58160aacd4d98d710b5a
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
04dcf11f84 pinned now2026-11-15 03:30 UTC9 files · 749 MB

Use it

$ fw get tasksource/deberta-base-long-nli
# manifest sha256 ff0bb6a67117… · 749 MB · 9 files
$ fw verify ./deberta-base-long-nli tasksource/deberta-base-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-base-long-nli.json --dir ./deberta-base-long-nli $ python3 fw.py verify ./deberta-base-long-nli ./tasksource__deberta-base-long-nli.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download tasksource/deberta-base-long-nli --revision 04dcf11f844b07bc57015169fca2b7d6df8299d5 --local-dir ./deberta-base-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
4852a6944834d5c6a33dd23e49efce4d04a8e99636f09b8ecb9d7850adec27ed
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-base-long-nliDate: 2026-11-15Commit: 04dcf11Signed: 2DC28CC7B26A283B ✓
Upstream
tasksource/deberta-base-long-nli
Pinned commit
04dcf11f844b07bc57015169fca2b7d6df8299d5
Manifest
deberta-base-long-nli.json · .minisig
Manifest sha256
ff0bb6a671171fe0cf68a6088ee3d3e9885260a600dcdf6429c4e46847b040ce
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:30 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/tasksource/deberta-base-long-nli.json $ curl -O https://freeweights.allternit.com/manifests/tasksource/deberta-base-long-nli.json.minisig $ minisign -Vm deberta-base-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-base (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-base-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-base-long-nli.json. Provenance. Takedown history: none.

Variants

1 quantized or adapter build of deberta-base-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