Brief IA
›

Small Language Models Would Limit Their Choices

AI Tools·Tom Levy·

Small Language Models Would Limit Their Choices

Small Language Models Would Limit Their Choices
Key Takeaways
1Small LLMs seem to choose from about 6 words out of 40 available.
2The proposed test repeats a question 300 times.
3The Python code counts the occurrences of responses using Counter.
Why it matters : the approach aims to examine repetitions to better understand word selection.

Small language models seem to choose from about 6 words out of 40 available. A method in Python proposes to examine the repetitions in a chatbot's responses.

A test counts repeated responses

The protocol involves querying a chatbot 300 times with an unchanged question, then counting the identical responses. The example focuses on the meaning of life and records each response in a list. The Counter tool, from Python's collections module, performs the counting before displaying it.

La lettre du soirGratuit · 19 h

Le brief IA que les pros lisent chaque soir

Les 7 actus IA du jour, décryptées en 5 min. Gratuit.

Inclus dès l'inscription : notre sélection des meilleurs guides & comparatifs IA.

Choisissez votre rythme

Gratuit · Pas de spam · Désabonnement en 1 clic

The example can be adapted for a chatbot by replacing the instruction chatbot.ask with the actual call to the chosen service. The approach aims to examine the produced responses to better understand the selection of words.

A probabilistic phenomenon explains certain behaviors

Some behaviors of language models are often explained using a probabilistic phenomenon illustrated by the birthday paradox.

Brief IA — L'actualité IA en français

L'essentiel de l'actualité de l'intelligence artificielle, décrypté et expliqué chaque jour.