Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options questions only not deleted user 25362

For questions related to the transformer, which is a deep machine learning model introduced in 2017 in the paper "Attention Is All You Need", used primarily in the field of natural language processing (NLP).

1 vote
1 answer
165 views

What is the intuition behind position-encoding?

It is clear that word positions are essential for the meaning of a sentence, and so are essential when feeding a sentence (= sequence of words) as a matrix of word embedding vectors into a transformer. …
Hans-Peter Stricker's user avatar
1 vote
1 answer
884 views

Why can decoder-only transformers be so good at machine translation?

In my understanding encoder-decoder transformers for translation are trained with sentence or text pairs. How can it be explained in simple (high-level) terms that decoder-only transformers (e.g. GPT) …
Hans-Peter Stricker's user avatar
3 votes
1 answer
1k views

Does ChatGPT use different transformers for different downstream tasks?

Or if there is only one transformer which handles all downstream tasks. How then can it be understood that ChatGPT performs so well in so many tasks - as if it used specialized transformers. … (Maybe it's easier to answer the question if there is a specific and specifically trained transformer for each supported language.) …
Hans-Peter Stricker's user avatar
5 votes
3 answers
2k views

Can you confirm that the transformer works strictly deterministically and there is no random...

I believe to have understood that it's only after a transformer has done its deterministic work, suggesting some probable next words. … Can you confirm that the transformer works strictly deterministically and there is no randomness inside or between the attention layers? …
Hans-Peter Stricker's user avatar
0 votes
1 answer
177 views

How are the intuitions and mathematics of attention mechanisms related to those of PageRank?

There is a high-level analogy between attention mechanisms (to be specific: in the transformer) and Google's PageRank algorithm: both claim and strive to calculate "relative importances" – of parts of …
Hans-Peter Stricker's user avatar
0 votes
2 answers
786 views

Why shouldn't the attention matrices $W^Q$, $W^K$, $W^V$ be the same?

In my understanding of transformer-based language models one attention head is responsible for one syntactic or semantic relation between any two words in the context. … Or viewed differently: How similar are the three matrices of an attention head in practice, e.g. when considering some 100$\times$100 attention heads of a large transformer model like ChatGPT? …
Hans-Peter Stricker's user avatar
0 votes
0 answers
93 views

Can pretraining be continued after RLHF?

Assume you have a pretrained transformer language model (M1) which already underwent reinforcement learning by human feedback (M2). …
Hans-Peter Stricker's user avatar