Instructions to use DAMO-NLP-SG/zero-shot-classify-SSTuning-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DAMO-NLP-SG/zero-shot-classify-SSTuning-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-classification", model="DAMO-NLP-SG/zero-shot-classify-SSTuning-base")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("DAMO-NLP-SG/zero-shot-classify-SSTuning-base") model = AutoModelForSequenceClassification.from_pretrained("DAMO-NLP-SG/zero-shot-classify-SSTuning-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
Verified signatureThis is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.62853ff
-
Update README.md
a9f022a
-
Update README.md
7044ac1 -
Update README.md
8a69f7f
-
Update README.md
d4a063b -
Update README.md
7b2ea28 -
Update README.md
a2b9141
-
Update README.md
ac63630 -
Update README.md
ac0b738 -
Update README.md
f200db2
-
Update README.md
01d2282 -
Update README.md
da5f2b5 -
Update README.md
e049916
-
Update README.md
76a49b5 -
Update README.md
b74f79b -
Update README.md
c3f51d9 -
Update README.md
20fe8d9 -
Update README.md
9ab5792 -
Update README.md
7599afa -
Update README.md
defe81c -
Update README.md
560d773
-
Update README.md
4628ea2 -
Update README.md
58d8dcc -
Upload 7 files
4bfc2ab -
initial commit
71c1eea