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

Add aliases for pretrained vectors for backwards compatibility #120

Merged
merged 2 commits into from
Sep 14, 2017

Conversation

nelson-liu
Copy link
Contributor

Fixes #100, specifically #100 (comment)

Enables the __init__ argument of Vocab to take one of the pretrained aliases we were using before, and it'll translate it into a Vectors object of the appropriate type.

@nelson-liu nelson-liu changed the title Add aliases for pretrained Vectors for backwards compatibility Add aliases for pretrained vectors for backwards compatibility Sep 13, 2017
@jekbradbury
Copy link
Contributor

Thanks Nelson!

@jekbradbury jekbradbury merged commit 4f22159 into pytorch:master Sep 14, 2017
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

Successfully merging this pull request may close these issues.

2 participants