Skip to content

Beam Search 4.Visit seq2seq implmentation

Higepon Taro Minowa edited this page Jun 25, 2017 · 16 revisions

Goal

Understand how decoder works. Especially how it handles y(t) and y(t + 1). Do they come at once?

Step by step

  • predict.py
    • token_ids (input to encoder)
    • run
    • returns outputs (output from decoder)
  • What type is outputs?
  • Who initiate outputs?
  • Who will outputs?
  • When outputs is filled?

Clone this wiki locally