A sentence at the crossroads

Which next word is likely, and what makes it supported?

Make your own investigation

Write two contexts that share a final word but support different continuations. Compare them with the trained-model bonus lab.

Count which words follow the selected word in your corpus and normalise the counts.

Case cards

Cut these cards apart. Use the original example first, then let a partner supply a changed case. Keep sealed/final cards with the teacher until the learner commits a rule.

Case 1

Training sentence: the reef is blue

My prediction and reason:

Case 2

Training sentence: the reef is calm

My prediction and reason:

Case 3

Training sentence: the bush is green

My prediction and reason:

Case 4

Training sentence: the sky is blue

My prediction and reason:

What this cannot establish

This is a count-based language model, not a transformer. Compare with the trained-model bonus investigation.