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 38846

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).

3 votes
1 answer
213 views

What is the purpose of hard distillation?

In order to get a smaller model, one often uses larger model, that performs reasonably well on the data as a teacher, and uses the information from large model to train the smaller one. There are seve …
spiridon_the_sun_rotator's user avatar
3 votes
0 answers
545 views

Is there any point in adding the position embedding to the class token in Transformers?

The purpose of introduction positional embeddings to the Transformer is clear - since in the original formulation Transformer is equivariant to permutations of tokens, and the original task doesn't respect …
spiridon_the_sun_rotator's user avatar
3 votes
2 answers
111 views

Is there a notion of location in Transformer architecture in subsequent self-attention layers?

Transformer architecture (without position embedding) is by the very construction equivariant to the permutation of tokens. …
spiridon_the_sun_rotator's user avatar
10 votes
1 answer
5k views

Is there a proper initialization technique for the weight matrices in multi-head attention?

layers have 4 learnable tensors (in the vanilla formulation): Query matrix $W_Q$ Key matrix $W_K$ Value matrix $W_V$ Output matrix $W_O$ Nice illustration from https://jalammar.github.io/illustrated-transformer
spiridon_the_sun_rotator's user avatar
0 votes
0 answers
418 views

Has positional encoding been used in convolutional layers?

Positional encoding (PE) is an essential part of the self-attention layers in the transformer architectures since without adding it in some way (fixed of learnable) to the input embeddings model has ultimately …
spiridon_the_sun_rotator's user avatar
2 votes
0 answers
48 views

Are there any successful applications of transformers of small size (<10k weights)?

In the problems of NLP and sequence modeling, the Transformer architectures based on the self-attention mechanism (proposed in Attention Is All You Need) have achieved impressive results and now are the …
spiridon_the_sun_rotator's user avatar
4 votes
2 answers
184 views

When do the ensemble methods beat neural networks?

And the more recent transformer models have the ability to choose which of the neighboring data properties is more important for its output. …
spiridon_the_sun_rotator's user avatar
8 votes
2 answers
6k views

Why class embedding token is added to the Visual Transformer?

In the famous work on the Visual Transformers, the image is split into patches of a certain size (say 16x16), and these patches are treated as tokens in the NLP tasks. In order to perform classificati …
spiridon_the_sun_rotator's user avatar