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

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

A chatbot is built on a "large language model": large because it is enormous, language because it works with words, model because it is a copy of the patterns in how people write.

Who acts: chatbot, people · What happens: build, be, work, write · To what, where: chatbot, large enormous language, copy

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 (chatbot, people), what happens, when and where, as Mova's frames read it from the tree.

The tree

detnsubj:passaux:passcasedetpunctamodcompoundoblpunctpunctamodmarknsubjcopamodpunctapposmarknsubjacl:relclcaseoblpunctapposmarknsubjcopdetccompcasedetnmodmarkadvmodnsubjadvclpunctrootADETchatbotNOUNisAUXbuiltVERBonADPaDET"PUNCTlargeADJlanguageNOUNmodelNOUN"PUNCT:PUNCTlargeADJbecauseSCONJitPRONisAUXenormousADJ,PUNCTlanguageNOUNbecauseSCONJitPRONworksVERBwithADPwordsNOUN,PUNCTmodelNOUNbecauseSCONJitPRONisAUXaDETcopyNOUNofADPtheDETpatternsNOUNinSCONJhowADVpeopleNOUNwriteVERB.PUNCT
The words, one row each (CoNLL-U)
#wordlemmaUPOSfeaturesheadrelation
1AaDETDefinite=Ind PronType=Art2 chatbotdet
2chatbotchatbotNOUNNumber=Sing4 builtnsubj:pass
3isbeAUXMood=Ind Number=Sing Person=3 Tense=Pres VerbForm=Fin4 builtaux:pass
4builtbuildVERBTense=Past VerbForm=Part Voice=Passrootroot
5ononADP_10 modelcase
6aaDETDefinite=Ind PronType=Art10 modeldet
7""PUNCT_10 modelpunct
8largelargeADJDegree=Pos10 modelamod
9languagelanguageNOUNNumber=Sing10 modelcompound
10modelmodelNOUNNumber=Sing4 builtobl
11""PUNCT_10 modelpunct
12::PUNCT_19 languagepunct
13largelargeADJDegree=Pos19 languageamod
14becausebecauseSCONJ_17 enormousmark
15ititPRONCase=Nom Gender=Neut Number=Sing Person=3 PronType=Prs17 enormousnsubj
16isbeAUXMood=Ind Number=Sing Person=3 Tense=Pres VerbForm=Fin17 enormouscop
17enormousenormousADJDegree=Pos19 languageamod
18,,PUNCT_19 languagepunct
19languagelanguageNOUNNumber=Sing10 modelappos
20becausebecauseSCONJ_22 worksmark
21ititPRONCase=Nom Gender=Neut Number=Sing Person=3 PronType=Prs22 worksnsubj
22worksworkVERBMood=Ind Number=Sing Person=3 Tense=Pres VerbForm=Fin19 languageacl:relcl
23withwithADP_24 wordscase
24wordswordNOUNNumber=Plur22 worksobl
25,,PUNCT_26 modelpunct
26modelmodelNOUNNumber=Sing24 wordsappos
27becausebecauseSCONJ_31 copymark
28ititPRONCase=Nom Gender=Neut Number=Sing Person=3 PronType=Prs31 copynsubj
29isbeAUXMood=Ind Number=Sing Person=3 Tense=Pres VerbForm=Fin31 copycop
30aaDETDefinite=Ind PronType=Art31 copydet
31copycopyNOUNNumber=Sing4 builtccomp
32ofofADP_34 patternscase
33thetheDETDefinite=Def PronType=Art34 patternsdet
34patternspatternNOUNNumber=Plur31 copynmod
35ininSCONJ_38 writemark
36howhowADVPronType=Int38 writeadvmod
37peoplepeopleNOUNNumber=Plur38 writensubj
38writewriteVERBMood=Ind Number=Plur Person=3 Tense=Pres VerbForm=Fin4 builtadvcl
39..PUNCT_4 builtpunct

Pragmatics

form
statement
act
assert
voice
narrator
polarity
none
teacher
changed act=assert
#verbtense, moodwhowhat, whomto whomwherewhenotherroles by
1buildpresent · passivea chatboton a large language modelvn base-97.1 «NP V NP PP.source»: subject=Theme on model=Source
2ispresentchatbotenormous propertytree rules
3workpresentchatbotlarge enormous language not said herewith wordsvn knead-26.5 «NP V NP.material»: agent=Agent language=Material
4is apresentchatbota copyof the patternstree rules
5writepresentpeoplevn scribble-25.2-1 «NP V»: agent=Agent

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

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): R6-punct-agree ×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/0/