Skip to content
This repository was archived by the owner on Feb 1, 2025. It is now read-only.
This repository was archived by the owner on Feb 1, 2025. It is now read-only.

RuntimeError: Trying to create tensor with negative dimension -200001: [-200001, 16] #68

Description

@LeeSomm

For anyone else encountering this error when running the vocab_intersection.py, it looks like there is an issue with the config.json in transfo-xl-wt103 directory.

Update the config.json to the JSON in the link below and it should resolve the error.
https://huggingface.co/transfo-xl/transfo-xl-wt103/raw/50554b1a7e440d988096dbdf0b3a0edc73470d3d/config.json

Hope this helps!

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions