Skip to content

update plugin runner for directory restructure - #52

Merged
kvfairchild merged 16 commits into
mschrimpf/restructure_directoriesfrom
kvf/restructure_plugin_runner
Aug 23, 2022
Merged

kvfairchild merged 16 commits into
mschrimpf/restructure_directoriesfrom
kvf/restructure_plugin_runner

Conversation

@kvfairchild

@kvfairchild kvfairchild commented Aug 22, 2022 •

Copy link
Copy Markdown
Contributor

Extends #50 to work with plugin runner

@kvfairchild
kvfairchild requested a review from mschrimpf August 22, 2022 02:38
Comment thread .travis.yml Resolved
@kvfairchild
kvfairchild merged commit f8e8d2f into mschrimpf/restructure_directories Aug 23, 2022
@kvfairchild
kvfairchild deleted the kvf/restructure_plugin_runner branch August 23, 2022 00:24
mschrimpf added a commit that referenced this pull request Aug 31, 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
* 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]>
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