How a language model learns: guessing the next word, sentence 8
It writes an answer piece by piece, each time choosing a likely next word.
Who acts: model · What happens: write, choose · To what, where: answer piece, likely next word
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 (model), what happens, when and where, as Mova's frames read it from the tree.
The tree
The words, one row each (CoNLL-U)
| # | word | lemma | UPOS | features | head | relation |
|---|---|---|---|---|---|---|
| 1 | It | it | PRON | Case=Nom Gender=Neut Number=Sing Person=3 PronType=Prs | 2 writes | nsubj |
| 2 | writes | write | VERB | Mood=Ind Number=Sing Person=3 Tense=Pres VerbForm=Fin | root | root |
| 3 | an | a | DET | Definite=Ind PronType=Art | 5 piece | det |
| 4 | answer | answer | NOUN | Number=Sing | 5 piece | compound |
| 5 | piece | piece | NOUN | Number=Sing | 2 writes | obj |
| 6 | by | by | ADP | _ | 7 piece | case |
| 7 | piece | piece | NOUN | Number=Sing | 5 piece | nmod |
| 8 | , | , | PUNCT | _ | 11 choosing | punct |
| 9 | each | each | DET | PronType=Tot | 10 time | det |
| 10 | time | time | NOUN | Number=Sing | 11 choosing | obl:unmarked |
| 11 | choosing | choose | VERB | Tense=Pres VerbForm=Part | 2 writes | advcl |
| 12 | a | a | DET | Definite=Ind PronType=Art | 15 word | det |
| 13 | likely | likely | ADJ | Degree=Pos | 15 word | amod |
| 14 | next | next | ADJ | Degree=Pos | 15 word | amod |
| 15 | word | word | NOUN | Number=Sing | 11 choosing | obj |
| 16 | . | . | PUNCT | _ | 2 writes | punct |
Pragmatics
No stored speech act for this sentence.
| # | verb | tense, mood | who | what, whom | to whom | where | when | other | roles by |
|---|---|---|---|---|---|---|---|---|---|
| 1 | write | present | model | a answer piece | by piece | vn scribble-25.2-1 «NP V NP»: agent=Agent piece=Theme | |||
| 2 | choose | gerund | model not said here | a likely next word | time | vn get-13.5.1 «NP V NP»: agent=Agent word=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:8.
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 ×2, R7-rel-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/8/