Skip to content
Back to skills

Norwegian Transformer Eval

ASecurity

Evaluates the cross-lingual transfer and domain adaptation capabilities of a Norwegian BERT model against multilingual and monolingual baselines on token-level (NER/POS) and sequence-level (sentiment/political affiliation) classification tasks. Use when the user wants to benchmark on NorNE, CoNLL-2003, NoReC, Norwegian Parliament Speeches, or asks about evaluating this task. Reports F1 score.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 11, 2026
researchpythongogitperformance

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill norwegian-transformer-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Norwegian Transformer Eval?

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

Security grade badge for Norwegian Transformer Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-norwegian-transformer-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-norwegian-transformer-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: norwegian-transformer-eval
description: Evaluates the cross-lingual transfer and domain adaptation capabilities of a Norwegian BERT model against multilingual and monolingual baselines on token-level (NER/POS) and sequence-level (sentiment/political affiliation) classification tasks. Use when the user wants to benchmark on NorNE, CoNLL-2003, NoReC, Norwegian Parliament Speeches, or asks about evaluating this task. Reports F1 score.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2104.09617
  bibtex_key: [REDACTED]
  confidence: medium
---

# norwegian-transformer-eval

> Operationalizing a National Digital Library: The Case for a Norwegian Transformer Model — Kummervold et al. (2021) (arXiv:2104.09617, 2021)

## What this evaluates

Evaluates the cross-lingual transfer and domain adaptation capabilities of a Norwegian BERT model against multilingual and monolingual baselines on token-level (NER/POS) and sequence-level (sentiment/political affiliation) classification tasks.

## Datasets

- **NorNE** — total ?; splits: test (-1)
- **CoNLL-2003** — total ?; splits: test (-1)
- **NoReC** — total ?; splits: test (-1)
- **Norwegian Parliament Speeches** — total 6000; splits: test (6000)

## Metrics

- `F1 score` **(primary)** — range: [0, 1]
  - Standard token-level or entity-level F1 score computed between predicted and gold entity/span labels. Macro-averaged across classes.
- `Accuracy` — range: [0, 1]
  - Proportion of correctly classified text sequences out of the total number of sequences in the evaluation set.

## Input / output format

**Input**: Tokenized text sequences for token classification; raw text sentences or paragraphs for sequence classification.

**Output**: Token-level entity labels (e.g., B-PER, I-ORG) for NER; discrete class labels (e.g., sentiment polarity or political party affiliation) for sequence classification.

## Scoring recipe

```python
def compute_f1(gold, pred):
    tp = sum(1 for g, p in zip(gold, pred) if g == p and g != 'O')
    fp = sum(1 for g, p in zip(gold, pred) if g != p and p != 'O')
    fn = sum(1 for g, p in zip(gold, pred) if g != p and g != 'O')
    precision = tp / (tp + fp) if (tp + fp) > 0 else 0
    recall = tp / (tp + fn) if (tp + fn) > 0 else 0
    return 2 * precision * recall / (precision + recall) if (precision + recall) > 0 else 0

def compute_accuracy(gold, pred):
    return sum(1 for g, p in zip(gold, pred) if g == p) / len(gold)
```

## Common pitfalls

- Varying tag sets and annotation guidelines across languages make direct cross-lingual performance comparisons unreliable.
- Fine-tuning hyperparameters (learning rate, epochs) are highly dataset-dependent and require careful validation-set tuning.
- OCR noise in historical corpora can significantly degrade model performance if confidence-based filtering is not applied during pre-training.

## Evidence (verbatim from paper)

> The optimal learning rate and number of epochs mainly depend on the size of and variance in the training corpus... we could still compare the performance of our model against that of English-only and multilingual BERT models.

## Citation

```bibtex
@misc{kummervold2021operationalizing,
  title={Operationalizing a National Digital Library: The Case for a Norwegian Transformer Model},
  author={Kummervold et al. (2021)},
  year={2021},
  note={arXiv:2104.09617}
}
```

- arXiv: 2104.09617

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.