Files
main/rules-v0/pytorch-scikit-learn-cursorrules-prompt-file/chemistry-ml---pytorch-models.mdc
2025-02-27 00:04:07 +05:30

10 lines
741 B
Plaintext

---
description: Guidelines for deep learning model development with PyTorch in chemistry applications, including network architecture, batch processing, and optimization techniques.
globs: models/pytorch/**/*.py
---
- Leverage PyTorch for deep learning models and when GPU acceleration is needed.
- Design neural network architectures suitable for chemical data (e.g., graph neural networks for molecular property prediction).
- Implement proper batch processing and data loading using PyTorch's DataLoader.
- Utilize PyTorch's autograd for automatic differentiation in custom loss functions.
- Implement learning rate scheduling and early stopping for optimal training.
- Use GPU acceleration when available, especially for PyTorch models.