Datasets:
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,181 +1,24 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
num_bytes: 4280681
|
| 23 |
-
num_examples: 3270
|
| 24 |
-
- name: test
|
| 25 |
-
num_bytes: 4274921
|
| 26 |
-
num_examples: 3245
|
| 27 |
-
download_size: 13358836
|
| 28 |
-
dataset_size: 21062783
|
| 29 |
-
- config_name: cb
|
| 30 |
-
features:
|
| 31 |
-
- name: label
|
| 32 |
-
dtype: int64
|
| 33 |
-
- name: idx
|
| 34 |
-
dtype: int64
|
| 35 |
-
- name: premise_en
|
| 36 |
-
dtype: string
|
| 37 |
-
- name: premise_cro
|
| 38 |
-
dtype: string
|
| 39 |
-
- name: hypothesis_en
|
| 40 |
-
dtype: string
|
| 41 |
-
- name: hypothesis_cro
|
| 42 |
-
dtype: string
|
| 43 |
-
splits:
|
| 44 |
-
- name: train
|
| 45 |
-
num_bytes: 171394
|
| 46 |
-
num_examples: 250
|
| 47 |
-
- name: validation
|
| 48 |
-
num_bytes: 43024
|
| 49 |
-
num_examples: 56
|
| 50 |
-
- name: test
|
| 51 |
-
num_bytes: 184012
|
| 52 |
-
num_examples: 250
|
| 53 |
-
download_size: 274207
|
| 54 |
-
dataset_size: 398430
|
| 55 |
-
- config_name: copa
|
| 56 |
-
features:
|
| 57 |
-
- name: premise
|
| 58 |
-
dtype: string
|
| 59 |
-
- name: choice1
|
| 60 |
-
dtype: string
|
| 61 |
-
- name: choice2
|
| 62 |
-
dtype: string
|
| 63 |
-
- name: label
|
| 64 |
-
dtype:
|
| 65 |
-
class_label:
|
| 66 |
-
names:
|
| 67 |
-
'0': '0'
|
| 68 |
-
'1': '1'
|
| 69 |
-
- name: question
|
| 70 |
-
dtype: string
|
| 71 |
-
- name: idx
|
| 72 |
-
dtype: int64
|
| 73 |
-
- name: changed
|
| 74 |
-
dtype: bool
|
| 75 |
-
splits:
|
| 76 |
-
- name: train
|
| 77 |
-
num_bytes: 51741
|
| 78 |
-
num_examples: 400
|
| 79 |
-
- name: validation
|
| 80 |
-
num_bytes: 12905
|
| 81 |
-
num_examples: 100
|
| 82 |
-
- name: test
|
| 83 |
-
num_bytes: 62670
|
| 84 |
-
num_examples: 500
|
| 85 |
-
download_size: 91854
|
| 86 |
-
dataset_size: 127316
|
| 87 |
-
- config_name: multirc
|
| 88 |
-
features:
|
| 89 |
-
- name: label
|
| 90 |
-
dtype: int64
|
| 91 |
-
- name: idx
|
| 92 |
-
struct:
|
| 93 |
-
- name: answer
|
| 94 |
-
dtype: int64
|
| 95 |
-
- name: paragraph
|
| 96 |
-
dtype: int64
|
| 97 |
-
- name: question
|
| 98 |
-
dtype: int64
|
| 99 |
-
- name: paragraph_en
|
| 100 |
-
dtype: string
|
| 101 |
-
- name: paragraph_cro
|
| 102 |
-
dtype: string
|
| 103 |
-
- name: question_en
|
| 104 |
-
dtype: string
|
| 105 |
-
- name: question_cro
|
| 106 |
-
dtype: string
|
| 107 |
-
- name: answer_en
|
| 108 |
-
dtype: string
|
| 109 |
-
- name: answer_cro
|
| 110 |
-
dtype: string
|
| 111 |
-
splits:
|
| 112 |
-
- name: train
|
| 113 |
-
num_bytes: 93800822
|
| 114 |
-
num_examples: 27243
|
| 115 |
-
- name: validation
|
| 116 |
-
num_bytes: 15751988
|
| 117 |
-
num_examples: 4848
|
| 118 |
-
- name: test
|
| 119 |
-
num_bytes: 30420957
|
| 120 |
-
num_examples: 9693
|
| 121 |
-
download_size: 15505344
|
| 122 |
-
dataset_size: 139973767
|
| 123 |
-
- config_name: record
|
| 124 |
-
features:
|
| 125 |
-
- name: passage
|
| 126 |
-
dtype: string
|
| 127 |
-
- name: query
|
| 128 |
-
dtype: string
|
| 129 |
-
- name: entities
|
| 130 |
-
list: string
|
| 131 |
-
- name: entity_spans
|
| 132 |
-
struct:
|
| 133 |
-
- name: end
|
| 134 |
-
list: int64
|
| 135 |
-
- name: start
|
| 136 |
-
list: int64
|
| 137 |
-
- name: answers
|
| 138 |
-
list: string
|
| 139 |
-
- name: idx
|
| 140 |
-
dtype: int64
|
| 141 |
-
splits:
|
| 142 |
-
- name: train
|
| 143 |
-
num_bytes: 5779378
|
| 144 |
-
num_examples: 5607
|
| 145 |
-
- name: validation
|
| 146 |
-
num_bytes: 1932387
|
| 147 |
-
num_examples: 1869
|
| 148 |
-
- name: test
|
| 149 |
-
num_bytes: 1913715
|
| 150 |
-
num_examples: 1869
|
| 151 |
-
download_size: 6011684
|
| 152 |
-
dataset_size: 9625480
|
| 153 |
-
- config_name: rte
|
| 154 |
-
features:
|
| 155 |
-
- name: label
|
| 156 |
-
dtype: int64
|
| 157 |
-
- name: idx
|
| 158 |
-
dtype: int64
|
| 159 |
-
- name: premise_en
|
| 160 |
-
dtype: string
|
| 161 |
-
- name: premise_cro
|
| 162 |
-
dtype: string
|
| 163 |
-
- name: hypothesis_en
|
| 164 |
-
dtype: string
|
| 165 |
-
- name: hypothesis_cro
|
| 166 |
-
dtype: string
|
| 167 |
-
splits:
|
| 168 |
-
- name: train
|
| 169 |
-
num_bytes: 1679810
|
| 170 |
-
num_examples: 2490
|
| 171 |
-
- name: validation
|
| 172 |
-
num_bytes: 179762
|
| 173 |
-
num_examples: 277
|
| 174 |
-
- name: test
|
| 175 |
-
num_bytes: 1926812
|
| 176 |
-
num_examples: 3000
|
| 177 |
-
download_size: 2511477
|
| 178 |
-
dataset_size: 3786384
|
| 179 |
configs:
|
| 180 |
- config_name: boolq
|
| 181 |
data_files:
|
|
@@ -209,14 +52,6 @@ configs:
|
|
| 209 |
path: multirc/validation-*
|
| 210 |
- split: test
|
| 211 |
path: multirc/test-*
|
| 212 |
-
- config_name: record
|
| 213 |
-
data_files:
|
| 214 |
-
- split: train
|
| 215 |
-
path: record/train-*
|
| 216 |
-
- split: validation
|
| 217 |
-
path: record/validation-*
|
| 218 |
-
- split: test
|
| 219 |
-
path: record/test-*
|
| 220 |
- config_name: rte
|
| 221 |
data_files:
|
| 222 |
- split: train
|
|
@@ -225,4 +60,120 @@ configs:
|
|
| 225 |
path: rte/validation-*
|
| 226 |
- split: test
|
| 227 |
path: rte/test-*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 228 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
language:
|
| 3 |
+
- hr
|
| 4 |
+
language_bcp47:
|
| 5 |
+
- hr-Latn
|
| 6 |
+
license: mit
|
| 7 |
+
task_categories:
|
| 8 |
+
- text-classification
|
| 9 |
+
- question-answering
|
| 10 |
+
- multiple-choice
|
| 11 |
+
tags:
|
| 12 |
+
- superglue
|
| 13 |
+
- croatian
|
| 14 |
+
- south-slavic
|
| 15 |
+
- nlp
|
| 16 |
+
- benchmark
|
| 17 |
+
- nli
|
| 18 |
+
- qa
|
| 19 |
+
pretty_name: Croatian SuperGLUE Benchmark
|
| 20 |
+
size_categories:
|
| 21 |
+
- 10K<n<100K
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
configs:
|
| 23 |
- config_name: boolq
|
| 24 |
data_files:
|
|
|
|
| 52 |
path: multirc/validation-*
|
| 53 |
- split: test
|
| 54 |
path: multirc/test-*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 55 |
- config_name: rte
|
| 56 |
data_files:
|
| 57 |
- split: train
|
|
|
|
| 60 |
path: rte/validation-*
|
| 61 |
- split: test
|
| 62 |
path: rte/test-*
|
| 63 |
+
- config_name: record
|
| 64 |
+
data_files:
|
| 65 |
+
- split: train
|
| 66 |
+
path: record/train-*
|
| 67 |
+
- split: validation
|
| 68 |
+
path: record/validation-*
|
| 69 |
+
- split: test
|
| 70 |
+
path: record/test-*
|
| 71 |
---
|
| 72 |
+
|
| 73 |
+
# Croatian SuperGLUE Benchmark
|
| 74 |
+
|
| 75 |
+
A Croatian language benchmark for evaluating language models on natural
|
| 76 |
+
language understanding tasks. This dataset contains Croatian translations of
|
| 77 |
+
the SuperGLUE benchmark, paired with the original English source for each row.
|
| 78 |
+
COPA is the native Croatian CLASSLA dataset (not translated).
|
| 79 |
+
|
| 80 |
+
Sibling datasets:
|
| 81 |
+
- [`permitt/superglue-sr`](https://huggingface.co/datasets/permitt/superglue-sr) (Serbian)
|
| 82 |
+
- [`permitt/superglue-mne`](https://huggingface.co/datasets/permitt/superglue-mne) (Montenegrin)
|
| 83 |
+
|
| 84 |
+
**WSC**, **AX-b**, and **AX-g** are not included.
|
| 85 |
+
|
| 86 |
+
## Overview
|
| 87 |
+
|
| 88 |
+
| Task | Type | # Labels | Train | Validation | Test |
|
| 89 |
+
|------|------|:--------:|:-----:|:----------:|:----:|
|
| 90 |
+
| **BoolQ** | QA | 2 | 9,427 | 3,270 | 3,245 |
|
| 91 |
+
| **CB** | NLI | 3 | 250 | 56 | 250 |
|
| 92 |
+
| **COPA** | Reasoning | 2 | 400 | 100 | 500 |
|
| 93 |
+
| **MultiRC** | QA | 2 | 27,243 | 4,848 | 9,693 |
|
| 94 |
+
| **RTE** | NLI | 2 | 2,490 | 277 | 3,000 |
|
| 95 |
+
| **ReCoRD** | QA (span) | — | 5,607 | 1,869 | 1,869 |
|
| 96 |
+
|
| 97 |
+
Test labels for the four translated classification tasks (BoolQ, CB, MultiRC,
|
| 98 |
+
RTE) are copied from `permitt/superglue-sr` via a join on the SuperGLUE `idx`,
|
| 99 |
+
so test evaluation works out-of-the-box. COPA ships with its own gold test
|
| 100 |
+
labels from CLASSLA.
|
| 101 |
+
|
| 102 |
+
## Usage
|
| 103 |
+
|
| 104 |
+
```python
|
| 105 |
+
from datasets import load_dataset
|
| 106 |
+
|
| 107 |
+
rte = load_dataset("permitt/superglue-hr", "rte")
|
| 108 |
+
|
| 109 |
+
for ex in rte["train"]:
|
| 110 |
+
premise = ex["premise_cro"] # Croatian premise
|
| 111 |
+
hypothesis = ex["hypothesis_cro"] # Croatian hypothesis
|
| 112 |
+
premise_en = ex["premise_en"] # English source
|
| 113 |
+
label = ex["label"] # 0=entailment, 1=not_entailment
|
| 114 |
+
```
|
| 115 |
+
|
| 116 |
+
## Data Format
|
| 117 |
+
|
| 118 |
+
Translated tasks carry both the Croatian (`_cro`) and original English (`_en`)
|
| 119 |
+
text. COPA is native Croatian and has plain field names.
|
| 120 |
+
|
| 121 |
+
| Task | Fields |
|
| 122 |
+
|-------------|--------|
|
| 123 |
+
| **boolq** | `passage_cro`, `question_cro`, `passage_en`, `question_en`, `label`, `idx` |
|
| 124 |
+
| **cb** | `premise_cro`, `hypothesis_cro`, `premise_en`, `hypothesis_en`, `label`, `idx` |
|
| 125 |
+
| **copa** | `premise`, `choice1`, `choice2`, `question`, `label`, `idx`, `changed` (native Croatian) |
|
| 126 |
+
| **multirc** | `paragraph_cro`, `question_cro`, `answer_cro`, `paragraph_en`, `question_en`, `answer_en`, `label`, `idx` |
|
| 127 |
+
| **rte** | `premise_cro`, `hypothesis_cro`, `premise_en`, `hypothesis_en`, `label`, `idx` |
|
| 128 |
+
| **record** | `passage`, `query`, `entities`, `entity_spans`, `answers`, `idx` (Croatian, span-selection, training-ready) |
|
| 129 |
+
|
| 130 |
+
### Labels
|
| 131 |
+
|
| 132 |
+
- **BoolQ, MultiRC:** `0 = False`, `1 = True`
|
| 133 |
+
- **CB:** `0 = entailment`, `1 = contradiction`, `2 = neutral`
|
| 134 |
+
- **RTE:** `0 = entailment`, `1 = not_entailment`
|
| 135 |
+
- **COPA:** `0 = choice1`, `1 = choice2`
|
| 136 |
+
|
| 137 |
+
## Notes and Caveats
|
| 138 |
+
|
| 139 |
+
- **COPA** is the native CLASSLA Croatian dataset (`COPA-HR`), not a
|
| 140 |
+
translation. All splits ship with gold labels.
|
| 141 |
+
- **ReCoRD** is in span-selection form. The `passage`/`query` are Croatian and
|
| 142 |
+
`entity_spans` point at positions in the Croatian passage, but the `entities`
|
| 143 |
+
and `answers` strings are preserved from the Serbian source (untranslated).
|
| 144 |
+
For a minority of rows the span boundary is also slightly misaligned with
|
| 145 |
+
respect to the Croatian token boundaries. When constructing candidates,
|
| 146 |
+
prefer `passage[start:end]` over reading from `entities`.
|
| 147 |
+
- **WSC, AX-b, AX-g** are not part of this release.
|
| 148 |
+
|
| 149 |
+
## Citation
|
| 150 |
+
|
| 151 |
+
```bibtex
|
| 152 |
+
@misc{superglue-hr-2026,
|
| 153 |
+
title = {Croatian SuperGLUE Benchmark},
|
| 154 |
+
author = {Permitt},
|
| 155 |
+
year = {2026},
|
| 156 |
+
publisher = {Hugging Face},
|
| 157 |
+
url = {https://huggingface.co/datasets/permitt/superglue-hr}
|
| 158 |
+
}
|
| 159 |
+
```
|
| 160 |
+
|
| 161 |
+
## Original SuperGLUE Citation
|
| 162 |
+
|
| 163 |
+
```bibtex
|
| 164 |
+
@inproceedings{wang2019superglue,
|
| 165 |
+
title = {SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systems},
|
| 166 |
+
author = {Wang, Alex and Pruksachatkun, Yada and Nangia, Nikita and Singh, Amanpreet and Michael, Julian and Hill, Felix and Levy, Omer and Bowman, Samuel R},
|
| 167 |
+
booktitle = {Advances in Neural Information Processing Systems},
|
| 168 |
+
year = {2019}
|
| 169 |
+
}
|
| 170 |
+
```
|
| 171 |
+
|
| 172 |
+
## Acknowledgments
|
| 173 |
+
|
| 174 |
+
- Original SuperGLUE benchmark by Wang et al.
|
| 175 |
+
- COPA-HR dataset from CLASSLA.
|
| 176 |
+
|
| 177 |
+
## License
|
| 178 |
+
|
| 179 |
+
Released under the MIT License.
|