Instructions to use alexandrainst/scandi-nli-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use alexandrainst/scandi-nli-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-classification", model="alexandrainst/scandi-nli-base")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("alexandrainst/scandi-nli-base") model = AutoModelForSequenceClassification.from_pretrained("alexandrainst/scandi-nli-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
ca74b95 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:eda1ec5924ce54e433b6139417d7a38edc19e6a311c29539087170a2968be421
size 711491181
|