【问题标题】:Sockeye WMT German to English news translation stopping criteriumSockeye WMT 德语到英语新闻翻译停止标准
【发布时间】:2021-01-18 06:40:07
【问题描述】:

我正在https://awslabs.github.io/sockeye/tutorials/wmt.html 做教程。

以下命令给出以下输出。

python3 -m sockeye.train -d train_data \
                        -vs newstest2016.tc.BPE.de \
                        -vt newstest2016.tc.BPE.en \
                        --max-seq-len 60 \
                        --decode-and-evaluate 500 \
                        --use-cpu \
                        -o wmt_model

sockeye.utils.SockeyeError: Please specify at least one stopping criteria: --max-samples --max-updates --max-checkpoints --max-num-epochs --max-num-checkpoint-not-improved

这个任务的合理停止标准是什么?

【问题讨论】:

    标签: machine-translation


    【解决方案1】:

    典型的停止标准是提前停止,即训练模型直到验证损失得到改善。在 Sockey 中,它是--max-num-checkpoint-not-improved。详情请见Sockey documentation。

    【讨论】:

      猜你喜欢
      • 2013-01-07
      • 2018-05-09
      • 1970-01-01
      • 2019-09-12
      • 2012-06-16
      • 1970-01-01
      • 2011-10-24
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多