Small Language Models Would Limit Their Choices

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.
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.