Repository navigation
restructure plugins into data, metrics, models, benchmarks - #50
Merged
Merged
Conversation
# Conflicts: # brainscore_language/model_helpers/readme.md
`datasets` -> `data_registry` `metrics` -> `metric_registry` `benchmarks` -> `benchmark_registry` `models` -> `model_registry`
* update plugin paths * typo fix * add bibtex * unique namespace for plugins * nix relative import * update plugin name * Update brainscore_language/benchmarks/pereira2018/benchmark.py * Update brainscore_language/utils/plugins/test_plugins.py * update plugin tests path * add `models` Co-authored-by: Martin Schrimpf <[email protected]> * uplevel plugins * reflect dir restructuring * update plugins test instructions * update paths Co-authored-by: Katherine Fairchild <[email protected]> Co-authored-by: Martin Schrimpf <[email protected]>
mschrimpf
marked this pull request as ready for review
August 24, 2022 15:55
# Conflicts: # brainscore_language/plugins/test_plugins.py
otherwise users might expect that the plugins/ folder contains the actual plugins
to avoid PermissionDenied error
kvfairchild
reviewed
Aug 31, 2022
kvfairchild
reviewed
Aug 31, 2022
|
|
||
| logger = logging.getLogger(__name__) | ||
|
|
||
| BIBTEX = """@article{pereira2018toward, |
Contributor
There was a problem hiding this comment.
Do we want to add an extension (e.g. sphinxcontrib-bibtex) for generating plugin documentation from these? Maybe we should make BibTeX inclusion a plugin requirement?
Member
Author
There was a problem hiding this comment.
ooh if you know how to do that, that could be cool! :)
Not every data (etc) will be published, so I would not make it a requirement.
kvfairchild
approved these changes
Aug 31, 2022
Co-authored-by: kvfairchild <[email protected]>
Co-authored-by: kvfairchild <[email protected]>
mschrimpf
added a commit
that referenced
this pull request
Sep 1, 2022
mschrimpf
added a commit
that referenced
this pull request
Sep 2, 2022
mschrimpf
added a commit
that referenced
this pull request
Oct 26, 2022
* restructure huggingface helper * restructure Futrell2018 * remove __init__.py files to discourage direct imports * restructure pereira2018 * restructure wikitext, fedorenko2016, and blank2014 * rename plugin pools to `<type>_registry` `datasets` -> `data_registry` `metrics` -> `metric_registry` `benchmarks` -> `benchmark_registry` `models` -> `model_registry` * update plugin runner for directory restructure (#52) * update plugin paths * typo fix * add bibtex * unique namespace for plugins * nix relative import * update plugin name * Update brainscore_language/benchmarks/pereira2018/benchmark.py * Update brainscore_language/utils/plugins/test_plugins.py * update plugin tests path * add `models` Co-authored-by: Martin Schrimpf <[email protected]> * uplevel plugins * reflect dir restructuring * update plugins test instructions * update paths Co-authored-by: Katherine Fairchild <[email protected]> Co-authored-by: Martin Schrimpf <[email protected]> * rename {data,metric,benchmark}.py --> __init__.py * rename plugins -> plugin_management otherwise users might expect that the plugins/ folder contains the actual plugins * autoformat; fix `self.plugin_env_path` * use `bash` to `run_plugin.sh` to avoid PermissionDenied error * nitty oxford comma Co-authored-by: kvfairchild <[email protected]> Co-authored-by: Katherine Fairchild <[email protected]>
mschrimpf
added a commit
that referenced
this pull request
Oct 26, 2022
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.
No description provided.