What does leaf and non-leaf parameters in PyTorch
- User
What does leaf and non-leaf parameters in PyTorch
Assistant
Leaf parameters are shared by multiple heads in a net, such as the fully connected layer in a classification net. Each head has its own weight and other parameters. Non-leaf parameters are different for each head.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.