Fairseq: What is incremental_state?

Created on 17 Aug 2018  路  2Comments  路  Source: pytorch/fairseq

I am trying to understand the decoder in the fconv architecture and I am wondering what does the incremental_state variable do and what values does it hold when doing inference? Is it not used at all at training time?

Thanks in advance

Most helpful comment

I wrote up a blog post that describes some of what the incremental_decoder does:
http://www.telesens.co/2019/04/21/understanding-incremental-decoding-in-fairseq

All 2 comments

Please see my comment here: https://github.com/pytorch/fairseq/issues/166#issuecomment-392259850

You are correct that it is not used during training time, only inference time.

I wrote up a blog post that describes some of what the incremental_decoder does:
http://www.telesens.co/2019/04/21/understanding-incremental-decoding-in-fairseq

Was this page helpful?
0 / 5 - 0 ratings