Verified65% confidenceFactExact time
The original Transformer consists of an Encoder and a Decoder; BERT-type models use only the Encoder and excel at understanding and classification, while GPT-type models use only the Decoder and focus on text generation.
3
Sources
65%
Confidence
Long-term
Relevance
9/16/2026
First Seen
Sources
Related Entities
Related Claims
VerifiedThe Transformer's encoder is responsible for mapping the input sequence to a contextual representation and is suitable for classification and understanding tasks, while the decoder autoregressively generates the output sequence and is suitable for text generation tasks80% similarUnverifiedThe Transformer spawned two major technical paths: the encoder approach represented by BERT (excelling at understanding) and the decoder approach represented by GPT (excelling at generation), with the decoder approach becoming the dominant paradigm for large language models79% similarUnverifiedThe Transformer architecture was proposed by Google in 2017; the Encoder is responsible for encoding input text into high-dimensional vector representations, and the Decoder generates output text token by token based on the encoded representations.78% similarUnverified大语言模型通常采用仅解码器(Decoder-only)的Transformer变体,通过因果掩码确保每个位置只能关注其之前的token77% similarUnverifiedTransformer inference is divided into two stages, prefill and decode: prefill processes the entire input prompt in parallel at once and is mainly compute-bound; decode generates output tokens one by one and is mainly memory-bandwidth-bound.76% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/926967API
curl https://kongchang.com/api/v1/knowledge/claims/926967MCP
get_claim(id=926967)