SimulEval: A Flexible Toolkit for Automated Machine Translation Evaluation
Project description
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
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},
}
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
simuleval-1.1.1.tar.gz
(582.3 kB
view details)
Built Distribution
simuleval-1.1.1-py3-none-any.whl
(46.8 kB
view details)
File details
Details for the file simuleval-1.1.1.tar.gz
.
File metadata
- Download URL: simuleval-1.1.1.tar.gz
- Upload date:
- Size: 582.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69419eb174f634b91f206da0191a8e91b3ef509a82751b49c7b8159a9014c423 |
|
MD5 | 3da070e3fcf0040448e01883932625f1 |
|
BLAKE2b-256 | 6b96a99a32b63a6e9e71ccd03199704cd109d62e89b45174fa63508add99216c |
Provenance
File details
Details for the file simuleval-1.1.1-py3-none-any.whl
.
File metadata
- Download URL: simuleval-1.1.1-py3-none-any.whl
- Upload date:
- Size: 46.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a757d8982d05e6cd18c9c0c9b104c43360f67185fb22e6b7b2c4ad4d0491a8f1 |
|
MD5 | 76c29fdad74812f9cc118d05a085ef3b |
|
BLAKE2b-256 | 254818ad13510827271a715d92eebf038bd5f02782b10158454a83d2a2d9d3a9 |