Skip to content
Back to skills

Un Corpus Translation Eval

ASecurity

Evaluates zero-shot and supervised machine translation quality across multiple language pairs using a multilingual encoder-decoder architecture. It probes the model's ability to translate between unseen language pairs (e.g., Spanish-French) using only monolingual data and reinforcement learning, without parallel training data for the target pair. Use when the user wants to benchmark on United Nations Parallel Corpus (UN corpus), or asks about evaluating this task. Reports BLEU.

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 11, 2026
researchpython

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill un-corpus-translation-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Un Corpus Translation Eval?

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

Security grade badge for Un Corpus Translation Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-un-corpus-translation-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-un-corpus-translation-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: un-corpus-translation-eval
description: Evaluates zero-shot and supervised machine translation quality across multiple language pairs using a multilingual encoder-decoder architecture. It probes the model's ability to translate between unseen language pairs (e.g., Spanish-French) using only monolingual data and reinforcement learning, without parallel training data for the target pair. Use when the user wants to benchmark on United Nations Parallel Corpus (UN corpus), or asks about evaluating this task. Reports BLEU.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 1805.10338
  bibtex_key: [REDACTED]
  confidence: high
---

# un-corpus-translation-eval

> Zero-Shot Dual Machine Translation — Sestorain et al. (2018) (arXiv:1805.10338, 2018)

## What this evaluates

Evaluates zero-shot and supervised machine translation quality across multiple language pairs using a multilingual encoder-decoder architecture. It probes the model's ability to translate between unseen language pairs (e.g., Spanish-French) using only monolingual data and reinforcement learning, without parallel training data for the target pair.

## Datasets

- **United Nations Parallel Corpus (UN corpus)** — total ?; splits: test (4000), dev (4000)

## Metrics

- `BLEU` **(primary)** — range: percent
  - Standard sentence-level BLEU score computed over the test set. It measures n-gram precision (up to 4-grams) with a brevity penalty to penalize overly short translations.

## Input / output format

**Input**: Source language sentence tokenized via shared 32K BPE vocabulary.

**Output**: Target language sentence tokenized via shared 32K BPE vocabulary.

## Scoring recipe

```python
def compute_bleu(predictions, references):
    # predictions, references: list of lists of BPE tokens
    bleu_scores = []
    for pred, ref in zip(predictions, references):
        # Standard sentence-level BLEU with 4-gram precision and brevity penalty
        bleu_scores.append(sentence_bleu([ref], pred, smoothing_method=SmoothingFunction().method1))
    return sum(bleu_scores) / len(bleu_scores) * 100
```

## Common pitfalls

- BLEU is evaluated strictly on the official 2015 UN test/dev sets (4k sentences each), not on the full parallel corpus or monolingual data.
- Zero-shot directions (e.g., es→fr) are scored without any parallel training data for that pair, relying on shared embeddings and RL rewards.
- BPE tokenization (32K merges) is shared across languages, meaning BLEU is computed on subword units rather than raw words.

## Evidence (verbatim from paper)

> The corpus provides official development and test sets composed of the documents released in 2015. Both sets comprise 4,000 sentences, aligned for all the six languages. Table 1: BLEU scores on the UN corpus test set. Each line reports the BLEU scores of the corresponding translation direction.

## Citation

```bibtex
@misc{sestorain2018zeroshotdual,
  title={Zero-Shot Dual Machine Translation},
  author={Sestorain et al. (2018)},
  year={2018},
  note={arXiv:1805.10338}
}
```

- arXiv: 1805.10338

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.