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
|
@@ -10,6 +10,15 @@ pipeline_tag: text-classification
|
|
| 10 |
base_model: facebook/bart-base
|
| 11 |
datasets:
|
| 12 |
- marcostrfn/nli-taller-es
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
---
|
| 14 |
|
| 15 |
# BART for Natural Language Inference (MNLI Custom)
|
|
|
|
| 10 |
base_model: facebook/bart-base
|
| 11 |
datasets:
|
| 12 |
- marcostrfn/nli-taller-es
|
| 13 |
+
widget:
|
| 14 |
+
- text: "Una persona está montando un caballo [SEP] Una persona está sobre un animal"
|
| 15 |
+
output:
|
| 16 |
+
- label: entailment
|
| 17 |
+
score: 0.95
|
| 18 |
+
- label: contradiction
|
| 19 |
+
score: 0.03
|
| 20 |
+
- label: neutral
|
| 21 |
+
score: 0.02
|
| 22 |
---
|
| 23 |
|
| 24 |
# BART for Natural Language Inference (MNLI Custom)
|