ESNLIR labels sentence pairs with four relations. Three come from the discourse connector
linking the sentences; neutral is built by pairing sentences from different paragraphs.
Four label-preserving perturbations of the test set (see the
dataset card):
Following
Gururangan et al.-style artifact probing, a partial-input model that scores well would mean the labels leak into one sentence. At
0.390 against the full model's
0.676, the gap is ~29 points, and the score sits near the XGBoost bag-of-words baseline (0.350). ESNLIR is therefore largely free of annotation artifacts: both sentences are genuinely required.
Do not use this model for inference. Use
ESNLIR-XLM-RoBERTa instead.
Note the stress-test rows are largely identical to the baseline row: negation and overlap perturb only the hypothesis, which this model never sees.
1from transformers import AutoTokenizer, AutoModelForSequenceClassification
2import torch
3
4name = "Flaglab/ESNLIR-XLM-RoBERTa-premise-only"
5tok = AutoTokenizer.from_pretrained(name)
6model = AutoModelForSequenceClassification.from_pretrained(name)
7
8# premise only, by design
9inputs = tok(
10 "La evidencia que apoya la superioridad del liderazgo transformacional es abrumadora",
11 return_tensors="pt", truncation=True, max_length=256,
12)
13with torch.no_grad():
14 logits = model(**inputs).logits
15print(model.config.id2label[int(logits.argmax(-1))])
1@InProceedings{portela2025esnlirspanishmultigenredataset,
2 author = {Portela, Johan R. and P{\'e}rez-Ter{\'a}n, Nicol{\'a}s and Manrique, Rub{\'e}n},
3 editor = {Florez, Hector and Peluffo-Ordo{\~{n}}ez, Diego},
4 title = {{ESNLIR}: Expanding Spanish {NLI} Benchmarks with Multi-genre and Causal Annotation},
5 booktitle = {Applied Informatics},
6 year = {2026},
7 publisher = {Springer Nature Switzerland},
8 address = {Cham},
9 pages = {345--361},
10 isbn = {978-3-032-07175-0},
11 doi = {10.1007/978-3-032-07175-0_23},
12}