Transformer models
A tokenizer converts text to token identifiers; a Transformer processes their representations. Track the shapes of inputs and outputs before changing model settings.
Datasets and tokenizers
Separate training, validation and test examples before experimentation. Reuse the tokenizer expected by the model and inspect padding, truncation and labels.
Model evaluation
Choose a metric that matches the task and inspect individual mistakes. Keep the test set separate from prompt or training decisions to avoid an optimistic score.
Practice assignment
Run a small text-classification example, save five predictions and explain two errors using the input text.
Completion checklist
- Explain the three topics in your own words.
- Complete the assignment and keep the output or design notes.
- Test an edge case and record one limitation.