We can't find the internet
Attempting to reconnect
Something went wrong!
Attempting to reconnect
← All tracks
0 / 4
Position Encodings
PyTorchSinusoidal, learned, relative, RoPE, ALiBi — how transformers know where tokens live.
0
/ 5 solved
- 1. Not solved yet. Implement Positional Encoding
- 2. Not solved yet. Relative Position Encoding
- 3. Not solved yet. Rotary Position Embeddings
- 4. Not solved yet. ALiBi Position Bias
- 5. Not solved yet. Transformer Block with RoPE
Check yourself
4 questions · one attempt eachThese do not count toward finishing the track. They are here to catch the things that are easy to read past.
What does a relative position scheme give that an absolute one does not?
# absolute: x + PE(pos)
# relative: attention score depends on (i - j)
Question 1 of 4