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

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

The text a bot learned from had good and bad parts; companies filter it and train the bot to be polite, but they do not catch everything.

Who acts: bot, text, companies · What happens: learn, have, filter, train, be, not catch · To what, where: text, good parts, bot, everything

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

The tree

detnsubjdetnsubjaclcaseamodccconjobjpunctnsubjparataxisobjccconjdetobjmarkcopxcomppunctccnsubjauxadvmodconjobjpunctrootTheDETtextNOUNaDETbotNOUNlearnedVERBfromADPhadVERBgoodADJandCCONJbadADJpartsNOUN;PUNCTcompaniesNOUNfilterVERBitPRONandCCONJtrainVERBtheDETbotNOUNtoPARTbeAUXpoliteADJ,PUNCTbutCCONJtheyPRONdoAUXnotPARTcatchVERBeverythingPRON.PUNCT
The words, one row each (CoNLL-U)
#wordlemmaUPOSfeaturesheadrelation
1ThetheDETDefinite=Def PronType=Art2 textdet
2texttextNOUNNumber=Sing7 hadnsubj
3aaDETDefinite=Ind PronType=Art4 botdet
4botbotNOUNNumber=Sing5 learnednsubj
5learnedlearnVERBMood=Ind Number=Sing Person=3 Tense=Past VerbForm=Fin2 textacl
6fromfromADP_2 textcase
7hadhaveVERBMood=Ind Tense=Past VerbForm=Finrootroot
8goodgoodADJDegree=Pos11 partsamod
9andandCCONJ_10 badcc
10badbadADJDegree=Pos8 goodconj
11partspartNOUNNumber=Plur7 hadobj
12;;PUNCT_14 filterpunct
13companiescompanyNOUNNumber=Plur14 filternsubj
14filterfilterVERBMood=Ind Number=Plur Person=3 Tense=Pres VerbForm=Fin7 hadparataxis
15ititPRONCase=Acc Gender=Neut Number=Sing Person=3 PronType=Prs14 filterobj
16andandCCONJ_17 traincc
17traintrainVERBMood=Ind Number=Plur Person=3 Tense=Pres VerbForm=Fin14 filterconj
18thetheDETDefinite=Def PronType=Art19 botdet
19botbotNOUNNumber=Sing17 trainobj
20totoPART_22 politemark
21bebeAUXVerbForm=Inf22 politecop
22politepoliteADJDegree=Pos17 trainxcomp
23,,PUNCT_28 catchpunct
24butbutCCONJ_28 catchcc
25theytheyPRONCase=Nom Number=Plur Person=3 PronType=Prs28 catchnsubj
26dodoAUXMood=Ind Number=Plur Person=3 Tense=Pres VerbForm=Fin28 catchaux
27notnotPARTPolarity=Neg28 catchadvmod
28catchcatchVERBVerbForm=Inf14 filterconj
29everythingeverythingPRONNumber=Sing PronType=Tot28 catchobj
30..PUNCT_7 hadpunct

Pragmatics

form
statement
act
narrate
voice
narrator
polarity
neg
teacher
kept the draft
#verbtense, moodwhowhat, whomto whomwherewhenotherroles by
1learnpasta botthe text not said herevn learn-14-2-1 «NP V NP»: agent=Agent text=Topic
2havepastthe textgood partsvn birth-28.2-1 «NP V NP»: agent=Agent part=Patient
3filterpresentcompaniesbotvn wipe_instr-10.4.2 «NP V NP.initial_location»: agent=Agent it=Initial_Location
4trainpresentcompanies not said herethe botvn hire-13.5.3 «NP V NP»: agent=Agent bot=Theme
5isto-infinitivethe bot not said herepolite propertytree rules
6not catchpresent · do-supportcompanies = companyeverythingvn get-13.5.1 «NP V NP»: agent=Agent everything=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.

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

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): R8-pos-agree ×3. 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/13/