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

Why use start letter(0) replace the first position of data? #24

Open
ElroyLR opened this issue Aug 30, 2023 · 0 comments
Open

Why use start letter(0) replace the first position of data? #24

ElroyLR opened this issue Aug 30, 2023 · 0 comments

Comments

@ElroyLR
Copy link

ElroyLR commented Aug 30, 2023

hello suragnair,

I have run your code and observed that during pretraining the generator, in the 'helper.py', function 'prepare_generator_batch', the start data of input is replaced to zero as a start letter. I am curious about the purpose of this operation and how it influences the loss calculation.

Looking forward to your reply. Thank you.

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

1 participant