Zero-Shot Classification
Transformers
PyTorch
English
roberta
text-classification
zero-shot
science
mag
Instructions to use BSC-LT/sciroshot with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BSC-LT/sciroshot with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-classification", model="BSC-LT/sciroshot")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("BSC-LT/sciroshot") model = AutoModelForSequenceClassification.from_pretrained("BSC-LT/sciroshot") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
add model_max_length to tokenizer_config a8389aa verified
update eacl paper link a220c74
update github link c25a2ba
Updated citation 0aae365
add api example 70d1967
init commit c9a8b71
mapama247 commited on