aalok-sathe / surprisal
A unified interface for computing surprisal (log probabilities) from language models! Supports neural, symbolic, and black-box API models.
☆40Updated 4 months ago
Alternatives and similar repositories for surprisal:
Users that are interested in surprisal are comparing it to the libraries listed below
- Tools for calculating psycholinguistically-relevant metrics of language statistics using transformer language models☆11Updated 2 years ago
- Utility for behavioral and representational analyses of Language Models☆138Updated last week
- A framework for nonlinear continuous-time regression☆35Updated 3 months ago
- [Kauf & Ivanova, ACL 2023] A Better Way to Do Masked Language Model Scoring☆10Updated last year
- ☆18Updated 3 years ago
- ☆10Updated last week
- Corpus of naturalistic stories with annotation and psycholinguistic measures☆53Updated 3 years ago
- This repository contains the Potsdam Textbook Corpus (PoTeC) which is a natural reading eye-tracking corpus.☆12Updated 3 months ago
- Code and Results for "Universals of word order reflect optimization of grammars for efficient communication"☆15Updated 2 years ago
- Collection of available data sources for cognitively-inspired NLP☆38Updated 4 years ago
- A psycholinguistic modeling toolkit☆27Updated 2 months ago
- A neural language model that estimates incremental processing complexity☆39Updated 3 years ago
- Analysis pipeline for Revisiting UID (EMNLP 2021)☆11Updated 2 years ago
- ☆58Updated 4 years ago
- Tools for all things related to Combinatory Categorial Grammar☆12Updated last year
- Narratives: fMRI data for evaluating models of naturalistic language comprehension☆61Updated last month
- Code for auto-generating maze distractors and running maze in ibex☆23Updated 9 months ago
- SAP Benchmark☆16Updated 7 months ago
- Automatically exported from code.google.com/p/incremental-top-down-parser☆13Updated 10 years ago
- Surprisal calculation using HuggingFace LMs ("Frequency Explains the Inverse Correlation of Large Language Models’ Size, Training Data Am…☆14Updated last year
- 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
- Structural Supervision & Human Psycholinguistic Data☆10Updated 4 years ago
- Diagnostic tests for linguistic capacities in language models☆66Updated 3 years ago
- Predicting brain activity from word embeddings during natural language comprehension☆20Updated last year
- Data and code for "Nibbling at the Hard Core of Word Sense Disambiguation" (ACL 2022).☆15Updated 3 years ago
- Automated Semantic Analysis of Discourse Markers☆10Updated 2 years ago
- ☆12Updated last year
- Python version for Doug Biber's Multidimensional Analysis (MDA)☆30Updated 2 months ago
- ☆34Updated 9 months ago
- Modern SQLAlchemy wrappers for the MRC psycholinguistics database☆21Updated 10 years ago