Instructions to use AyoubChLin/DistilBERT_ZeroShot with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AyoubChLin/DistilBERT_ZeroShot with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-classification", model="AyoubChLin/DistilBERT_ZeroShot")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("AyoubChLin/DistilBERT_ZeroShot") model = AutoModelForSequenceClassification.from_pretrained("AyoubChLin/DistilBERT_ZeroShot") - Notebooks
- Google Colab
- Kaggle
Commit ·
4b1cf39
1
Parent(s): b05964f
Adding `safetensors` variant of this model (#1)
Browse files- Adding `safetensors` variant of this model (d17017353a55c38194e12d882c06f5705912d412)
Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>
- model.safetensors +3 -0
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fa1bfb63a352a57cca3508c59d7719bd11e31a3a6668aaa3fbc8523a17594544
|
| 3 |
+
size 267835644
|