Learn Before
Example

Example of Masked Language Modeling: Kitten Chasing Ball

This example illustrates a masked language modeling task using the sentence [C] The kitten is chasing the ball . as the original text. The model is provided with an input where some words are replaced by a mask token, such as [C] The kitten [M] [M] [M] ball .. In this structure, [C] denotes the context and [M] represents the masked tokens. The model's objective is to predict the original words that were masked, which are 'is', 'chasing', and 'the'.

0

1

Updated 2025-10-09

Contributors are:

Who are from:

Tags

Ch.1 Pre-training - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences