Skip to content
Back to skills

General Nlu Eval

ASecurity

Evaluates whether integrating external knowledge (textual descriptions or embeddings) improves performance on general natural language understanding tasks compared to baseline pre-trained language models. It probes the model's ability to leverage external semantic information to enhance representation learning and decision-making across classification, regression, and sequence labeling benchmarks. Use when the user wants to benchmark on GLUE, Penn Treebank, CoNLL-2003, or asks about evaluatin...

  • 3 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 11, 2026
researchpythongoperformance

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill general-nlu-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of General Nlu Eval?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for General Nlu Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-general-nlu-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-general-nlu-eval)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: general-nlu-eval
description: Evaluates whether integrating external knowledge (textual descriptions or embeddings) improves performance on general natural language understanding tasks compared to baseline pre-trained language models. It probes the model's ability to leverage external semantic information to enhance representation learning and decision-making across classification, regression, and sequence labeling benchmarks. Use when the user wants to benchmark on GLUE, Penn Treebank, CoNLL-2003, or asks about evaluating this task. Reports Accuracy / F1 / Pearson correlation / Matthew's correlation.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2109.00563
  bibtex_key: [REDACTED]
  confidence: high
---

# general-nlu-eval

> Does Knowledge Help General NLU? An Empirical Study — Xu et al. (2021) (arXiv:2109.00563, 2021)

## What this evaluates

Evaluates whether integrating external knowledge (textual descriptions or embeddings) improves performance on general natural language understanding tasks compared to baseline pre-trained language models. It probes the model's ability to leverage external semantic information to enhance representation learning and decision-making across classification, regression, and sequence labeling benchmarks.

## Datasets

- **GLUE, Penn Treebank, CoNLL-2003** — total ?; splits: train (-1), val (-1); HF `glue, ptb, conll2003`

## Metrics

- `Accuracy / F1 / Pearson correlation / Matthew's correlation` **(primary)** — range: [0, 1] | percent
  - Task-specific metrics: Accuracy for classification tasks, F1 for sequence labeling, Pearson correlation for STS-B, and Matthew's correlation for CoLA. Scores are averaged across tasks for overall comparison.

## Input / output format

**Input**: Sentence or token sequence for classification/regression tasks; token sequence for sequence labeling tasks.

**Output**: Task-specific prediction: class label, regression value, or token-level sequence tags.

## Scoring recipe

```python
def compute_metric(preds, golds, task):
    if task in ['SST-2', 'MNLI', 'QQP', 'QNLI', 'MRPC', 'RTE']:
        return accuracy(golds, preds)
    elif task == 'CoLA':
        return matthews_corrcoef(golds, preds)
    elif task == 'STS-B':
        return pearson_corr(golds, preds)
    elif task in ['POS', 'NER']:
        return f1_score(golds, preds, average='micro')
```

## Common pitfalls

- Reports medians over 5 random seeds, not means.
- Evaluation is performed on the development set rather than the official held-out test set.
- Task-specific metrics are used: Accuracy for classification, Matthew's correlation for CoLA, Pearson correlation for STS-B, and F1 for sequence labeling.

## Evidence (verbatim from paper)

> Metrics: Matt. corr., Acc., Pear. corr., F1. We report the median of results on the development set over five fixed random seeds for all tasks.

## Citation

```bibtex
@misc{xu2021doesknowledgehelp,
  title={Does Knowledge Help General NLU? An Empirical Study},
  author={Xu et al. (2021)},
  year={2021},
  note={arXiv:2109.00563}
}
```

- arXiv: 2109.00563

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.