Mova0.5 pre-release⌕
☰
home / corpora / questions / AI / How a language model learns: guessing… / t6

Test 6 · How a language model learns: guessing the next word

Ask ten bots for a number from 1 to 10. Which is most likely?

Mova's choice: option 1 · The right answer: option 1 · right ✓ · Who acts: you · What happens: ask, be · To what, where: ten bots

This is test 6 of lesson 2 «How a language model learns: guessing the next word» of the AI course of Mova's primary school. The page gives the question's syntax tree — a dependency tree in the style of Universal Dependencies — and its pragmatics clause by clause, then the 4 options as the student saw them, each with its tree and pragmatics. Every text is parsed by Mova itself. How the student answered it, with the score of every option and why: the test at school.

The question

Sentence 1: Ask ten bots for a number from 1 to 10.

nummodobjcasedetoblcasenmodcasenmodpunctrootAskVERBtenNUMbotsNOUNforADPaDETnumberNOUNfromADP1NUMtoADP10NUM.PUNCT
The words, one row each (CoNLL-U)
#wordlemmaUPOSfeaturesheadrelation
1AskaskVERBMood=Imp VerbForm=Finrootroot
2tentenNUMNumForm=Word NumType=Card3 botsnummod
3botsbotNOUNNumber=Plur1 Askobj
4forforADP_6 numbercase
5aaDETDefinite=Ind PronType=Art6 numberdet
6numbernumberNOUNNumber=Sing1 Askobl
7fromfromADP_8 1case
811NUMNumForm=Digit NumType=Card6 numbernmod
9totoADP_10 10case
101010NUMNumForm=Digit NumType=Card8 1nmod
11..PUNCT_1 Askpunct
#verbtense, moodwhowhat, whomto whomwherewhenotherroles by
1ask speech: askimperativeyou not said hereten botsfor a number from 1 to 10vn inquire-37.1.2 «NP V NP.recipient»: agent=Agent bot=Recipient

One row per clause the reader finds. «not said here»: a role filled from the clause above. «roles by»: a VerbNet class and frame when one fits the verb, else the reader's rules on the tree.

Sentence 2: Which is most likely?

nsubjcopadvmodpunctrootWhichPRONisAUXmostADVlikelyADV?PUNCT
The words, one row each (CoNLL-U)
#wordlemmaUPOSfeaturesheadrelation
1WhichwhichPRONPronType=Rel4 likelynsubj
2isbeAUXMood=Ind Number=Sing Person=3 Tense=Pres VerbForm=Fin4 likelycop
3mostmostADVDegree=Sup4 likelyadvmod
4likelylikelyADV_rootroot
5??PUNCT_4 likelypunct
#verbtense, moodwhowhat, whomto whomwherewhenotherroles by
1ispresentlikely propertytree rules

The options

Option 1 · ← Mova's choice · ✓ the right answer

Many of them give 7, like many people do

nsubjcasenmodobjpunctmarkamodnsubjadvclrootManyADJofADPthemPRONgiveVERB7NUM,PUNCTlikeSCONJmanyADJpeopleNOUNdoVERB
The words, one row each (CoNLL-U)
#wordlemmaUPOSfeaturesheadrelation
1ManymanyADJDegree=Pos4 givensubj
2ofofADP_3 themcase
3themtheyPRONCase=Acc Number=Plur Person=3 PronType=Prs1 Manynmod
4givegiveVERBMood=Ind Number=Plur Person=3 Tense=Pres VerbForm=Finrootroot
577NUMNumForm=Digit NumType=Card4 giveobj
6,,PUNCT_10 dopunct
7likelikeSCONJ_10 domark
8manymanyADJDegree=Pos9 peopleamod
9peoplepeopleNOUNNumber=Plur10 donsubj
10dodoVERBMood=Ind Number=Plur Person=3 Tense=Pres VerbForm=Fin4 giveadvcl
#verbtense, moodwhowhat, whomto whomwherewhenotherroles by
1givepresentMany of them7vn give-13.1-1 «NP V NP»: agent=Agent 7=Theme
2dopresentmany peoplevn act-114-1 «NP V»: agent=Agent

Option 2

Each gives a different number, fairly spread out

