Skip to content

While training the model can see all words (beside the last one) #2

Description

@talbaumel

Lets say a sentence in the data set is (1,2,3,4)
Then prepare_data function will create:
X = (1,2,3)
Y = (2,3,4)

While predicting 2 and 3 your model can copy them from the input

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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