tutorials icon indicating copy to clipboard operation
tutorials copied to clipboard

Feedback about NLP From Scratch: Classifying Names with a Character-Level RNN

Open mgrynychyn opened this issue 2 months ago • 0 comments

There is the following issue on this page: https://docs.pytorch.org/tutorials/intermediate/char_rnn_classification_tutorial.html

I think that comment "#Cache the tensor representation of the labels" is a little confusing, especially for those who are just learning PyTorch, because you are just creating numerical representation of unique labels in alphabetical order, while calculating tensor representation of each label on every iteration of data.

mgrynychyn avatar Nov 12 '25 19:11 mgrynychyn