-
Notifications
You must be signed in to change notification settings - Fork 16
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
Automatically generate readthedocs
list of all plugins and their info
#72
Conversation
…e-implementing classes
…fuzzy-potato into dev
deleted: langbrainscore/benchmark_packaging/.gitkeep deleted: langbrainscore/benchmark_packaging/package_benchmarks.py
…are cached with `HugingFaceEncoder`
plugins.rst
with a list of all plugins and infoplugins.rst
with a list of all plugins and their info
plugins.rst
with a list of all plugins and their inforeadthedocs
list of all plugins and their info
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very cool. The type (data, benchmarks etc) and instance (Pereira2018.language, wikitext-2/text etc) headings look fairly similar on the page, but that's a sphinx issue.
Is there a way to also get the class documentation in there? E.g. the Futrell2018
benchmark has documentation. The _Pereira2018
base class also has documentation, I think there's a way to tell the calling functions to copy the documentation
docs/source/index.rst
Outdated
modules/api_reference | ||
modules/plugins |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
modules/api_reference | |
modules/plugins | |
modules/plugins | |
modules/api_reference |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
API reference at the bottom imo
docs/source/modules/plugins.rst
Outdated
@@ -0,0 +1,106 @@ | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so will this file be auto-generated by the readthedocs build? I.e. won't be part of the repository once that happens?
* 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
…ng (#73) * option to run single test * typo * cleanup * documentation Co-authored-by: Katherine Fairchild <[email protected]>
* relax python version to `>=3.7` * test with python 3.7 through 3.9 (not testing python 3.10, travis doesn't have it yet) * `pip list` to print versions * use exact setuptools version in python 3.7 * fix travis.yml syntax
@kvfairchild what's the status of this PR? |
Deprioritized behind plugin environments. |
Sorry, this PR was closed after combining commit history. @kvfairchild can you please open a new PR? I'm afraid the simplest solution is to 1. checkout the branch locally, 2. copy all files into a separate location, 3. checkout main, 4. update main, 5. create a new branch, 6. copy all files back again overwriting the files in main, 7. push and open a PR. |
Populates
readthedocs
documentation (plugins.rst
) with information about all available plugins and a project bibliography. Relies on information, e.g. BiBTeX, provided in plugin__init__.py
.Adds the following dependencies:
sphinxcontrib-bibtex
RstCloth
Plugin info listing
Bibliography