Downloads · 30 days
37
35% of all-time downloads
schift-io/schift-nli
schift-nli is a zero-shot classification model from schift-io. Use it when you need labels you did not train the model on. It is set up for transformers.js. The card lists the license as apache-2.0.
ONNX-quantized DeBERTa-v3-xsmall for Natural Language Inference, optimized for Dot local inference.
Downloads · 30 days
37
35% of all-time downloads
All-time downloads
106
Public
Repo size
1.3 GB
Likes
1
Public
Click a slice to open those files.
.onnx1.3 GB · 99%
From the Hugging Face model README
ONNX-quantized DeBERTa-v3-xsmall for Natural Language Inference, optimized for Dot local inference.
Loaded automatically by Dot's local NLI classifier. No manual setup needed.
import { pipeline } from '@huggingface/transformers';
const classifier = await pipeline('text-classification', 'schift-io/schift-nli', {
quantized: true,
});
const result = await classifier(
{ text: 'A man is eating pizza', text_pair: 'A man is eating food' },
{ top_k: 3 }
);
// [{ label: 'entailment', score: 0.97 }, ...]
Apache 2.0 (inherited from base model)