Facebook Pixel

What is the self-attention mechanism?

A mechanism that scores how relevant other words in the input are to a target word, helping resolve pronoun references (e.g., what 'it' refers to).

Verify This Answer

Cross-check this information using these trusted sources:

More FAQs in How the Transformer Architecture Changed AI Forever

LSTMs must process words sequentially, one by one. Transformers process all words at once in parallel, leveraging GPU architectures.

GPT is a decoder-only model, optimized for generating text token by token.

BERT is an encoder-only model, designed to understand context and fill in missing words, widely used for search and classification.

Still have questions?

Browse all our FAQs or reach out to our support team

Want to upskill yourself?

Our courses are taking a Coffee break, but your curiosity shouldn't. Stay engaged with namastedev linkedin, youtube, discord and other resources while you wait.

0
Please Login.
Please Login.
Please Login.
Please Login.
Please Login.
Please Login.
Please Login.
Please Login.
Please Login.
Please Login.
Please Login.
Please Login.
Please Login.