Skip to content

Forward function arguments #2

@sedrickkeh

Description

@sedrickkeh

In the forward function of the models, the argument list goes something like forward(self, x, x_len, epoch, target_word, tokens):. I understand that x is the input and x_len are the lengths. What do target_word and tokens mean?

Alternatively, would it be possible to provide some kind of training script to run the models?

Thanks!

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