nsubjdetamodobjpunctadvmodconjcompound:prtrootEachDETgivesVERBaDETdifferentADJnumberNOUN,PUNCTfairlyADVspreadVERBoutADP
The words, one row each (CoNLL-U)
#wordlemmaUPOSfeaturesheadrelation
1EacheachDETPronType=Tot2 givesnsubj
2givesgiveVERBMood=Ind Number=Sing Person=3 Tense=Pres VerbForm=Finrootroot
3aaDETDefinite=Ind PronType=Art5 numberdet
4differentdifferentADJDegree=Pos5 numberamod
5numbernumberNOUNNumber=Sing2 givesobj
6,,PUNCT_8 spreadpunct
7fairlyfairlyADV_8 spreadadvmod
8spreadspreadVERBTense=Past VerbForm=Part Voice=Pass2 givesconj
9outoutADP_8 spreadcompound:prt
#verbtense, moodwhowhat, whomto whomwherewhenotherroles by
1givepresentEacha different numbervn give-13.1-1 «NP V NP»: agent=Agent number=Theme
2spread outparticipleEach not said herefairly propertyvn appear-48.1.1 «NP V»: agent=Theme

Option 3

They all say 10, because it is the biggest one

nsubjadvmodobjpunctmarknsubjcopdetamodconjrootTheyPRONallDETsayVERB10NUM,PUNCTbecauseSCONJitPRONisAUXtheDETbiggestADJoneNOUN
The words, one row each (CoNLL-U)
#wordlemmaUPOSfeaturesheadrelation
1TheytheyPRONCase=Nom Number=Plur Person=3 PronType=Prs3 saynsubj
2allallDETPronType=Tot3 sayadvmod
3saysayVERBMood=Ind Number=Plur Person=3 Tense=Pres VerbForm=Finrootroot
41010NUMNumForm=Digit NumType=Card3 sayobj
5,,PUNCT_11 onepunct
6becausebecauseSCONJ_11 onemark
7ititPRONCase=Nom Gender=Neut Number=Sing Person=3 PronType=Prs11 onensubj
8isbeAUXMood=Ind Number=Sing Person=3 Tense=Pres VerbForm=Fin11 onecop
9thetheDETDefinite=Def PronType=Art11 onedet
10biggestbigADJDegree=Sup11 oneamod
11oneoneNOUNNumber=Sing3 sayconj
#verbtense, moodwhowhat, whomto whomwherewhenotherroles by
1say speech: assertpresentThey10vn say-37.7-1-1 «NP V NP.topic»: agent=Agent 10=Topic
2is apresentitthe biggest onetree rules

Option 4

They all politely refuse to pick any number

nsubjdetadvmodmarkxcompdetobjrootTheyPRONallDETpolitelyADVrefuseVERBtoPARTpickVERBanyDETnumberNOUN
The words, one row each (CoNLL-U)
#wordlemmaUPOSfeaturesheadrelation
1TheytheyPRONCase=Nom Number=Plur Person=3 PronType=Prs4 refusensubj
2allallDETPronType=Tot1 Theydet
3politelypolitelyADV_4 refuseadvmod
4refuserefuseVERBMood=Ind Number=Plur Person=3 Tense=Pres VerbForm=Finrootroot
5totoPART_6 pickmark
6pickpickVERBVerbForm=Inf4 refusexcomp
7anyanyDETPronType=Ind8 numberdet
8numbernumberNOUNNumber=Sing6 pickobj
#verbtense, moodwhowhat, whomto whomwherewhenotherroles by
1refusepresentTheypolitely propertyvn reject-77.2 «NP V S_ING»: agent=Agent clause=Theme
2not pickto-infinitiveThey not said hereany numbervn chew-39.2 «NP V NP»: agent=Agent number=Patient

Text: the tests of Mova's primary school, written for Mova (world/data/school/), as the course runner gave them to the student. Trees: Mova's own parse — the en model on the CPU, when the site is built — not checked by a teacher; they may be wrong. Frames: Mova's frames reader (prag), each text read on its own. Elamur Cosmic License.

This page in Markdown → https://md.mova.elamur.ai/free/en/corpora/questions/ai/2-guessing-the-next-word/t6/