No project description provided
Project description
Brain-Score Language is a platform to evaluate computational models of language on their match to behavioral and neural
measurements in the domain of language processing. The intent of Brain-Score is to adopt many (ideally all) the
experimental benchmarks in the field for the purpose of model testing, falsification, and comparison. To that end,
Brain-Score operationalizes experimental data into quantitative benchmarks that any model candidate following
the BrainModel interface can be scored on.
See the Documentation for more details.
Brain-Score is made by and for the community. To contribute, please send in a pull request.
Alpha status
This repository is under active development, and should be considered to be in an alpha status. Code is likely to change substantially, without backwards compatibility. Please let us know of any problems by creating an issue.
Setup
python -m pip install -e "." # change "." to ".[test]" to include testing dependencies
Please note that plugins (models, benchmarks, data, and metrics) may require additional dependencies beyond those installed here. Default behavior will install these dependencies directly into the runtime environment.
To avoid conflicts, we encourage either using an environment manager or setting the BS_INSTALL_DEPENDENCIES environment variable to either no or newenv (e.g. export BS_INSTALL_DEPENDENCIES=newenv).
no will leave all dependency installation up to the user, whereas newenv will create a new conda environment for the duration of the run. If you would like to use the newenv option and do not already have conda installed, you can follow the installation instructions here.
Usage
Score an existing model on an existing benchmark:
python brainscore_language score --model_identifier='distilgpt2' --benchmark_identifier='Futrell2018-pearsonr'
License
MIT license
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file brainscore_language-2.1.0.tar.gz.
File metadata
- Download URL: brainscore_language-2.1.0.tar.gz
- Upload date:
- Size: 220.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11d779c1d0037e8124ff5a5ecdc945550ef609b0f0b1419e30a4d3c2a3bece6b
|
|
| MD5 |
5bffd815e548e363dc9f6b3ac45cd015
|
|
| BLAKE2b-256 |
87db07df8722a2d350ab3fded81814c4265e3164310a5d6546864d4939fa56fb
|
File details
Details for the file brainscore_language-2.1.0-py3-none-any.whl.
File metadata
- Download URL: brainscore_language-2.1.0-py3-none-any.whl
- Upload date:
- Size: 283.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7e7ab78cb087fb6fd80b56d3ad54d34825339cb4721c4ce76fc60142ac59cfc
|
|
| MD5 |
401fadfb5966897ab25e17fede984fe0
|
|
| BLAKE2b-256 |
61a5104e1aa01185bc20221ca63f756e416237241ad87902d2312f3b9e9d69ac
|