Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
loganthomas opened this issue Jun 10, 2024 · 0 comments
Open

Comments

@loganthomas
Copy link
Contributor

loganthomas commented Jun 10, 2024

🚀 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 (#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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant