Creating a Text Classifier With LSTM! PyTorch Deep Learning Tutorial

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

Luke Ditria

Luke Ditria

Күн бұрын

Пікірлер: 11
@waliqadri
@waliqadri 12 күн бұрын
Amazing video very nice.. thanks for putting so much effort.
@LukeDitria
@LukeDitria 12 күн бұрын
Thank you!
@FranzOberhauser12
@FranzOberhauser12 7 ай бұрын
Hello, I really like the video. My question is that why did you assign hidden and memory to variables if you are not going to use them? I have a lstm model too and I am having a problem with it so I was wondering id it is due to not using hidden and memory from the output.
@LukeDitria
@LukeDitria 7 ай бұрын
I'm not sure what you mean? We do use the hidden and memory, they get passed into the LSTM.
@FranzOberhauser12
@FranzOberhauser12 7 ай бұрын
@@LukeDitria I might be mistaken, but after you return 'hidden' and 'memory' from the model, when the batch is completed and the loop restarts, aren't both redefined to zeroes? If we go over the variable 'hidden,' for example, get it from the model during predictions, it is not used, and when the loop is reset, it resets to zeroes.
@LukeDitria
@LukeDitria 7 ай бұрын
Well yes, these are returned by the LSTM as the hidden and memory buffer from that final step. I am just getting the model to return them here, but no they are not later used. This is just a leftover from previous code examples where I do use them, but it can be ignored for this case.
@FranzOberhauser12
@FranzOberhauser12 7 ай бұрын
@@LukeDitria I see, I got confused since my model is not working and I was curious if It was related to it. Can I ask about my problem on your dc?
@LukeDitria
@LukeDitria 7 ай бұрын
@@FranzOberhauser12 yes that would be the best place to discuss.
@テムル-c3w
@テムル-c3w Ай бұрын
thanks for the video.
@ChideraObiezue
@ChideraObiezue 7 ай бұрын
Nice video, pls more on this
@LukeDitria
@LukeDitria 7 ай бұрын
Thanks for the feedback, is there anything in particular you'd like to see?
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
Why LLMs Are Going to a Dead End Explained | AGI Lambda
14:46
AGI Lambda
Рет қаралды 4,3 М.
PyTorch Crash Course - Getting Started with Deep Learning
49:55
AssemblyAI
Рет қаралды 111 М.
Fine-Tuning BERT for Text Classification (Python Code)
23:24
Shaw Talebi
Рет қаралды 9 М.