tutorials
tutorials copied to clipboard
💡 [REQUEST] - New recipe tutorial on accessing model parameters
🚀 Describe the improvement or the new tutorial
This tutorial will help begginers understand how to access and make sense of model parameters, collect trainable parameters, and use torchinfo.summary()
.
Learning objectives:
- How to inspect a model's parameters using
.parameters()
and.named_parameters()
- How to collect the trainable parameters of a model
- How to use the
torchinfo
package (formerlytorch-summary
) to print a model summary
Existing tutorials on this topic
No response
Additional context
I created this draft (https://github.com/pytorch/tutorials/pull/2914) as a part of the PyTorch Docathon H1 2024 effort. I did not realize new tutorials weren't being accepted as part of the sprint and was asked to fill out an issue and convert the PR to a draft.