Skip to content

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

@ElroyLR

Description

@ElroyLR

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions