Pytorch tutorial on batch for sequences

Published: 15 November 2020
on channel: Dataflowr
2,484
39

0:00 Presentation
2:15 Step 1: Construct Vocabulary
2:50 Step 2: Load indexed data (list of instances, where each instance is list of character indices)
3:45 Step 3: Make Model
4:50 Step 4: Pad instances with 0s till max length sequence
5:47 Step 5: Sort instances by sequence length in descending order
6:55 Step 6: Embed the instances
9:10 Step 7: Call pack_padded_sequence with embeded instances and sequence lengths
12:41 Step 8: Forward with LSTM
14:38 Step 9: Call unpack_padded_sequences if required / or just pick last hidden vector

Notebook: https://github.com/dataflowr/notebook...
Course: https://dataflowr.github.io/website/m...


On this page of the site you can watch the video online Pytorch tutorial on batch for sequences with a duration of hours minute second in good quality, which was uploaded by the user Dataflowr 15 November 2020, share the link with friends and acquaintances, this video has already been watched 2,484 times on youtube and it was liked by 39 viewers. Enjoy your viewing!