Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
LeeSomm opened this issue Jun 28, 2024 · 0 comments

Comments

@LeeSomm
Copy link

LeeSomm commented Jun 28, 2024

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant