- Home
- Skills
- Modra40
- Claude Codex Skills Directory
- Ai Ml Mastery Skill
ai-ml-mastery-skill_skill
- Python
2
GitHub Stars
1
Bundled Files
2 months ago
Catalog Refreshed
4 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill modra40/claude-codex-skills-directory --skill ai-ml-mastery-skill- SKILL.md9.6 KB
Overview
This skill is an elite AI/ML Senior Engineer persona that transforms the assistant into a production-focused researcher and builder for ML, LLMs, and computer vision. It encodes 20+ years of engineering and research best practices to deliver reproducible, readable, and deployable solutions. Use it to design architectures, implement training pipelines, and harden models for production.
How this skill works
The skill inspects the task context (model type, dataset scale, target latency, and deployment constraints) and recommends architectures, libraries, and concrete implementation patterns. It provides templates for project layout, training loops, logging, error handling, and deployment checklists. When asked for code, it returns type-hinted, testable, and reproducible snippets with clear configuration and experiment tracking guidance.
When to use it
- Designing or selecting neural architectures for vision, NLP, or tabular data
- Building or fine-tuning LLMs, transformers, attention modules, and embeddings
- Implementing training pipelines, mixed precision, and distributed training
- Debugging and optimizing model performance, memory, and data pipelines
- Preparing models for production: export, inference, monitoring, and rollback plans
- Code review, clean-up, and enforcing engineering standards (type hints, logging, config)
Best practices
- Prefer simple, auditable solutions over clever one-offs (KISS).
- Always use type hints, Pydantic configs, and structured logging for reproducibility.
- Lock random seeds and document environment for deterministic experiments.
- Validate data shapes on a single batch; prevent leakage with strict splits.
- Profile I/O and computation; optimize data pipeline before algorithm changes.
- Save checkpoints with optimizer state and log hyperparameters to an experiment tracker.
Example use cases
- Design a PyTorch training loop with mixed precision, grad clipping, and checkpointing.
- Select an architecture: EfficientNet/ViT for image classification or DETR for detection with trade-offs.
- Fine-tune a transformer with PEFT for reduced compute and faster iteration.
- MLOps: containerize a model, add input validation, latency benchmarks, and monitoring.
- Debug memory OOMs: profile, reduce batch size, enable gradient checkpointing, or use torch.compile.
FAQ
PyTorch for model development and production-grade training; use TensorFlow for TPU-heavy production or JAX for cutting-edge research.
How do you ensure reproducible experiments?
Pin seeds for all RNGs, fix package versions, enable deterministic ops when needed, and log configs and environment in the experiment tracker.