Datasets:
Simplify v2 to a single full config
Browse filesExpose only one full subset/config backed by data/full.jsonl. Remove dev/test split files and core_1000 standalone artifacts.
- README.md +67 -110
- data/core/dev.csv +0 -0
- data/core/dev.jsonl +0 -0
- data/core/test.csv +0 -0
- data/core/test.jsonl +0 -0
- data/{full/test.csv → full.csv} +0 -0
- full/tw_localization_benchmark_v2_core1000.jsonl → data/full.jsonl +0 -0
- data/full/dev.csv +0 -0
- data/full/dev.jsonl +0 -0
- data/full/test.jsonl +0 -0
- full/tw_localization_benchmark_v2_core1000.csv +0 -0
README.md
CHANGED
|
@@ -27,76 +27,58 @@ tags:
|
|
| 27 |
- long-document
|
| 28 |
- synthetic-data
|
| 29 |
configs:
|
| 30 |
-
- config_name:
|
| 31 |
-
data_files:
|
| 32 |
-
- split: dev
|
| 33 |
-
path: data/core/dev.jsonl
|
| 34 |
-
- split: test
|
| 35 |
-
path: data/core/test.jsonl
|
| 36 |
-
- config_name: core_1000
|
| 37 |
-
data_files:
|
| 38 |
-
- split: dev
|
| 39 |
-
path: data/core/dev.jsonl
|
| 40 |
-
- split: test
|
| 41 |
-
path: data/core/test.jsonl
|
| 42 |
-
- config_name: full_2000
|
| 43 |
-
data_files:
|
| 44 |
-
- split: dev
|
| 45 |
-
path: data/full/dev.jsonl
|
| 46 |
-
- split: test
|
| 47 |
-
path: data/full/test.jsonl
|
| 48 |
---
|
| 49 |
|
| 50 |
# TW-Local-MT-Bench v2
|
| 51 |
|
| 52 |
TW-Local-MT-Bench v2 is a 2,000-example synthetic benchmark for evaluating whether a translation or rewriting model can produce natural Taiwan Traditional Chinese (`zh-TW`) from English, Mainland Chinese, Hong Kong Traditional Chinese, Cantonese-style written Chinese, or code-mixed English/Chinese documents.
|
| 53 |
|
| 54 |
-
The
|
| 55 |
|
| 56 |
-
##
|
| 57 |
|
| 58 |
-
|
|
|
|
| 59 |
|
| 60 |
-
|
| 61 |
-
- v1: paragraph and long-document localization with code-mixing, Markdown, placeholders, cross-paragraph terminology consistency, and broader domain coverage.
|
| 62 |
-
- v2: unified schema with two official views: `core_1000` and `full_2000`.
|
| 63 |
|
| 64 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
| 65 |
|
| 66 |
-
|
| 67 |
|
| 68 |
```python
|
| 69 |
from datasets import load_dataset
|
| 70 |
|
| 71 |
-
|
| 72 |
-
core = load_dataset("voidful/zh_translation_benchmark")
|
| 73 |
-
|
| 74 |
-
# Same as default, explicit name
|
| 75 |
-
core = load_dataset("voidful/zh_translation_benchmark", "core_1000")
|
| 76 |
-
|
| 77 |
-
# Full analysis set: 2,000 rows, dev 399 / test 1601
|
| 78 |
-
full = load_dataset("voidful/zh_translation_benchmark", "full_2000")
|
| 79 |
```
|
| 80 |
|
| 81 |
-
##
|
| 82 |
|
| 83 |
-
|
| 84 |
-
|---|---:|---:|---:|---|
|
| 85 |
-
| `core_1000` | 1,000 | 200 | 800 | Main leaderboard, fast comparison, model regression tests |
|
| 86 |
-
| `full_2000` | 2,000 | 399 | 1,601 | Error analysis, domain breakdown, stress testing |
|
| 87 |
|
| 88 |
-
|
|
|
|
|
|
|
| 89 |
|
| 90 |
-
##
|
| 91 |
|
| 92 |
-
|
|
| 93 |
|---|---:|
|
| 94 |
-
|
|
| 95 |
-
|
|
| 96 |
-
|
|
| 97 |
-
|
|
|
|
|
|
|
|
|
|
|
| 98 |
|
| 99 |
-
##
|
| 100 |
|
| 101 |
| Direction | Count |
|
| 102 |
|---|---:|
|
|
@@ -107,10 +89,11 @@ full = load_dataset("voidful/zh_translation_benchmark", "full_2000")
|
|
| 107 |
|
| 108 |
## Length Distribution
|
| 109 |
|
| 110 |
-
|
|
| 111 |
-
|---|---:|
|
| 112 |
-
|
|
| 113 |
-
|
|
|
|
|
| 114 |
|
| 115 |
## What This Dataset Tests
|
| 116 |
|
|
@@ -148,54 +131,44 @@ v2 also tests:
|
|
| 148 |
|
| 149 |
The full set covers 56 domains across 18 domain groups. Major domains include:
|
| 150 |
|
| 151 |
-
| Domain |
|
| 152 |
-
|---|---:|
|
| 153 |
-
| `software_it` | 130 |
|
| 154 |
-
| `government_public_service` | 72 |
|
| 155 |
-
| `workplace_business` | 67 |
|
| 156 |
-
| `education` | 66 |
|
| 157 |
-
| `ecommerce_product_ui` | 61 |
|
| 158 |
-
| `zhcn_software_it` | 60 |
|
| 159 |
-
| `zhcn_ecommerce` | 50 |
|
| 160 |
-
| `zhcn_workplace` | 50 |
|
| 161 |
-
| `zhcn_public_health_gov` | 50 |
|
| 162 |
-
| `zhcn_daily_transit_food` | 50 |
|
| 163 |
-
| `zhcn_education_media` | 40 |
|
| 164 |
-
| `product_ui` | 37 |
|
| 165 |
-
| `cybersecurity` | 37 |
|
| 166 |
-
| `ecommerce` | 37 |
|
| 167 |
-
| `fintech_banking` | 37 |
|
| 168 |
-
| `insurance` | 37 |
|
| 169 |
-
| `healthcare_clinic` | 37 |
|
| 170 |
-
| `healthcare` | 36 |
|
| 171 |
-
| `marketing_social_media` | 35 |
|
| 172 |
-
| `medical_device` | 35 |
|
| 173 |
-
| `legal_privacy` | 35 |
|
| 174 |
-
| `academic_research` | 35 |
|
| 175 |
-
| `workplace_hr` | 35 |
|
| 176 |
|
| 177 |
Use the `domain`, `domain_group`, `domain_zh`, and `subdomain` columns for more detailed breakdowns.
|
| 178 |
|
| 179 |
## Files
|
| 180 |
|
| 181 |
-
The Hugging Face loader uses JSONL files under `data/`.
|
| 182 |
-
|
| 183 |
| Path | Description |
|
| 184 |
|---|---|
|
| 185 |
-
| `data/
|
| 186 |
-
| `data/
|
| 187 |
-
| `data/core/dev.csv` | Core dev split in CSV |
|
| 188 |
-
| `data/core/test.csv` | Core test split in CSV |
|
| 189 |
-
| `data/full/dev.jsonl` | Full dev split |
|
| 190 |
-
| `data/full/test.jsonl` | Full test split |
|
| 191 |
-
| `data/full/dev.csv` | Full dev split in CSV |
|
| 192 |
-
| `data/full/test.csv` | Full test split in CSV |
|
| 193 |
| `full/tw_localization_benchmark_v2_2000.csv` | Complete 2,000-row CSV |
|
| 194 |
| `full/tw_localization_benchmark_v2_2000.jsonl` | Complete 2,000-row JSONL |
|
| 195 |
-
| `full/tw_localization_benchmark_v2_core1000.csv` | Official core 1,000-row CSV |
|
| 196 |
-
| `full/tw_localization_benchmark_v2_core1000.jsonl` | Official core 1,000-row JSONL |
|
| 197 |
| `full/tw_localization_benchmark_v2.xlsx` | Workbook with Overview, Examples_2000, Core_1000, Rubric, Locale_Policy, Glossary, Eval_Prompts, Auto_Checks, Model_Slots, and ChangeLog sheets |
|
| 198 |
-
| `full/tw_localization_benchmark_v2_manifest.json` | Manifest with counts, checksums, schema, and core selection rule |
|
| 199 |
| `full/tw_localization_benchmark_v2_README.md` | Original v2 local package README |
|
| 200 |
|
| 201 |
## Schema
|
|
@@ -207,8 +180,8 @@ Each example contains:
|
|
| 207 |
| `id` | Stable v2 ID, such as `TWLOC-V2-0001` |
|
| 208 |
| `legacy_id` | Original v0 or v1 ID |
|
| 209 |
| `version_source` | Source version: `v0` or `v1` |
|
| 210 |
-
| `core_1000` | Whether the row
|
| 211 |
-
| `split` |
|
| 212 |
| `source_lang` | Normalized source language bucket |
|
| 213 |
| `source_locale_raw` | Original source locale label |
|
| 214 |
| `target_lang` | Target language, `zh-TW` |
|
|
@@ -289,21 +262,6 @@ Suggested 100-point human evaluation rubric:
|
|
| 289 |
| Fluency and register | 10 | Natural, readable output matching customer support, legal, medical, UI, government, or casual register |
|
| 290 |
| Format and constraint preservation | 10 | Markdown, placeholders, URLs, HTML, numbers, currencies, tables, and bullets |
|
| 291 |
|
| 292 |
-
Suggested leaderboard reporting:
|
| 293 |
-
|
| 294 |
-
- `overall_score`
|
| 295 |
-
- `core_1000_score`
|
| 296 |
-
- `full_2000_score`
|
| 297 |
-
- `sentence_score`
|
| 298 |
-
- `paragraph_score`
|
| 299 |
-
- `long_doc_score`
|
| 300 |
-
- `code_mix_score`
|
| 301 |
-
- `zh_cn_to_tw_score`
|
| 302 |
-
- `hk_to_tw_score`
|
| 303 |
-
- `format_preservation_score`
|
| 304 |
-
- `taiwan_localization_score`
|
| 305 |
-
- `domain_breakdown`
|
| 306 |
-
|
| 307 |
## LLM-Assisted Judging Prompt
|
| 308 |
|
| 309 |
```text
|
|
@@ -344,10 +302,9 @@ needs_native_taiwanese_reviewer_pass_before_public_release
|
|
| 344 |
|
| 345 |
For a public leaderboard, the recommended process is:
|
| 346 |
|
| 347 |
-
1.
|
| 348 |
-
2.
|
| 349 |
-
3.
|
| 350 |
-
4. Do not rely on a single reference-matching metric as the final ranking criterion.
|
| 351 |
|
| 352 |
## Checksums
|
| 353 |
|
|
|
|
| 27 |
- long-document
|
| 28 |
- synthetic-data
|
| 29 |
configs:
|
| 30 |
+
- config_name: full
|
| 31 |
+
data_files: data/full.jsonl
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
---
|
| 33 |
|
| 34 |
# TW-Local-MT-Bench v2
|
| 35 |
|
| 36 |
TW-Local-MT-Bench v2 is a 2,000-example synthetic benchmark for evaluating whether a translation or rewriting model can produce natural Taiwan Traditional Chinese (`zh-TW`) from English, Mainland Chinese, Hong Kong Traditional Chinese, Cantonese-style written Chinese, or code-mixed English/Chinese documents.
|
| 37 |
|
| 38 |
+
The dataset now exposes a single Hugging Face subset/config: `full`. It is not split into `dev` and `test` files. The full 2,000 rows are loaded together from `data/full.jsonl`. The original row-level `split` column is kept as metadata for downstream analysis, but the Hub dataset itself is published as one complete subset.
|
| 39 |
|
| 40 |
+
## Loading
|
| 41 |
|
| 42 |
+
```python
|
| 43 |
+
from datasets import load_dataset
|
| 44 |
|
| 45 |
+
dataset = load_dataset("voidful/zh_translation_benchmark", "full")
|
|
|
|
|
|
|
| 46 |
|
| 47 |
+
# Hugging Face stores a single data file under the conventional "train" split.
|
| 48 |
+
full = dataset["train"]
|
| 49 |
+
print(full.num_rows) # 2000
|
| 50 |
+
print(full[0])
|
| 51 |
+
```
|
| 52 |
|
| 53 |
+
If you want a plain `Dataset` object:
|
| 54 |
|
| 55 |
```python
|
| 56 |
from datasets import load_dataset
|
| 57 |
|
| 58 |
+
full = load_dataset("voidful/zh_translation_benchmark", "full", split="train")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 59 |
```
|
| 60 |
|
| 61 |
+
## Version Summary
|
| 62 |
|
| 63 |
+
v2 merges the earlier v0 sentence-level localization set with a v1 long-document and code-mixed localization set.
|
|
|
|
|
|
|
|
|
|
| 64 |
|
| 65 |
+
- v0: sentence-level locale-sensitive translation from English, zh-CN, and zh-Hant-HK into Taiwan Traditional Chinese.
|
| 66 |
+
- v1: paragraph and long-document localization with code-mixing, Markdown, placeholders, cross-paragraph terminology consistency, and broader domain coverage.
|
| 67 |
+
- v2: unified schema with one official `full` subset containing all 2,000 rows.
|
| 68 |
|
| 69 |
+
## Dataset Summary
|
| 70 |
|
| 71 |
+
| Property | Value |
|
| 72 |
|---|---:|
|
| 73 |
+
| Rows | 2,000 |
|
| 74 |
+
| Unique dedup hashes | 2,000 |
|
| 75 |
+
| Domains | 56 |
|
| 76 |
+
| Domain groups | 18 |
|
| 77 |
+
| Source versions | v0: 1,000; v1: 1,000 |
|
| 78 |
+
| Published subset/config | `full` |
|
| 79 |
+
| Published split files | none; one full JSONL file |
|
| 80 |
|
| 81 |
+
## Direction Distribution
|
| 82 |
|
| 83 |
| Direction | Count |
|
| 84 |
|---|---:|
|
|
|
|
| 89 |
|
| 90 |
## Length Distribution
|
| 91 |
|
| 92 |
+
| Length bucket | Count |
|
| 93 |
+
|---|---:|
|
| 94 |
+
| Sentence | 1,500 |
|
| 95 |
+
| Paragraph | 300 |
|
| 96 |
+
| Long document | 200 |
|
| 97 |
|
| 98 |
## What This Dataset Tests
|
| 99 |
|
|
|
|
| 131 |
|
| 132 |
The full set covers 56 domains across 18 domain groups. Major domains include:
|
| 133 |
|
| 134 |
+
| Domain | Count |
|
| 135 |
+
|---|---:|
|
| 136 |
+
| `software_it` | 130 |
|
| 137 |
+
| `government_public_service` | 72 |
|
| 138 |
+
| `workplace_business` | 67 |
|
| 139 |
+
| `education` | 66 |
|
| 140 |
+
| `ecommerce_product_ui` | 61 |
|
| 141 |
+
| `zhcn_software_it` | 60 |
|
| 142 |
+
| `zhcn_ecommerce` | 50 |
|
| 143 |
+
| `zhcn_workplace` | 50 |
|
| 144 |
+
| `zhcn_public_health_gov` | 50 |
|
| 145 |
+
| `zhcn_daily_transit_food` | 50 |
|
| 146 |
+
| `zhcn_education_media` | 40 |
|
| 147 |
+
| `product_ui` | 37 |
|
| 148 |
+
| `cybersecurity` | 37 |
|
| 149 |
+
| `ecommerce` | 37 |
|
| 150 |
+
| `fintech_banking` | 37 |
|
| 151 |
+
| `insurance` | 37 |
|
| 152 |
+
| `healthcare_clinic` | 37 |
|
| 153 |
+
| `healthcare` | 36 |
|
| 154 |
+
| `marketing_social_media` | 35 |
|
| 155 |
+
| `medical_device` | 35 |
|
| 156 |
+
| `legal_privacy` | 35 |
|
| 157 |
+
| `academic_research` | 35 |
|
| 158 |
+
| `workplace_hr` | 35 |
|
| 159 |
|
| 160 |
Use the `domain`, `domain_group`, `domain_zh`, and `subdomain` columns for more detailed breakdowns.
|
| 161 |
|
| 162 |
## Files
|
| 163 |
|
|
|
|
|
|
|
| 164 |
| Path | Description |
|
| 165 |
|---|---|
|
| 166 |
+
| `data/full.jsonl` | Single 2,000-row JSONL file used by the Hugging Face loader |
|
| 167 |
+
| `data/full.csv` | Single 2,000-row CSV file |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 168 |
| `full/tw_localization_benchmark_v2_2000.csv` | Complete 2,000-row CSV |
|
| 169 |
| `full/tw_localization_benchmark_v2_2000.jsonl` | Complete 2,000-row JSONL |
|
|
|
|
|
|
|
| 170 |
| `full/tw_localization_benchmark_v2.xlsx` | Workbook with Overview, Examples_2000, Core_1000, Rubric, Locale_Policy, Glossary, Eval_Prompts, Auto_Checks, Model_Slots, and ChangeLog sheets |
|
| 171 |
+
| `full/tw_localization_benchmark_v2_manifest.json` | Manifest with counts, checksums, schema, and historical core selection rule |
|
| 172 |
| `full/tw_localization_benchmark_v2_README.md` | Original v2 local package README |
|
| 173 |
|
| 174 |
## Schema
|
|
|
|
| 180 |
| `id` | Stable v2 ID, such as `TWLOC-V2-0001` |
|
| 181 |
| `legacy_id` | Original v0 or v1 ID |
|
| 182 |
| `version_source` | Source version: `v0` or `v1` |
|
| 183 |
+
| `core_1000` | Whether the row belonged to the historical core set |
|
| 184 |
+
| `split` | Original dev/test marker retained as row metadata |
|
| 185 |
| `source_lang` | Normalized source language bucket |
|
| 186 |
| `source_locale_raw` | Original source locale label |
|
| 187 |
| `target_lang` | Target language, `zh-TW` |
|
|
|
|
| 262 |
| Fluency and register | 10 | Natural, readable output matching customer support, legal, medical, UI, government, or casual register |
|
| 263 |
| Format and constraint preservation | 10 | Markdown, placeholders, URLs, HTML, numbers, currencies, tables, and bullets |
|
| 264 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 265 |
## LLM-Assisted Judging Prompt
|
| 266 |
|
| 267 |
```text
|
|
|
|
| 302 |
|
| 303 |
For a public leaderboard, the recommended process is:
|
| 304 |
|
| 305 |
+
1. Add a Taiwan-native reviewer pass before freezing the references.
|
| 306 |
+
2. Keep an additional private hidden test set.
|
| 307 |
+
3. Do not rely on a single reference-matching metric as the final ranking criterion.
|
|
|
|
| 308 |
|
| 309 |
## Checksums
|
| 310 |
|
data/core/dev.csv
DELETED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/core/dev.jsonl
DELETED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/core/test.csv
DELETED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/core/test.jsonl
DELETED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/{full/test.csv → full.csv}
RENAMED
|
The diff for this file is too large to render.
See raw diff
|
|
|
full/tw_localization_benchmark_v2_core1000.jsonl → data/full.jsonl
RENAMED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/full/dev.csv
DELETED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/full/dev.jsonl
DELETED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/full/test.jsonl
DELETED
|
The diff for this file is too large to render.
See raw diff
|
|
|
full/tw_localization_benchmark_v2_core1000.csv
DELETED
|
The diff for this file is too large to render.
See raw diff
|
|
|