Encoder-Only Transformer
Quick definition
A transformer design focused on building contextual representations of input text.
A transformer design focused on building contextual representations of input text.
Why it matters: An encoder usually reads tokens bidirectionally and is well suited to classification or retrieval encodings.
Practical example: A BERT-style encoder identifies the sentiment of a product review.
Common use cases: Text classification, embeddings, and information extraction.
Examples
- A BERT-style encoder identifies the sentiment of a product review.
Use cases
- Text classification, embeddings, and information extraction.
Frequently asked questions
What is Encoder-Only Transformer?
A transformer design focused on building contextual representations of input text.
What should I know before using Encoder-Only Transformer?
An encoder usually reads tokens bidirectionally and is well suited to classification or retrieval encodings. Example: A BERT-style encoder identifies the sentiment of a product review.