diff --git a/beginner_source/basics/saveloadrun_tutorial.py b/beginner_source/basics/saveloadrun_tutorial.py index 5b3aef124b0..d8636f6a9de 100644 --- a/beginner_source/basics/saveloadrun_tutorial.py +++ b/beginner_source/basics/saveloadrun_tutorial.py @@ -57,8 +57,8 @@ ######################## # We can then load the model as demonstrated below. # -# As described in `Saving and loading torch.nn.Modules `__, -# saving ``state_dict``s is considered the best practice. However, +# As described in `Saving and loading torch.nn.Modules `_, +# saving ``state_dict`` is considered the best practice. However, # below we use ``weights_only=False`` because this involves loading the # model, which is a legacy use case for ``torch.save``.