File size: 3,362 Bytes
c5c3e70
55d5a79
c5c3e70
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
573ba7b
 
 
6767504
c5c3e70
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4b10a21
88b675e
 
 
 
 
 
 
 
 
 
 
 
 
 
4b10a21
c5c3e70
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
---
license: cc-by-4.0
language:
- es
task_categories:
- text-classification
task_ids:
- natural-language-inference
pretty_name: ESNLIR  human-validated subset
size_categories:
- n<1K
tags:
- nli
- spanish
- causal
- esnlir
- human-annotated
configs:
- config_name: default
  data_files:
  - split: validation
    path: labeled_final_dataset.jsonl
---

# ESNLIR — human-validated subset

**972 sentence pairs** from ESNLIR whose label was confirmed by human annotators — the validated
subset used in **An Analysis of the Performance of Large Language Models in Spanish NLI Datasets
with Causal Relationships** (IBERAMIA 2026, to appear). Part of the
[**ESNLIR-LLM**](https://huggingface.co/collections/Flaglab/esnlir-llm-6a74a6b9ce149918f48ebba5) collection, used in
[`Pacolas/NLI-via-LLM`](https://github.com/Pacolas/NLI-via-LLM).

A random sample of 2,136 instances from the full corpus was labeled by 27 Spanish-speaking
university students, one label per pair. Only pairs whose majority-annotated label matched the
original connector-derived label were kept.

## Format

JSON Lines — one object per line. Same fields as
[`Flaglab/esnlir-test`](https://huggingface.co/datasets/Flaglab/esnlir-test), plus
`dataset_connector` and **`connection_type`**.

The gold label is **`connection_type`** (the human-validated label), *not* `connector_type`. Both
columns are present, which is what makes this subset useful: where they disagree, the
connector-derived label did not survive human review.

## Label distribution

| label | n |
|---|---|
| `neutral` | 362 |
| `entailment` | 219 |
| `reasoning` | 207 |
| `contrasting` | 184 |

Unbalanced, unlike the test split.

## Genre distribution

| genre | n |
|---|---|
| `theses` | 427 |
| `books` | 217 |
| `legal` | 71 |
| `news` | 71 |
| `comments` | 67 |
| `clinical` | 51 |
| `articles` | 34 |
| `talks` | 34 |

## Usage

```python
from huggingface_hub import hf_hub_download
import json

p = hf_hub_download("Flaglab/esnlir-human-validated",
                    "labeled_final_dataset.jsonl", repo_type="dataset")
rows = [json.loads(l) for l in open(p) if l.strip()]
```

## Citation

These splits were packaged for the following paper:

```bibtex
@InProceedings{perez2026llmspanishnlicausal,
  author    = {P{\'e}rez, Nicol{\'a}s and Portela, Johan R. and Manrique, Ruben},
  title     = {An Analysis of the Performance of Large Language Models in Spanish
               NLI Datasets with Causal Relationships},
  booktitle = {Advances in Artificial Intelligence -- IBERAMIA 2026},
  year      = {2026},
  publisher = {Springer Nature Switzerland},
  address   = {Cham},
  note      = {To appear},
}
```

The data itself is ESNLIR, released here under CC BY 4.0 — attribution to the source corpus is a condition of that licence:

```bibtex
@InProceedings{portela2025esnlirspanishmultigenredataset,
  author    = {Portela, Johan R. and P{\'e}rez-Ter{\'a}n, Nicol{\'a}s and Manrique, Rub{\'e}n},
  editor    = {Florez, Hector and Peluffo-Ordo{\~{n}}ez, Diego},
  title     = {{ESNLIR}: Expanding Spanish {NLI} Benchmarks with Multi-genre and Causal Annotation},
  booktitle = {Applied Informatics},
  year      = {2026},
  publisher = {Springer Nature Switzerland},
  address   = {Cham},
  pages     = {345--361},
  isbn      = {978-3-032-07175-0},
  doi       = {10.1007/978-3-032-07175-0_23},
}
```