Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

teacher forcing #18

Open
zhao1402072392 opened this issue Oct 30, 2019 · 2 comments
Open

teacher forcing #18

zhao1402072392 opened this issue Oct 30, 2019 · 2 comments

Comments

@zhao1402072392
Copy link

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

@RunxinXu
Copy link

@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.

@manzar96
Copy link

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants