Repository navigation
add Glove with Gensim embedding wrapper - #59
Merged
Merged
Conversation
gretatuckute
approved these changes
Sep 3, 2022
mschrimpf
added a commit
that referenced
this pull request
Oct 26, 2022
* copy Glove implementation from neural-nlp https://github.com/mschrimpf/neural-nlp/blob/cedac1f868c8081ce6754ef0c13895ce8bc32efc/neural_nlp/models/implementations.py * adapt GloVe to ArtificialSubject using Gensim wrapper * automatically download weights * fix import * add tests README describing markers from https://github.com/brain-score/brain-score/blob/5e43c9495eb3de93bfc12ab6b2421c66ef4f4fc4/tests/README.md * mark glove test as travis_slow * remove redundant prints * use glove.txt directly, do away with word2vec conversion
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The embedding wrapper only supports neural recordings, but no behavioral tasks.
The nicer solution for the weight download might be to host the converted weights somewhere [5.3GB], but I wasn't sure where to put them. Once weights are downloaded and converted, it takes about 5 minutes to load them.