portulan-extraglue-eval
PORTULAN ExtraGLUE Datasets and Models: Kick-starting a Benchmark for the Neural Processing of Portuguese — Tomás Freitas Osório et al. (2024) (arXiv:2404.05333, 2024)
What this evaluates
Evaluates neural models on a Portuguese-language benchmark derived from English GLUE and SuperGLUE tasks, probing capabilities in grammatical acceptability, sentiment, paraphrase detection, semantic similarity, natural language inference, reading comprehension, and causal reasoning.
Datasets
- CoLA — total ?; splits: train (-1), val (-1), test (-1)
- SST-2 — total ?; splits: train (-1), val (-1), test (-1)
- MRPC — total ?; splits: train (-1), val (-1), test (-1)
- QQP — total ?; splits: train (-1), val (-1), test (-1)
- STS-B — total ?; splits: train (-1), val (-1), test (-1)
- WiC — total ?; splits: train (-1), val (-1), test (-1)
- MNLI — total ?; splits: train (-1), val (-1), test (-1)
- QNLI — total ?; splits: train (-1), val (-1), test (-1)
- RTE — total ?; splits: train (-1), val (-1), test (-1)
- WNLI — total ?; splits: train (-1), val (-1), test (-1)
- WSC — total ?; splits: train (-1), val (-1), test (-1)
- CB — total ?; splits: train (-1), val (-1), test (-1)
- AXb — total ?; splits: test (-1)
- AXg — total ?; splits: test (-1)
- BoolQ — total ?; splits: train (-1), val (-1), test (-1)
- MultiRC — total ?; splits: train (-1), val (-1), test (-1)
- ReCoRD — total ?; splits: train (-1), val (-1), test (-1)
- COPA — total ?; splits: train (-1), val (-1), test (-1)
Metrics
single-number performance metric (primary) — range: percent
- Aggregated score across all tasks, typically computed as accuracy for classification tasks, F1 for paraphrase/QQP, and Pearson correlation for STS-B, following standard GLUE/SuperGLUE protocols.
similarity score — range: [1, 5]
- Continuous score from 1 to 5 predicting semantic similarity for sentence pairs in STS-B.
Input / output format
Input: Sentence pairs, single sentences, or context-question-answer triples depending on the specific GLUE/SuperGLUE task variant.
Output: Class labels (e.g., acceptability, sentiment, entailment/contradiction/neutral, yes/no), similarity scores (1-5), or selected entities/answers.
Scoring recipe
def compute_glue_score(predictions, gold_labels, task_type):
if task_type in ['classification', 'NLI', 'QA']:
return sum(p == g for p, g in zip(predictions, gold_labels)) / len(gold_labels)
elif task_type == 'paraphrase':
return f1_score(gold_labels, predictions, average='binary')
elif task_type == 'STS':
return pearsonr(gold_labels, predictions)[0]
return 0.0
# Aggregate across all PORTULAN ExtraGLUE tasks
final_score = mean([compute_glue_score(preds, golds, t) for t, preds, golds in tasks])
Common pitfalls
- Translation-induced linguistic artifacts, such as gender bias and idiom misrepresentation, may skew performance on Portuguese variants compared to English baselines.
- The benchmark aggregates diverse task types (classification, regression, NLI, QA) into a single score, which can mask poor performance on specific linguistic phenomena.
- Low-rank adaptation (LoRA) fine-tuning on Albertina may underfit complex reasoning tasks compared to full fine-tuning, affecting cross-task comparability.
Evidence (verbatim from paper)
Both GLUE and SuperGLUE are aggregations of existing public datasets accompanied by a single-number performance metric and an analysis toolkit. The Semantic Textual Similarity Benchmark (STS-B)G (Cer et al.,, [2017])* is a task for predicting a similarity score (from 1 to 5) for each sentence pair.
Citation
@misc{osorio2024portulanextraglue,
title={PORTULAN ExtraGLUE Datasets and Models: Kick-starting a Benchmark for the Neural Processing of Portuguese},
author={Tomás Freitas Osório et al. (2024)},
year={2024},
note={arXiv:2404.05333}
}
1---2name: portulan-extraglue-eval3description: Evaluates neural models on a Portuguese-language benchmark derived from English GLUE and SuperGLUE tasks, probing capabilities in grammatical acceptability, sentiment, paraphrase detection, semantic similarity, natural language inference, reading comprehension, and causal reasoning. Use when the user wants to benchmark on CoLA, SST-2, MRPC, QQP, STS-B, WiC, MNLI, QNLI, RTE, WNLI, WSC, CB, AXb, AXg, BoolQ, MultiRC, ReCoRD, COPA, or asks about evaluating this task. Reports single-number performance metric.4---56# portulan-extraglue-eval78> PORTULAN ExtraGLUE Datasets and Models: Kick-starting a Benchmark for the Neural Processing of Portuguese — Tomás Freitas Osório et al. (2024) (arXiv:2404.05333, 2024)910## What this evaluates1112Evaluates neural models on a Portuguese-language benchmark derived from English GLUE and SuperGLUE tasks, probing capabilities in grammatical acceptability, sentiment, paraphrase detection, semantic similarity, natural language inference, reading comprehension, and causal reasoning.1314## Datasets1516- **CoLA** — total ?; splits: train (-1), val (-1), test (-1)17- **SST-2** — total ?; splits: train (-1), val (-1), test (-1)18- **MRPC** — total ?; splits: train (-1), val (-1), test (-1)19- **QQP** — total ?; splits: train (-1), val (-1), test (-1)20- **STS-B** — total ?; splits: train (-1), val (-1), test (-1)21- **WiC** — total ?; splits: train (-1), val (-1), test (-1)22- **MNLI** — total ?; splits: train (-1), val (-1), test (-1)23- **QNLI** — total ?; splits: train (-1), val (-1), test (-1)24- **RTE** — total ?; splits: train (-1), val (-1), test (-1)25- **WNLI** — total ?; splits: train (-1), val (-1), test (-1)26- **WSC** — total ?; splits: train (-1), val (-1), test (-1)27- **CB** — total ?; splits: train (-1), val (-1), test (-1)28- **AXb** — total ?; splits: test (-1)29- **AXg** — total ?; splits: test (-1)30- **BoolQ** — total ?; splits: train (-1), val (-1), test (-1)31- **MultiRC** — total ?; splits: train (-1), val (-1), test (-1)32- **ReCoRD** — total ?; splits: train (-1), val (-1), test (-1)33- **COPA** — total ?; splits: train (-1), val (-1), test (-1)3435## Metrics3637- `single-number performance metric` **(primary)** — range: percent38 - Aggregated score across all tasks, typically computed as accuracy for classification tasks, F1 for paraphrase/QQP, and Pearson correlation for STS-B, following standard GLUE/SuperGLUE protocols.39- `similarity score` — range: [1, 5]40 - Continuous score from 1 to 5 predicting semantic similarity for sentence pairs in STS-B.4142## Input / output format4344**Input**: Sentence pairs, single sentences, or context-question-answer triples depending on the specific GLUE/SuperGLUE task variant.4546**Output**: Class labels (e.g., acceptability, sentiment, entailment/contradiction/neutral, yes/no), similarity scores (1-5), or selected entities/answers.4748## Scoring recipe4950```python51def compute_glue_score(predictions, gold_labels, task_type):52 if task_type in ['classification', 'NLI', 'QA']:53 return sum(p == g for p, g in zip(predictions, gold_labels)) / len(gold_labels)54 elif task_type == 'paraphrase':55 return f1_score(gold_labels, predictions, average='binary')56 elif task_type == 'STS':57 return pearsonr(gold_labels, predictions)[0]58 return 0.05960# Aggregate across all PORTULAN ExtraGLUE tasks61final_score = mean([compute_glue_score(preds, golds, t) for t, preds, golds in tasks])62```6364## Common pitfalls6566- Translation-induced linguistic artifacts, such as gender bias and idiom misrepresentation, may skew performance on Portuguese variants compared to English baselines.67- The benchmark aggregates diverse task types (classification, regression, NLI, QA) into a single score, which can mask poor performance on specific linguistic phenomena.68- Low-rank adaptation (LoRA) fine-tuning on Albertina may underfit complex reasoning tasks compared to full fine-tuning, affecting cross-task comparability.6970## Evidence (verbatim from paper)7172> Both GLUE and SuperGLUE are aggregations of existing public datasets accompanied by a single-number performance metric and an analysis toolkit. The Semantic Textual Similarity Benchmark (STS-B)G (Cer et al.,, [2017])* is a task for predicting a similarity score (from 1 to 5) for each sentence pair.7374## Citation7576```bibtex77@misc{osorio2024portulanextraglue,78 title={PORTULAN ExtraGLUE Datasets and Models: Kick-starting a Benchmark for the Neural Processing of Portuguese},79 author={Tomás Freitas Osório et al. (2024)},80 year={2024},81 note={arXiv:2404.05333}82}83```8485- arXiv: 2404.05333