allenai/nllb
收藏资源简介:
No Language Left Behind (NLLB - 200vo)数据集基于Meta AI发布的元数据创建,包含148种以英语为中心和1465种非以英语为中心的语言对的并行文本。数据集总大小约为450GB,主要通过Hugging Face Python库或克隆Git仓库来访问。数据集的每个语言对包含压缩的制表符分隔的文本文件,每行包含并行句子。数据集未进行分割,建议仅用于训练,评估可使用其他数据集如Flores-200。数据集的创建过程包括语言识别、表情符号过滤和语言模型过滤。数据来源包括多个公开的单语数据集和网络爬虫数据。
No Language Left Behind (NLLB - 200vo) dataset is created based on the metadata released by Meta AI, containing parallel text for 148 English-centric and 1465 non-English-centric language pairs. The total size of the dataset is approximately 450 GB, and it can be mainly accessed via the Hugging Face Python library or by cloning the Git repository. Each language pair in the dataset includes compressed tab-separated text files, with each line holding parallel sentences. The dataset is not pre-split, and it is recommended for training purposes only; other datasets such as Flores-200 can be used for evaluation. The dataset creation process covers language identification, emoji filtering and language model filtering. The data sources include multiple public monolingual datasets and web-crawled data.
数据集概述
数据集名称
No Language Left Behind (NLLB - 200vo)
数据集总结
- 创建依据:基于Meta AI发布的metadata。
- 内容:包含148个英语为中心和1465个非英语为中心的语言对的双语数据。
- 大小:约450GB。
- 数据来源:使用stopes挖掘库和LASER3编码器。
- 前版本:可在CCMatrix找到。
支持的任务和语言
- 任务:未明确列出。
- 语言:语言对列表可在此查看。
数据集结构
- 文件格式:gzipped tab delimited文本文件。
- 数据实例:每个语言对的数据实例数量可在dataset_infos.json中查看。
- 数据字段:每个实例包含translation, laser_score, source_sentence_lid, target_sentence_lid等字段。
数据集创建
- 筛选标准:基于语言识别、表情过滤及高资源语言的语言模型筛选。
- 源数据:来自多个源,包括commoncrawl等。
使用数据注意事项
- 推荐用途:仅用于训练,建议使用其他数据集如Flores-200进行评估。
- 数据分割:未进行分割,存在与其他测试集的偶然重叠。
数据访问方式
-
通过Hugging Face Python数据集库: python from datasets import load_dataset dataset = load_dataset("allenai/nllb", "ace_Latn-ban_Latn")
-
通过克隆git仓库: bash git lfs install git clone https://huggingface.co/datasets/allenai/nllb




