Questions tagged [masking]
The masking tag has no usage guidance.
7
questions
0
votes
0
answers
127
views
Keras masking with MultiHeadAttention
I am following keras example to classify time series using transformers. Timeseries classification with a Transformer model
The creation of the model is presented in the following code snippet:
...
0
votes
0
answers
21
views
Embedding: Can i use it in a time series problem?
I'm trying to do feature extraction in some discretized time series with a variable length, doing that i'm creating an RNN auto encoder. My main problem is to find a way to let the model train with ...
2
votes
1
answer
485
views
Why shouldn't we mask [CLS] and [SEP] in preparing inputs for a MLM?
I know that MLM is trained for predicting the index of MASK token in the vocabulary list, and I also know that [CLS] stands for the beginning of the sentence and [SEP] telling the model the end of the ...
1
vote
1
answer
82
views
Dealing with high frequency tokens during masked Language modelling?
Suppose I am working with a Masked Language Model to pre-train on a specific dataset. In that dataset, most sequences have a particular token of a high frequency
...
0
votes
1
answer
91
views
There could be a problem with the linear layer after the attention inside a transformer?
My question regards this image:
It seems that after the multi head attention there is a linear layer as they mention also from here:
the linearity is given by the weights W^{o}. my quesion is: for ...
2
votes
1
answer
380
views
Decoder Transformer feedforward
I have a question about the decoder transformer feed forward during training.
Let's pick an example: input data "i love the sun" traduction i want to ...
1
vote
1
answer
84
views
Anonymize continuous variable for masking purposes
I am about to kick off a large hackathon event.
We have a dataset that is comprised of one continuous variable with high precision, and a number of categorical variables qualifying these data 3-levels ...