dmlc / gluon-nlp

NLP made easy
https://nlp.gluon.ai/
Apache License 2.0
2.56k stars 538 forks source link

[Decoding] Update incremental decoding implementation #1583

Open barry-jin opened 2 years ago

barry-jin commented 2 years ago

Description

Try to fix #1582: Update incremental decoding caching mechanism.

Checklist

Essentials

Changes

Comments

cc @dmlc/gluon-nlp-team