Transformers
Updated Sep 22, 2024 ·
Overview
Transformers are key to pre-training and focuses on relationships between words across long sentences.
- Handle large text efficiently
- Capture connections between distant words
- Improve context and meaning in sentences
Transformers were introduced in a research paper titled “Attention Is All You Need”, which changed how models learn language.
- Learn how words relate to each other
- Use attention to capture long-range dependencies
It contains four main parts which work together to help the model understand text deeply and generate accurate responses.
- Pre-processing
- Positional encoding
- Encoders
- Decoders