Language Translation with Multi-Head Attention | Transformers from Scratch

  Рет қаралды 3,508

Developers Hutt

Developers Hutt

Күн бұрын

Пікірлер: 11
@ebadsayed487
@ebadsayed487 6 ай бұрын
When I am running the 49th line for training the model, it gives me an attribute error ValueError: Only input tensors may be passed as positional arguments. The following argument value should be passed as a keyword argument: True (of type ) Can you resolve this please?
@kaleseyuh
@kaleseyuh Жыл бұрын
Amazing! I want to train a model to translate a low-resource language. Would this tutorial work?
@DevelopersHutt
@DevelopersHutt Жыл бұрын
It should. Give it a try
@AriKath
@AriKath Жыл бұрын
Incredibale!
@efoanopa
@efoanopa 8 ай бұрын
I would like to know... Why is it that in the get_angles function, you floor-divided i by 2? That part np.power(10000, 2 * (i//2)/dmodel)
@DevelopersHutt
@DevelopersHutt 8 ай бұрын
I'm glad you asked! That's for positional encoding. You can find the context here.kzbin.info/www/bejne/bGfWlnyKpMqaq6csi=mX83N2ETA1DFOVu- If you still struggle understanding it, drop me a line
@efoanopa
@efoanopa 8 ай бұрын
@@DevelopersHutt, you see in the formular, it was just 2*i But you made it 2*(i//2) and I am finding it difficult to understand why
@efoanopa
@efoanopa 8 ай бұрын
@@DevelopersHutt also, can you please send a link to your code?
@souhail_lh3013
@souhail_lh3013 7 ай бұрын
can you please send a link to your code?
@abhishek171278
@abhishek171278 2 ай бұрын
can you share code repo
@DevelopersHutt
@DevelopersHutt 2 ай бұрын
github.com/developershutt/Transformers-in-action
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
RBF: The Most Liked Formula in Machine Learning
25:37
Mashaan Alshammari
Рет қаралды 104
Hardy's Integral
13:47
Michael Penn
Рет қаралды 19 М.
I built a Math Solver App using Google's Gemini Model with Flutter
20:10
Understanding BLEU Score in Machine Translation | Quick Explained
3:11
Developers Hutt
Рет қаралды 1,2 М.