Skip to main content

No project description provided

Project description

Build Status Documentation Status Website Status Contributor Covenant

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

brainscore_language-2.2.1.tar.gz (214.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

brainscore_language-2.2.1-py3-none-any.whl (276.0 kB view details)

Uploaded Python 3

File details

Details for the file brainscore_language-2.2.1.tar.gz.

File metadata

  • Download URL: brainscore_language-2.2.1.tar.gz
  • Upload date:
  • Size: 214.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for brainscore_language-2.2.1.tar.gz
Algorithm Hash digest
SHA256 1feb7e657afe0546309f422dff6081222ee09d39f8d60b8cc10c8962b560c5c7
MD5 85faecc1c197ac4cc6b71d555e4dae1d
BLAKE2b-256 6842e1603ec5f80b0410a416ecc87d06800bc0eaaad159cec1908c03a517b32d

See more details on using hashes here.

File details

Details for the file brainscore_language-2.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for brainscore_language-2.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5d10735dce5c1786c75c6a3b5c660c93a74b900f5bd51f1ab8d07a733891ca4f
MD5 5f9f872b98a464d2f2090f9035e95e91
BLAKE2b-256 6b5362b6a19590c0f5383a5b4fc11fe4b019b45d332d5481774480b27aa8d120

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page