Instructions to use marcostrfn/bart-base-spanish-nli-taller-test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use marcostrfn/bart-base-spanish-nli-taller-test with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="marcostrfn/bart-base-spanish-nli-taller-test")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("marcostrfn/bart-base-spanish-nli-taller-test") model = AutoModelForSequenceClassification.from_pretrained("marcostrfn/bart-base-spanish-nli-taller-test", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -7,6 +7,7 @@ tags:
|
|
| 7 |
- bart
|
| 8 |
library_name: transformers
|
| 9 |
pipeline_tag: zero-shot-classification
|
|
|
|
| 10 |
widget:
|
| 11 |
- text: "El Real Madrid ha ganado la Champions League."
|
| 12 |
candidate_labels: "deportes, política, economía, ciencia"
|
|
|
|
| 7 |
- bart
|
| 8 |
library_name: transformers
|
| 9 |
pipeline_tag: zero-shot-classification
|
| 10 |
+
inference: true
|
| 11 |
widget:
|
| 12 |
- text: "El Real Madrid ha ganado la Champions League."
|
| 13 |
candidate_labels: "deportes, política, economía, ciencia"
|