【文件属性】:
文件名称:SimulEval:SIMULEVAL通用翻译评估工具包
文件大小:121KB
文件格式:ZIP
更新时间:2021-05-01 02:10:26
Python
同步评估
SimulEval是用于文本和语音同时翻译的通用评估框架。
要求
python> = 3.7.0
安装
git clone git@github.com:fairinternal/SimulEval.git
cd SimulEval
pip install -e .
快速开始
以下是对的评估,该运行wait-k(k = 3)策略并生成随机单词,直到生成的单词的长度与所有源单词的数量相同为止。 可以在找到教程。
cd examples
simuleval \
--agent dummy/dummy_waitk_text_agent.py \
--source data/src.txt \
--target data/tgt.txt
执照
SimulEval已获得Creative Commons BY-SA 4.0的许可。
引文
请引用为:
@inproceedin
【文件预览】:
SimulEval-master
----.github()
--------workflows()
----examples()
--------dummy()
--------data()
----CONTRIBUTING.md(742B)
----LICENSE(20KB)
----setup.cfg(62B)
----setup.py(820B)
----README.md(1KB)
----docs()
--------get_started.md(5KB)
--------architecture.png(23KB)
--------server_client.md(2KB)
--------architecture.pdf(59KB)
--------evaluation.md(2KB)
--------restful_api.md(4KB)
----CODE_OF_CONDUCT.md(3KB)
----.gitignore(2KB)
----simuleval()
--------options.py(3KB)
--------utils()
--------agents()
--------states()
--------metrics()
--------__init__.py(408B)
--------test()
--------cli.py(6KB)
--------data()
--------scorer()
--------online()
----CHANGELOG.md(234B)