diff --git a/intermediate_source/char_rnn_classification_tutorial.py b/intermediate_source/char_rnn_classification_tutorial.py index 6d56029f5d..04cfb16f62 100644 --- a/intermediate_source/char_rnn_classification_tutorial.py +++ b/intermediate_source/char_rnn_classification_tutorial.py @@ -205,7 +205,7 @@ def __getitem__(self, idx): print(f"example = {alldata[0]}") ######################### -#Using the dataset object allows us to easily split the data into train and test sets. Here we create a 80/20 +#Using the dataset object allows us to easily split the data into train and test sets. Here we create a 85/15 # split but the ``torch.utils.data`` has more useful utilities. Here we specify a generator since we need to use the #same device as PyTorch defaults to above. @@ -440,4 +440,4 @@ def evaluate(rnn, testing_data, classes): # - Any word -> language # - First name -> gender # - Character name -> writer -# - Page title -> blog or subreddit \ No newline at end of file +# - Page title -> blog or subreddit