Seq2Seq-PyTorch icon indicating copy to clipboard operation
Seq2Seq-PyTorch copied to clipboard

teacher forcing

Open Jiaxu-Zhao opened this issue 6 years ago • 2 comments

firstly,thanks for your code,it's really helpful to me,but could i know where is the teacher forcing part,thanks again^_^

Jiaxu-Zhao avatar Oct 30 '19 08:10 Jiaxu-Zhao

@zhao1402072392 teacher forcing raito may be used during training. You can have a look at the model.py, where you can find out that the ratio is actually 1. If you want to modify it, you can modify the decoding procedure during training. That's my opinion.

RunxinXu avatar Nov 22 '19 16:11 RunxinXu

@zhao1402072392 teacher forcing raito may be used during training. You can have a look at the model.py, where you can find out that the ratio is actually 1. If you want to modify it, you can modify the decoding procedure during training. That's my opinion.

Excuse me, but i have one question. Teacher forcing as you said may be used during training (or validation?). However on testing time no teacher forcing should be used. Am i right? In this implementation there is no use of teacher forcing(?). Correct me if I am wrong. Thanks in advance for your time.

manzar96 avatar Mar 27 '20 23:03 manzar96