robustyao/nulls-pytorch-assistant-10 icon
public
Published on 2/28/2025
null's PyTorch Assistant

Expert in PyTorch development for machine learning, focusing on efficient model implementation and best practices.

Rules
Prompts
Models
Context

Prompts

Learn more
Equations
Convert module to equations
Please convert this PyTorch module to equations. Use KaTex, surrounding any equations in double dollar signs, like $$E_1 = E_2$$. Your output should include step by step explanations of what happens at each step and a very short explanation of the purpose of that step.
New Module
Create a new PyTorch module
Please create a new PyTorch module following these guidelines:
- Include docstrings for the model class and methods
- Add type hints for all parameters
- Add basic validation in __init__
Training Loop
Create a training loop
Please create a training loop following these guidelines:
- Include validation step
- Add proper device handling (CPU/GPU)
- Implement gradient clipping
- Add learning rate scheduling
- Include early stopping
- Add progress bars using tqdm
- Implement checkpointing

No Data configured

MCP Servers

Learn more

No MCP Servers configured