Repository navigation
Usage examples - #69
Merged
Merged
Conversation
mschrimpf
marked this pull request as ready for review
September 21, 2022 15:24
gretatuckute
requested changes
Sep 22, 2022
gretatuckute
left a comment
Contributor
There was a problem hiding this comment.
Thank you!
Two comments:
-
For the score.ipynb notebook and GloVe demonstration, punctuation should probably be stripped (?) because right now it provides nans for the last word in each sentence or if there is a comma. However, that should be inherent to the GloVe model and not the Pereira stimuli per se (i.e. if we run a transformer, we want to retain punctuation)?
-
For the compare_within_species.ipynb, the metric is named according to our old convention (see PR #68), should be updated?
Member
Author
|
Addressed the first point. |
gretatuckute
approved these changes
Sep 28, 2022
mschrimpf
added a commit
that referenced
this pull request
Oct 26, 2022
* relax python version * try exact python 3.7 version for colab * add example scripts for scoring (separate layers), species comparisons * fix human-human behavioral comparison * fix model behavioral/neural comparisons * undo python specification changes * add human-human neural comparison * progress bar over huggingface text digestion * distilgpt2 score on Futrell, and glove on Pereira2018 * remove whitespace * explain `[1:]` * show examples in docs * try with examples.md in source * remove punctuation for embedding models * fix colon removal
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.
See https://github.com/brain-score/language/tree/mschrimpf/examples/examples for rendered.