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

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

A bot gives an unkind answer about a group of people. What is the best way to think about it?

Mova's choice: option 1 · The right answer: option 2 · wrong ✗ · Who acts: bot, best way · What happens: give, be, think · To what, where: unkind answer

This is test 7 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: A bot gives an unkind answer about a group of people.

detnsubjdetamodobjcasedetnmodcasenmodpunctrootADETbotNOUNgivesVERBanDETunkindADJanswerNOUNaboutADPaDETgroupNOUNofADPpeopleNOUN.PUNCT
The words, one row each (CoNLL-U)
#wordlemmaUPOSfeaturesheadrelation
1AaDETDefinite=Ind PronType=Art2 botdet
2botbotNOUNNumber=Sing3 givesnsubj
3givesgiveVERBMood=Ind Number=Sing Person=3 Tense=Pres VerbForm=Finrootroot
4anaDETDefinite=Ind PronType=Art6 answerdet
5unkindunkindADJDegree=Pos6 answeramod
6answeranswerNOUNNumber=Sing3 givesobj
7aboutaboutADP_9 groupcase
8aaDETDefinite=Ind PronType=Art9 groupdet
9groupgroupNOUNNumber=Sing6 answernmod
10ofofADP_11 peoplecase
11peoplepeopleNOUNNumber=Plur9 groupnmod
12..PUNCT_3 givespunct
#verbtense, moodwhowhat, whomto whomwherewhenotherroles by
1givepresenta bota unkind answerabout a group of peoplevn give-13.1-1 «NP V NP»: agent=Agent answer=Theme

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: What is the best way to think about it?

copdetamodnsubjmarkaclcaseoblpunctrootWhatPRONisAUXtheDETbestADJwayNOUNtoPARTthinkVERBaboutADPitPRON?PUNCT
The words, one row each (CoNLL-U)
#wordlemmaUPOSfeaturesheadrelation
1WhatwhatPRONPronType=Introotroot
2isbeAUXMood=Ind Number=Sing Person=3 Tense=Pres VerbForm=Fin1 Whatcop
3thetheDETDefinite=Def PronType=Art5 waydet
4bestgoodADJDegree=Sup5 wayamod
5waywayNOUNNumber=Sing1 Whatnsubj
6totoPART_7 thinkmark
7thinkthinkVERBVerbForm=Inf5 wayacl
8aboutaboutADP_9 itcase
9ititPRONCase=Acc Gender=Neut Number=Sing Person=3 PronType=Prs7 thinkobl
10??PUNCT_1 Whatpunct
#verbtense, moodwhowhat, whomto whomwherewhenotherroles by
1is apresentthe best waytree rules
2think speech: otherto-infinitivethe best way not said hereabout wayvn focus-87.1-1 «NP V PP.topic»: agent=Agent about it=Topic

The options

Option 1 · ← Mova's choice

Bots are always fair to everyone, so the answer must be right and true

The tree, 14 words
nsubjcopadvmodcaseoblpunctadvmoddetnsubjauxcopconjccconjrootBotsNOUNareAUXalwaysADVfairADJtoADPeveryonePRON,PUNCTsoADVtheDETanswerNOUNmustAUXbeAUXrightADJandCCONJtrueADJ
The words, one row each (CoNLL-U)
#wordlemmaUPOSfeaturesheadrelation
1BotsbotNOUNNumber=Plur4 fairnsubj
2arebeAUXMood=Ind Number=Plur Person=3 Tense=Pres VerbForm=Fin4 faircop
3alwaysalwaysADVPronType=Tot4 fairadvmod
4fairfairADJDegree=Posrootroot
5totoADP_6 everyonecase
6everyoneeveryonePRONNumber=Sing PronType=Tot4 fairobl
7,,PUNCT_13 rightpunct
8sosoADV_13 rightadvmod
9thetheDETDefinite=Def PronType=Art10 answerdet
10answeranswerNOUNNumber=Sing13 rightnsubj
11mustmustAUXVerbForm=Fin13 rightaux
12bebeAUXVerbForm=Inf13 rightcop
13rightrightADJDegree=Pos4 fairconj
14andandCCONJ_15 truecc
15truetrueADJDegree=Pos4 fairconj
#verbtense, moodwhowhat, whomto whomwherewhenotherroles by
1ispresentBotsto everyone; always, fair propertytree rules
2ismustthe answerright propertytree rules
3beBots not said heretree rules

Option 2 · ✓ the right answer

