tutorials icon indicating copy to clipboard operation
tutorials copied to clipboard

💡 [REQUEST] - New recipe tutorial on accessing model parameters

Open loganthomas opened this issue 8 months ago • 0 comments

🚀 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 (formerly torch-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.

loganthomas avatar Jun 10 '24 22:06 loganthomas