NLP #5: Perplexity and Test Sets
Grade a language model the fair way: hold out a test set, then compute its perplexity by hand and read what the number means.
The 10 latest articles on Natural Language Processing come from 5 sources, published between Nov 13 and Dec 6. Most come from DEV Community (6).
Places: Python (2)
Grade a language model the fair way: hold out a test set, then compute its perplexity by hand and read what the number means.
#machinelearning #datascience #python #statistics You have a labeled dataset and a nagging question: how many of these labels are wrong? You do not need to re-label everything to find out. A small, well-designed audit gives a reliable estimate of the…
#ai #agents #testing #discuss The wrong answers looked at more, not less. That is the result, and it is the opposite of the one nitpique's question expected. He asked it in the comments on Friday's piece: measure exploration before commitment,…
Date: | Estimated Reading Time: 9 min | Author: Chi Zhang Table of Contents What attention sees without positions Two obvious fixes: integers and fractions Binary: bounded and length-independent, but discontinuous Sinusoidal encoding: smoothing out the steps Wavelengths: a geometric sequence from 2π to…
Choosing an LLM can feel harder than the work you wanted it to do. One comparison favors Claude. Another recommends GPT. A third says an open model will do fine. You probably came looking for a useful answer, not a…
#nlp #python #regex #yasbd If you work with an under-resourced, regional, or constructed language, you eventually hit the exact same wall: standard NLP tools pretend your language does not exist. When your language is missing from the usual en/es…
#communication #science #writing #learning If you write code, you already live with this problem. Every acronym in a codebase, every tmp2, every two-word commit message is a bet that the reader shares your context. Here is a way to count what…
As tech companies race to get us talking to AI assistants, chatbots, and increasingly human-like digital companions, an app with a remarkably simple proposition makes a case for something we may have forgotten: talking to actual people, even if all…
#machinelearning #ai #python #datascience Most annotation budgets are spent on the classes a model already handles well. If 92% of your images contain cars and 0.4% contain wheelchairs, labeling another random batch of 10,000 images gets you about 40 new wheelchair examples and 9,200 more…
#machinelearning #ai #python #datascience Most annotation teams review a slice of every batch instead of re-checking every label. That is sensible, but the slice is usually picked by gut feel: "let's check 5%". On a 2,000-item batch that is 100 labels. On…
Methods for text: classification, meaning, translation and speech.
An article joins this feed when it matches these terms. Each one is also a search of its own.