scheduled sampling in Tensorflow

后端 未结 3 1017
长情又很酷
长情又很酷 2020-12-31 19:13

The newest Tensorflow api about seq2seq model has included scheduled sampling:

https://www.tensorflow.org/api_docs/python/tf/contrib/seq2seq/ScheduledEmbeddingTraini

3条回答
  •  不思量自难忘°
    2020-12-31 19:55

    I contacted the engineer behind this, and he responded:

    The output sampler either emits the raw rnn output or the raw ground truth at that time step. The embedding sampler treats the rnn output as logits of a distribution and either emits the embedding lookup of a sampled id from that categorical distribution or the raw ground truth at that time step.

提交回复
热议问题