It may have picked up a bad pattern; tell a grown-up

nsubj:passauxauxcompound:prtdetamodobjpunctconjdetcompoundpunctobjrootItPRONmayAUXhaveAUXpickedVERBupADPaDETbadADJpatternNOUN;PUNCTtellVERBaDETgrownNOUN-PUNCTupNOUN
The words, one row each (CoNLL-U)
#wordlemmaUPOSfeaturesheadrelation
1ItitPRONCase=Nom Gender=Neut Number=Sing Person=3 PronType=Prs4 pickednsubj:pass
2maymayAUXVerbForm=Fin4 pickedaux
3havehaveAUXVerbForm=Inf4 pickedaux
4pickedpickVERBTense=Past VerbForm=Part Voice=Passrootroot
5upupADP_4 pickedcompound:prt
6aaDETDefinite=Ind PronType=Art8 patterndet
7badbadADJDegree=Pos8 patternamod
8patternpatternNOUNNumber=Sing4 pickedobj
9;;PUNCT_10 tellpunct
10telltellVERBVerbForm=Inf4 pickedconj
11aaDETDefinite=Ind PronType=Art14 updet
12growngrownNOUNNumber=Sing14 upcompound
13--PUNCT_14 uppunct
14upupNOUNNumber=Sing10 tellobj
#verbtense, moodwhowhat, whomto whomwherewhenotherroles by
1pick upmay · perfect · passiveIttree rules
2tell speech: assertinfinitivea grown upvn transfer_mesg-37.1.1-1-1 «NP V NP.recipient»: agent=Agent up=Recipient

Option 3

Bots cannot say unkind things, so it didn't happen

nsubjauxadvmodamodobjpunctadvmodnsubjauxadvmodparataxisrootBotsNOUNcanAUXnotPARTsayVERBunkindADJthingsNOUN,PUNCTsoADVitPRONdidAUXn'tPARThappenVERB
The words, one row each (CoNLL-U)
#wordlemmaUPOSfeaturesheadrelation
1BotsbotNOUNNumber=Plur4 saynsubj
2cancanAUXVerbForm=Fin4 sayaux
3notnotPARTPolarity=Neg4 sayadvmod
4saysayVERBVerbForm=Infrootroot
5unkindunkindADJDegree=Pos6 thingsamod
6thingsthingNOUNNumber=Plur4 sayobj
7,,PUNCT_12 happenpunct
8sosoADV_12 happenadvmod
9ititPRONCase=Nom Gender=Neut Number=Sing Person=3 PronType=Prs12 happennsubj
10diddoAUXMood=Ind Number=Sing Person=3 Tense=Past VerbForm=Fin12 happenaux
11n'tnotPARTPolarity=Neg12 happenadvmod
12happenhappenVERBVerbForm=Inf4 sayparataxis
#verbtense, moodwhowhat, whomto whomwherewhenotherroles by
1not say speech: assertcanBotsunkind thingsvn say-37.7-1-1 «NP V NP.topic»: agent=Agent thing=Topic
2not happenpast · do-supportitvn occur-48.3-1 «NP V»: agent=Theme

Option 4

It was written that way by a person on purpose

nsubj:passaux:passdetobl:unmarkedcasedetoblcasenmodrootItPRONwasAUXwrittenVERBthatDETwayNOUNbyADPaDETpersonNOUNonADPpurposeNOUN
The words, one row each (CoNLL-U)
#wordlemmaUPOSfeaturesheadrelation
1ItitPRONCase=Nom Gender=Neut Number=Sing Person=3 PronType=Prs3 writtennsubj:pass
2wasbeAUXMood=Ind Number=Sing Person=3 Tense=Past VerbForm=Fin3 writtenaux:pass
3writtenwriteVERBTense=Past VerbForm=Part Voice=Passrootroot
4thatthatDETNumber=Sing PronType=Dem5 waydet
5waywayNOUNNumber=Sing3 writtenobl:unmarked
6bybyADP_8 personcase
7aaDETDefinite=Ind PronType=Art8 persondet
8personpersonNOUNNumber=Sing3 writtenobl
9ononADP_10 purposecase
10purposepurposeNOUNNumber=Sing8 personnmod
#verbtense, moodwhowhat, whomto whomwherewhenotherroles by
1writepast · passivea person on purposeItthat way obl:unmarkedvn scribble-25.2-1 «NP V NP»: agent=Agent subject=Theme

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/t7/