tg-nlp-toolkit-fr-ewe-v0.3
收藏资源简介:
该数据集是法语-埃维语(ewe)平行语料库,版本0.3,专为低资源机器翻译场景构建。数据集由两部分组成:一是1913年埃维语圣经(BFBS)与1910年法语Segond圣经(公共领域,CC0-1.0),二是2023年从NLLB(allenai/OPUS)中过滤的法语-埃维语数据(ODC-By许可)。整体以CC0-1.0发布,但需保留NLLB部分的归属要求。数据集包含四个分割:训练集(52,512对)、开发集(6,564对)、测试集(6,564对)以及参考集(241对,经过双重人工验证)。参考集由两名母语埃维语者独立验证,97%一致性,并经过仲裁,确保100%正确。字段包括:id、source(bible或nllb)、fr、ewe(参考集),其他分割为source、fr、ewe。数据总量为65,640对。该数据集适用于法语-埃维语机器翻译模型的训练与评估,尤其是低资源场景。
This dataset is a French-Ewe parallel corpus, version 0.3, built for low-resource machine translation. It consists of two parts: the 1913 Ewe Bible (BFBS) and the 1910 French Segond Bible (public domain, CC0-1.0), and French-Ewe data filtered from NLLB (allenai/OPUS) in 2023 (ODC-By license). The whole is released under CC0-1.0, but attribution requirements for the NLLB portion must be retained. The dataset contains four splits: train (52,512 pairs), dev (6,564 pairs), test (6,564 pairs), and ref (241 pairs, double human-verified). The reference set was independently verified by two native Ewe speakers with 97% agreement and adjudicated to ensure 100% correctness. Fields include: id, source (bible or nllb), fr, ewe (for ref set), others have source, fr, ewe. Total 65,640 pairs. This dataset is suitable for training and evaluating French-Ewe machine translation models, especially in low-resource scenarios.
数据集概述:法语-埃维语平行语料库 v0.3
基本信息
- 数据集名称:Corpus parallèle français - éwé v0.3
- 许可证:CC0-1.0(公共领域),其中NLLB组件需保留ODC-By归属声明
- 语言对:法语(fr)与埃维语(ee)
- 类型:机器翻译平行语料库,面向低资源场景
- 标签:翻译、机器翻译、低资源语言、埃维语、法语、非洲、多哥
数据构成
该语料库由两个组件构成:
| 组件 | 来源 | 年份 | 许可证 |
|---|---|---|---|
| 埃维语圣经(BFBS)与Segond 1910法语圣经 | 圣经文本 | 1913/1910 | 公共领域(CC0-1.0) |
| NLLB fr-ee过滤后数据 | OPUS/allenai | 2023 | ODC-By(需归属) |
数据集统计(v0.3)
| 数据划分 | 总对数 | 圣经来源 | NLLB来源 |
|---|---|---|---|
| 训练集(train) | 52,512 | 12,812 | 39,700 |
| 开发集(dev) | 6,564 | 1,601 | 4,963 |
| 测试集(test) | 6,564 | 1,601 | 4,963 |
| 参考集(reference) | 241(100%人工验证) | 124 | 117 |
| 总计 | 65,640 | 16,014 | 49,626 |
参考集(reference)说明
- 包含241对经双重独立验证的翻译,由两名埃维语母语者验证
- 验证者间一致率达97%,并经过最终仲裁
- 仅保留两位验证者均认可的语对
- 完整验证记录见GitHub仓库(https://github.com/cherif-tg/tg_nlp_toolkit)中的
data/processed/v0.3/目录 - 该参考集是评估法语-埃维语翻译系统的可靠基准
数据质量说明
- Bible组件:约66%的语对正确(基于100对抽样验证)
- NLLB过滤版v3:约72%正确(基于100对抽样验证,已剔除外语数据)
- 残余噪声主要来自网络挖掘导致的近似对齐问题
- 该数据集为探索性训练语料,适合训练用,评估建议使用参考集
模型表现
参考集(241对)上的官方成绩
| 翻译方向 | 模型 | chrF++ | BLEU |
|---|---|---|---|
| 法语→埃维语 | NLLB基线 | 37.22 | 11.17 |
| 法语→埃维语 | LoRA v1(单向) | 47.39 | 22.20 |
| 法语→埃维语 | LoRA v2(双向) | 47.95 | 22.42 |
| 埃维语→法语 | NLLB基线 | 38.14 | 14.92 |
| 埃维语→法语 | LoRA v1(单向) | 37.52 | 15.15 |
| 埃维语→法语 | LoRA v2(双向) | 52.24 | 31.83 |
自动对齐测试集(6,564对)成绩
| 翻译方向 | 模型 | chrF++ | BLEU |
|---|---|---|---|
| 法语→埃维语 | NLLB基线 | 34.96 | 11.38 |
| 法语→埃维语 | + LoRA微调 | 41.83 | 18.71 |
| 埃维语→法语 | NLLB基线 | 33.76 | 13.53 |
| 埃维语→法语 | + LoRA微调 | 33.35 | 13.69 |
与Google Translate对比(参考集)
- 法语→埃维语:LoRA v2(47.95 chrF++)优于Google(38.62)
- 埃维语→法语:LoRA v2(52.24 chrF++)优于Google(49.86)
已发布模型
- v2(推荐):https://huggingface.co/cheriftenga/nllb-200-distilled-600M-ewe-lora-v2
- v1:https://huggingface.co/cheriftenga/nllb-200-distilled-600M-ewe-lora
数据结构与使用
- 数据列:
id,source(bible或nllb),fr,ewe(reference划分);source,fr,ewe(其他划分) - 数据格式:TSV文件(train.tsv、dev.tsv、test.tsv、test-reference-final.tsv)
- 可通过HuggingFace datasets库或pandas直接读取
数据特性与注意事项
- 语体:圣经文本(Bible组件)与网络挖掘的混合语体(NLLB组件涵盖宗教、日常生活、新闻等)
- 拼写:混合了1913年历史埃维语拼写与现代埃维语拼写,各语对保留其来源的拼写变体
- 方言:参考集的主要验证者为洛美沿海埃维语使用者
- 附加资源:Riebstein词典(8,574条法语-埃维语词条,公共领域)在GitHub仓库中单独提供
数据管线与作者
- 完整处理流程:https://github.com/cherif-tg/tg_nlp_toolkit
- 作者:TENGA Cherif Abdel Azize,多哥洛美理工学院毕业设计项目




