The dataset viewer is not available for this dataset.
Cannot get the config names for the dataset.
Error code:   ConfigNamesError
Exception:    DataFilesNotFoundError
Message:      No (supported) data files found in projecte-aina/CA-ZH_Parallel_Corpus
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/dataset/", line 72, in compute_config_names_response
                  config_names = get_dataset_config_names(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/", line 347, in get_dataset_config_names
                  dataset_module = dataset_module_factory(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/", line 1904, in dataset_module_factory
                  raise e1 from None
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/", line 1885, in dataset_module_factory
                  return HubDatasetModuleFactoryWithoutScript(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/", line 1270, in get_module
                  module_name, default_builder_kwargs = infer_module_for_data_files(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/", line 597, in infer_module_for_data_files
                  raise DataFilesNotFoundError("No (supported) data files found" + (f" in {path}" if path else ""))
              datasets.exceptions.DataFilesNotFoundError: No (supported) data files found in projecte-aina/CA-ZH_Parallel_Corpus

Need help to make the dataset viewer work? Open a discussion for direct support.

Dataset Card for CA-ZH Parallel Corpus

Dataset Summary

The CA-ZH Parallel Corpus is a Catalan-Chinese dataset of 6.833.114 parallel sentences. The dataset was created to support Catalan in NLP tasks, specifically Machine Translation.

Supported Tasks and Leaderboards

The dataset can be used to train Bilingual Machine Translation models between Chinese and Catalan in any direction, as well as Multilingual Machine Translation models.


The sentences included in the dataset are in Catalan (CA) and Chinese (ZH).

Dataset Structure

Data Instances

Two separate txt files are provided with the sentences sorted in the same order:

  • contains 6.833.114 Catalan sentences.

  • ca-zh_all_2023_10_26.zh: contains 6.833.114 Chinese sentences.

Data Fields


Data Splits

The dataset contains a single split: train.

Dataset Creation

Dataset Creation

Curation Rationale

This dataset is aimed at promoting the development of Machine Translation between Catalan and other languages, specifically Chinese.

Source Data

Initial Data Collection and Normalization

The Catalan-Chinese data collected from the web was a combination of the following datasets:

Dataset Sentences before cleaning
WikiMatrix 90.643
XLENT 535.803
OpenSubtitles 139.300

The 6.658.607 sentence pairs of synthetic parallel data were created from the following Spanish-Chinese datasets:

Dataset Sentences before cleaning
UNPC 17.599.223
CCMatrix 24.051.233
MultiParacrawl 3.410.087
Total 45.060.543

Data preparation

The Chinese side of all datasets are passed through the fastlangid language detector and any sentences which are not identified as simplified Chinese are discarded. The datasets are then also deduplicated and filtered to remove any sentence pairs with a cosine similarity of less than 0.75. This is done using sentence embeddings calculated using LaBSE. The filtered datasets are then concatenated to form a final corpus of 6.833.114 parallel sentences.

Who are the source language producers?



Annotation process

The dataset does not contain any annotations.

Who are the annotators?


Personal and Sensitive Information

Given that this dataset is partly derived from pre-existing datasets that may contain crawled data, and that no specific anonymisation process has been applied, personal and sensitive information may be present in the data. This needs to be considered when using the data for training models.

Considerations for Using the Data

Social Impact of Dataset

By providing this resource, we intend to promote the use of Catalan across NLP tasks, thereby improving the accessibility and visibility of the Catalan language.

Discussion of Biases

No specific bias mitigation strategies were applied to this dataset. Inherent biases may exist within the data.

Other Known Limitations

The dataset contains data of a general domain. Applications of this dataset in more specific domains such as biomedical, legal etc. would be of limited use.

Additional Information

Dataset Curators

Language Technologies Unit at the Barcelona Supercomputing Center (

This work has been promoted and financed by the Generalitat de Catalunya through the Aina project.

Licensing Information

This work is licensed under a Attribution-NonCommercial-ShareAlike 4.0 International.

Citation Information




Downloads last month

Models trained or fine-tuned on projecte-aina/CA-ZH_Parallel_Corpus

Collection including projecte-aina/CA-ZH_Parallel_Corpus