GithubHelp home page GithubHelp logo

tuanh23 / multimodalst Goto Github PK

View Code? Open in Web Editor NEW
1.0 4.0 0.0 60.33 MB

Limit the use of end-to-end data for Speech Translation (by leveraging Automatic Speech Recognition and Machine Translation data instead) using zero-shot multilingual text translation techniques.

License: Other

Python 65.92% Jupyter Notebook 18.05% Shell 2.82% TeX 13.11% Cython 0.10%
speech-translation zero-shot few-shot multi-modal

multimodalst's Introduction

Tackling data scarcity in Speech Translation using zero-shot multilingual Machine Translation techniques

This repository is derived from the NMTGMinor project at https://github.com/quanpn90/NMTGMinor
The SVCCA calculation is derived from https://github.com/nlp-dke/svcca

Powered by Mediaan.com


Speech Translation (ST) is the task of translating speech audio in a source language into text in a target language. This repository implements and experiments on different approaches for ST:

  • Cascaded ST, including 2 steps: Automatic Speech Recognition (ASR) and Machine Translation (MT)
  • Direct ST: models trained only on ST data
  • (Main contribution) End-to-end ST limiting the use of ST data: multi-modal models leveraging ASR and MT training data for ST task

The Transformer architecture is used as the baseline for the implementation.

High-level instruction to use the repo:

  • Run covost_data_preparation.py to download and preprocess the data.
  • Run the shell script of interst, change the variables in the script if needed.
    • run_translation_pipeline.sh for single-task models (ASR, MT, ST)
    • cascaded_ST_evaluation.sh evaluates cascaded ST using pretrained ASR and MT models
    • run_translation_multi_modalities_pipeline.sh for multi-task, multi-modality models (including zero-shot)
    • run_zeroshot_with_artificial_data.sh for zero-shot models using data augmentation
    • run_bidirectional_zeroshot.sh for zero-shot models using additional opposite training data
    • run_fine_tunning.sh, run_fine_tunning_fromASR.sh for fine-tuning models with ST data, resulting in few-shot models
    • modality_similarity_svcca.sh, modality_similarity_classifier.sh measure text-audio similarity in representation

See notebooks/Repo_Instruction.ipynb for more details.

Citation

@INPROCEEDINGS{9746815,
  author={Dinh, Tu Anh and Liu, Danni and Niehues, Jan},
  booktitle={ICASSP 2022 - 2022 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP)}, 
  title={Tackling Data Scarcity in Speech Translation Using Zero-Shot Multilingual Machine Translation Techniques}, 
  year={2022},
  volume={},
  number={},
  pages={6222-6226},
  doi={10.1109/ICASSP43922.2022.9746815}}

multimodalst's People

Contributors

jniehues-kit avatar pnquan90 avatar quanpn90 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.