Home

Awesome

CoVoST: A Large-Scale Multilingual Speech-To-Text Translation Corpus

License: CC0-1.0 <a href="https://colab.research.google.com/drive/11GK7k7G1CG1qHbdA9Pz1RtQ3vlCkuohV"> <img alt="Open In Colab" src="https://colab.research.google.com/assets/colab-badge.svg?style=flat-square"> </a>

End-to-end speech-to-text translation (ST) has recently witnessed an increased interest given its system simplicity, lower inference latency and less compounding errors compared to cascaded ST (i.e. speech recognition + machine translation). End-to-end ST model training, however, is often hampered by the lack of parallel data. Thus, we created CoVoST, a large-scale multilingual ST corpus based on Common Voice, to foster ST research with the largest ever open dataset. Its latest version covers translations from English into 15 languages---Arabic, Catalan, Welsh, German, Estonian, Persian, Indonesian, Japanese, Latvian, Mongolian, Slovenian, Swedish, Tamil, Turkish, Chinese---and from 21 languages into English, including the 15 target languages as well as Spanish, French, Italian, Dutch, Portuguese, Russian. It has total 2,880 hours of speech and is diversified with 78K speakers.

<p align="center"><img src="overview.png" alt="CoVoST Overview" width="480"></p>

Please check out our papers (CoVoST 1, CoVoST 2) for more details and the VizSeq example for exploring CoVoST data.

<p align="center"><img src="stats2.png" alt="CoVoST Statistics" width="560"></p>

We also provide an additional out-of-domain evaluation set from Tatoeba for 5 languages (French, German, Dutch, Russian and Spanish) into English.

What's New

Getting Data

<details><summary>Language code</summary><p>
LangCode
Englishen
Frenchfr
Germande
Spanishes
Catalanca
Italianit
Russianru
Chinesezh-CN
Portuguesept
Persianfa
Estonianet
Mongolianmn
Dutchnl
Turkishtr
Arabicar
Swedishsv-SE
Latvianlv
Sloveniansl
Tamilta
Japaneseja
Indonesianid
Welshcy
</p></details>

CoVoST 2

  1. Download Common Voice audio clips and transcripts (version 4).
  2. Download CoVoST 2 translations (covost_v2.<src_lang_code>_<tgt_lang_code>.tsv, which matches the rows in validated.tsv from Common Voice):
  1. Get data splits: we adopt the standard Common Voice development/test splits and an extended Common Voice train split to improve data utilization (see also Section 2.2 in our paper). Use the following script to generate the data splits:
    python get_covost_splits.py \
      --version 2 --src-lang <src_lang_code> --tgt-lang <tgt_lang_code> \
      --root <root path to the translation TSV and output TSVs> \
      --cv-tsv <path to validated.tsv>
    
    You should get 3 TSV files (covost_v2.<src_lang_code>_<tgt_lang_code>.<split>.tsv) for train, dev and test splits, respectively. Each of them has 4 columns: path (audio filename), sentence (transcript), translation and client_id (speaker ID).

CoVoST 1

  1. Download Common Voice audio clips and transcripts (version 3).

  2. Download CoVoST translations (covost.<src_lang_code>_<tgt_lang_code>.tsv, which matches the rows in validated.tsv from Common Voice):

  3. Get data splits: we use extended Common Voice splits to improve data utilization. Use the following script to generate the data splits:

     python get_covost_splits.py \
       --version 1 --src-lang <src_lang_code> --tgt-lang <tgt_lang_code> \
       --root <root path to the translation TSV and output TSVs> \
       --cv-tsv <path to validated.tsv>
    

    You should get 3 TSV files (covost.<src_lang_code>_<tgt_lang_code>.<split>.tsv) for train, dev and test splits, respectively. Each of them has 4 columns: path (audio filename), sentence (transcript), translation and client_id (speaker ID).

Tatoeba Evaluation Data

  1. Download transcripts and translations and extract files to data/tt/*.

  2. Download speech data:

python get_tt_speech.py \
  --root <mp3 download root (default to data/tt/mp3)>

Exploring Data

VizSeq Example <a href="https://colab.research.google.com/drive/11GK7k7G1CG1qHbdA9Pz1RtQ3vlCkuohV"> <img alt="Open In Colab" src="https://colab.research.google.com/assets/colab-badge.svg?style=flat-square"> </a>

Model Training

We provide fairseq S2T example for speech recognition/translation model training.

License

License
CoVoST dataCC0
Tatoeba sentencesCC BY 2.0 FR
Tatoeba speechesVarious CC licenses (please check out the "audio_license" column in data/tt/tatoeba20191004.s2t.<lang>_en.tsv)
Anything elseCC BY-NC 4.0

Citation

Please cite as (CoVoST 2)

@misc{wang2020covost,
    title={CoVoST 2: A Massively Multilingual Speech-to-Text Translation Corpus},
    author={Changhan Wang and Anne Wu and Juan Pino},
    year={2020},
    eprint={2007.10310},
    archivePrefix={arXiv},
    primaryClass={cs.CL}
}

and (CoVoST 1)

@inproceedings{wang-etal-2020-covost,
    title = "{C}o{V}o{ST}: A Diverse Multilingual Speech-To-Text Translation Corpus",
    author = "Wang, Changhan  and
      Pino, Juan  and
      Wu, Anne  and
      Gu, Jiatao",
    booktitle = "Proceedings of The 12th Language Resources and Evaluation Conference",
    month = may,
    year = "2020",
    address = "Marseille, France",
    publisher = "European Language Resources Association",
    url = "https://www.aclweb.org/anthology/2020.lrec-1.517",
    pages = "4197--4203",
    abstract = "Spoken language translation has recently witnessed a resurgence in popularity, thanks to the development of end-to-end models and the creation of new corpora, such as Augmented LibriSpeech and MuST-C. Existing datasets involve language pairs with English as a source language, involve very specific domains or are low resource. We introduce CoVoST, a multilingual speech-to-text translation corpus from 11 languages into English, diversified with over 11,000 speakers and over 60 accents. We describe the dataset creation methodology and provide empirical evidence of the quality of the data. We also provide initial benchmarks, including, to our knowledge, the first end-to-end many-to-one multilingual models for spoken language translation. CoVoST is released under CC0 license and free to use. We also provide additional evaluation data derived from Tatoeba under CC licenses.",
    language = "English",
    ISBN = "979-10-95546-34-4",
}

Contact

Changhan Wang (changhan@fb.com), Juan Miguel Pino (juancarabina@fb.com), Jiatao Gu (jgu@fb.com)