A unified interface for computing surprisal (log probabilities) from language models! Supports neural, symbolic, and black-box API models.
☆53Oct 19, 2026Updated 3 weeks ago
Alternatives and similar repositories for surprisal
Users that are interested in surprisal are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- SAP Benchmark☆30Sep 18, 2024Updated 2 years ago
- Tools for calculating psycholinguistically-relevant metrics of language statistics using transformer language models☆13Nov 11, 2022Updated 4 years ago
- Utility for behavioral and representational analyses of Language Models☆201Oct 6, 2026Updated last month
- Pytorch implementation of next word prediction. Includes my own implementation of Google AI's Transformer architecture☆28Jun 30, 2021Updated 5 years ago
- A framework for nonlinear continuous-time regression☆42Jan 22, 2025Updated last year
- End-to-end encrypted email - Proton Mail • AdSpecial offer: 40% Off Yearly / 80% Off First Month. All Proton services are open source and independently audited for security.
- Evaluate computational models on their alignment to behavioral and neural measurements in the domain of language☆46Updated this week
- [Kauf & Ivanova, ACL 2023] A Better Way to Do Masked Language Model Scoring☆13Dec 1, 2023Updated 2 years ago
- Code for "Multilingual language models predict human reading behavior"☆12Oct 9, 2022Updated 4 years ago
- Parity-Aware Byte-Pair Encoding: Improving Cross-lingual Fairness in Tokenization [ACL 2026]☆20Apr 18, 2026Updated 6 months ago
- Simulation tools for Mixed Models☆21Jun 22, 2026Updated 4 months ago
- Taxonomic Fragmentation of the NLI Task☆22Nov 11, 2020Updated 6 years ago
- This repository contains the Potsdam Textbook Corpus (PoTeC) which is a natural reading eye-tracking corpus.☆16Oct 30, 2026Updated 2 weeks ago
- Easy black-box access to state-of-the-art language models☆15Jun 7, 2023Updated 3 years ago
- ☆16Oct 23, 2023Updated 3 years ago
- Virtual machines for every use case on DigitalOcean • AdGet dependable uptime with 99.99% SLA, simple security tools, and predictable monthly pricing with DigitalOcean's virtual machines, called Droplets.
- Code and data for paper Colorless Green Recurrent Networks Dream Hierarchically☆99Oct 12, 2021Updated 5 years ago
- Templates etc. for creating experiments using Ibex Farm.☆11Jul 21, 2018Updated 8 years ago
- Seamless distributed computing for Python functions☆10Aug 23, 2026Updated 2 months ago
- 📃Language Model based sentences scoring library☆312Jun 8, 2026Updated 5 months ago
- Voxelwise Encoding Model tutorials from the Gallant lab.☆105Sep 24, 2026Updated last month
- Official Implementation of ACL2023: Unsupervised Discontinuous Constituency Parsing with Mildly Context-Sensitive Grammars☆13May 24, 2023Updated 3 years ago
- Code for replicating the work in "Targeted Syntactic Evaluation of Language Models." EMNLP 2018.☆45Apr 25, 2020Updated 6 years ago
- [WACV 2024] Code release for "VEATIC: Video-based Emotion and Affect Tracking in Context Dataset"☆25Jan 14, 2026Updated 10 months ago
- ☆88Updated this week
- GPUs on demand by Runpod - Special Offer Available • AdRun AI, ML, and HPC workloads on powerful cloud GPUs—without limits or wasted spend. Deploy GPUs in under a minute and pay by the second.
- Matlab and Python code for pupillometry studies.☆14May 27, 2021Updated 5 years ago
- ☆26May 4, 2022Updated 4 years ago
- A Python package to calculate the delay between two arrays or two audio files☆10Aug 28, 2025Updated last year
- ☆13Jun 3, 2019Updated 7 years ago
- A revised version of Wuggy, implemented as a Python library☆32Jul 18, 2026Updated 3 months ago
- ☆14Sep 22, 2020Updated 6 years ago
- Depth-Bounded PCFG Induction☆13Apr 19, 2019Updated 7 years ago
- Few-Shot Document-Level Event Argument Extraction: https://arxiv.org/abs/2209.02203☆12Sep 3, 2023Updated 3 years ago
- Inside-Outside PCFG Training Tool☆12Mar 29, 2016Updated 10 years ago
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- Scalable learning with pragmatics☆11Mar 31, 2018Updated 8 years ago
- Surprisal calculation using HuggingFace LMs ("Frequency Explains the Inverse Correlation of Large Language Models’ Size, Training Data Am…☆23Mar 7, 2024Updated 2 years ago
- Computes innocently excludable and includable sets of alternatives☆13Oct 14, 2021Updated 5 years ago
- Code for running forward and backward versions of GPT2☆10Nov 20, 2021Updated 4 years ago
- EEG/MEG data preprocessing and analyses framework☆13May 2, 2022Updated 4 years ago
- [CIKM'24] Reviving the Context: Camera Trap Species Classification as Link Prediction on Multimodal Knowledge Graphs☆12Apr 2, 2025Updated last year
- ACL'2023: Few-shot Event Detection: An Empirical Study and a Unified View☆11Mar 13, 2024Updated 2 years ago
Are these results useful?