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

How a language model learns: guessing the next word, sentence 2

Now, when you ask something, it builds an answer a little piece at a time, each time picking a word that fits well after the words before it.

Who acts: you, chatbot, word · What happens: ask, build, pick, fit · To what, where: something, answer, word, chatbot

This is a sentence of the lesson «How a language model learns: guessing the next word» of the ai course of Mova's primary school. The page gives its syntax tree — a dependency tree in the style of Universal Dependencies — and its pragmatics clause by clause: who acts (you, chatbot, word), what happens, when and where, as Mova's frames read it from the tree.

The tree

advmodpunctadvmodnsubjadvclobjpunctnsubjdetobjdetamodobjcasedetnmodpunctdetconjadvcldetobjnsubjacl:relcladvmodcasedetoblcaseoblpunctrootNowADV,PUNCTwhenADVyouPRONaskVERBsomethingPRON,PUNCTitPRONbuildsVERBanDETanswerNOUNaDETlittleADJpieceNOUNatADPaDETtimeNOUN,PUNCTeachDETtimeNOUNpickingVERBaDETwordNOUNthatPRONfitsVERBwellADVafterADPtheDETwordsNOUNbeforeADPitPRON.PUNCT
The words, one row each (CoNLL-U)
#wordlemmaUPOSfeaturesheadrelation
1NownowADV_9 buildsadvmod
2,,PUNCT_1 Nowpunct
3whenwhenADV_5 askadvmod
4youyouPRONCase=Nom Person=2 PronType=Prs5 asknsubj
5askaskVERBMood=Ind Number=Sing Person=2 Tense=Pres VerbForm=Fin9 buildsadvcl
6somethingsomethingPRONNumber=Sing PronType=Ind5 askobj
7,,PUNCT_5 askpunct
8ititPRONCase=Nom Gender=Neut Number=Sing Person=3 PronType=Prs9 buildsnsubj
9buildsbuildVERBMood=Ind Number=Sing Person=3 Tense=Pres VerbForm=Finrootroot
10anaDETDefinite=Ind PronType=Art11 answerdet
11answeranswerNOUNNumber=Sing9 buildsobj
12aaDETDefinite=Ind PronType=Art14 piecedet
13littlelittleADJDegree=Pos14 pieceamod
14piecepieceNOUNNumber=Sing9 buildsobj
15atatADP_17 timecase
16aaDETDefinite=Ind PronType=Art17 timedet
17timetimeNOUNNumber=Sing14 piecenmod
18,,PUNCT_17 timepunct
19eacheachDETPronType=Tot20 timedet
20timetimeNOUNNumber=Sing17 timeconj
21pickingpickVERBVerbForm=Ger9 buildsadvcl
22aaDETDefinite=Ind PronType=Art23 worddet
23wordwordNOUNNumber=Sing21 pickingobj
24thatthatPRONPronType=Rel25 fitsnsubj
25fitsfitVERBMood=Ind Number=Sing Person=3 Tense=Pres VerbForm=Fin23 wordacl:relcl
26wellwellADVDegree=Pos25 fitsadvmod
27afterafterADP_29 wordscase
28thetheDETDefinite=Def PronType=Art29 wordsdet
29wordswordNOUNNumber=Plur25 fitsobl
30beforebeforeADP_31 itcase
31ititPRONCase=Acc Gender=Neut Number=Sing Person=3 PronType=Prs25 fitsobl
32..PUNCT_9 buildspunct

Pragmatics

form
statement
act
assert
voice
narrator
polarity
none
teacher
kept the draft
#verbtense, moodwhowhat, whomto whomwherewhenotherroles by
1ask speech: askpresentyousomethingvn inquire-37.1.2 «NP V NP.recipient»: agent=Agent something=Recipient
2buildpresentchatbota answernowvn build-26.1-1 «NP.asset V NP NP»: agent=Asset answer=Beneficiary piece=Product
3pickgerundchatbot not said herea wordvn chew-39.2 «NP V NP»: agent=Agent word=Patient
4fitpresenta wordchatbotafter the wordswell propertyvn funnel-9.3-1 «NP V NP PP.trajectory»: agent=Agent before it=Trajectory

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.

Licence: CC BY-SA 4.0, as the whole of Mova corpus 0.4, of which this treebank (the agreed school, mova-school-agreed-en.conllu) is part. The lessons were written for Mova's primary school. Sentence school:ai:002-guessing-the-next-word.lesson:2.

The tree: Mova annot: Rust (en) → Haiku 5.5 (medium, Batches API) patches; gates UD 2.18; agreed by treeagree rules (Stanza, Trankit, spaCy trf): R5-strong ×1. The frames are read from the tree by Mova's frames reader (prag) when this page is built, the lesson read in order, so a pronoun may be resolved from an earlier sentence.

See the release 0.4.

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