GithubHelp home page GithubHelp logo

hadarl / brainscore-language Goto Github PK

View Code? Open in Web Editor NEW

This project forked from brain-score/language

0.0 0.0 1.0 851 KB

Evaluate computational models on their alignment to behavioral and neural measurements in the domain of language

License: MIT License

Python 100.00%

brainscore-language's Introduction

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

brainscore-language's People

Contributors

mschrimpf avatar kvfairchild avatar shehadak avatar hadarl avatar d-val avatar hadarbg avatar jimn2 avatar benlipkin avatar hans avatar aalok-sathe avatar chengxuz avatar eghbalhosseini avatar gretatuckute avatar awwkl avatar samwinebrake avatar

Forkers

amire80

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.