aalok-sathe / surprisal
A unified interface for computing surprisal (log probabilities) from language models! Supports neural, symbolic, and black-box API models.
☆36Updated 2 months ago
Alternatives and similar repositories for surprisal:
Users that are interested in surprisal are comparing it to the libraries listed below
- Utility for behavioral and representational analyses of Language Models☆128Updated last week
- A framework for nonlinear continuous-time regression☆35Updated 3 weeks ago
- Tools for calculating psycholinguistically-relevant metrics of language statistics using transformer language models☆9Updated 2 years ago
- A psycholinguistic modeling toolkit☆25Updated 3 weeks ago
- ☆57Updated 4 years ago
- Collection of available data sources for cognitively-inspired NLP☆39Updated 4 years ago
- A neural language model that estimates incremental processing complexity☆39Updated 3 years ago
- ☆17Updated 2 years ago
- Analysis pipeline for Revisiting UID (EMNLP 2021)☆11Updated 2 years ago
- Code for auto-generating maze distractors and running maze in ibex☆23Updated 6 months ago
- Corpus of naturalistic stories with annotation and psycholinguistic measures☆50Updated 3 years ago
- Narratives: fMRI data for evaluating models of naturalistic language comprehension☆60Updated 3 years ago
- Predicting brain activity from word embeddings during natural language comprehension☆18Updated last year
- SAP Benchmark☆15Updated 5 months ago
- ☆32Updated 6 months ago
- Code and Results for "Universals of word order reflect optimization of grammars for efficient communication"☆14Updated 2 years ago
- ☆11Updated 11 months ago
- Structural Supervision & Human Psycholinguistic Data☆10Updated 3 years ago
- Diagnostic tests for linguistic capacities in language models☆66Updated 2 years ago
- Automatically exported from code.google.com/p/incremental-top-down-parser☆13Updated 9 years ago
- CogniVal: cognitive word embedding evaluation☆14Updated 2 years ago
- Code for processing brain data☆12Updated 5 years ago
- Code associated with the paper "Inducing brain-relevant bias in natural language processing models" in the proceedings of the 33rd Confer…☆12Updated 5 years ago
- Python version for Doug Biber's Multidimensional Analysis (MDA)☆29Updated 2 months ago
- [PNAS'21] The neural architecture of language: Integrative modeling converges on predictive processing☆56Updated last year
- Surprisal calculation using HuggingFace LMs ("Frequency Explains the Inverse Correlation of Large Language Models’ Size, Training Data Am…☆13Updated 11 months ago
- Automated Semantic Analysis of Discourse Markers☆10Updated 2 years ago
- Modern SQLAlchemy wrappers for the MRC psycholinguistics database☆21Updated 10 years ago
- ☆12Updated 2 years ago
- Data on verb transitivity in English and script to extract transitivity information from Google's syntactic ngrams corpus☆10Updated 6 years ago