wobblybits/surprisal

A playful experiment turning LLM surprisal values into musical melodies (and vice versa)

22
/ 100
Experimental

This tool helps you explore how surprising individual words are in a sentence by turning them into musical melodies, and vice versa. You input a sentence and get a melody based on the 'surprisingness' of each word, or you can play notes and get corresponding words. It's designed for anyone curious about how language models perceive and process text, offering a unique way to understand language complexity.

No commits in the last 6 months.

Use this if you want an intuitive, musical way to understand how large language models 'interpret' the unexpectedness of words in different contexts.

Not ideal if you're looking for a precise linguistic analysis tool or a professional music composition application.

linguistics-exploration language-model-intuition computational-creativity educational-tool text-to-sound
Stale 6m No Package No Dependents
Maintenance 2 / 25
Adoption 5 / 25
Maturity 15 / 25
Community 0 / 25

How are scores calculated?

Stars

10

Forks

Language

JavaScript

License

MPL-2.0

Last pushed

Aug 22, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/transformers/wobblybits/surprisal"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.