Skip to content

SimulEval: A General Evaluation Toolkit for Simultaneous Translation

License

Notifications You must be signed in to change notification settings

sarapapi/SimulEval

This branch is 49 commits behind facebookresearch/SimulEval:main.

Folders and files

NameName
Last commit message
Last commit date
Dec 20, 2022
Feb 8, 2023
Feb 8, 2023
Mar 3, 2023
Sep 26, 2020
Feb 9, 2021
Sep 26, 2020
Sep 26, 2020
Sep 26, 2020
Dec 16, 2022
Dec 16, 2022
Jan 20, 2023

Repository files navigation

SimulEval

SimulEval is a general evaluation framework for simultaneous translation on text and speech. Full documentation can be found here.

Installation

git clone https://github.com/facebookresearch/SimulEval.git
cd SimulEval
pip install -e .

Quick Start

Following is the evaluation of a dummy agent which operates wait-k (k = 3) policy and generates random words until the length of the generated words is the same as the number of all the source words.

cd examples/quick_start
simuleval --source source.txt --target target.txt --agent first_agent.py.py

License

SimulEval is licensed under Creative Commons BY-SA 4.0.

Citation

Please cite as:

@inproceedings{simuleval2020,
  title = {Simuleval: An evaluation toolkit for simultaneous translation},
  author = {Xutai Ma, Mohammad Javad Dousti, Changhan Wang, Jiatao Gu, Juan Pino},
  booktitle = {Proceedings of the EMNLP},
  year = {2020},
}

About

SimulEval: A General Evaluation Toolkit for Simultaneous Translation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%