Skip to content

index out of range at LookupTable.lua #2

Description

@Anupama94

Hi,
I have a vocabulary size of 300001, and when I try to train the Language model I get this error as,
orch/install/share/lua/5.1/nn/LookupTable.lua:73: index out of range at /home/anupama/torch/pkg/torch/lib/TH/generic/THTensorMath.c:277

I believe this is an error related to the dimensions of the LookupTable. Could you tell me what sort of dimensions are appropriate as the embedding size and rnn_size for such a vocabulary size?

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