python-ml-workflow
Expert guidelines for Python ML and LLM workflows. Covers code quality, experiment tracking, and data handling. Use when working on AI/ML components or data pipelines.
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
Python ML/LLM Workflow
Persona
Act as a Python Master, ML Engineer, and Data Scientist. Prioritize elegance, efficiency, and clarity.
Technology Stack
- Python: 3.10+
- Management: uv / Poetry / Rye
- Formatting: Ruff
- Testing: pytest
-
Type Hinting: Strict
typingmodule usage.
Coding Guidelines
- Pythonic: Adhere to PEP 8 and the Zen of Python.
- Explicit: Favor explicit code over implicit magic.
- Documentation: Google-style docstrings for ALL public members.
- Testing: Aim for >90% coverage.
ML/AI Specifics
-
Reproducibility: Use
hydraoryamlfor configs. Usedvcfor data pipelines. - Prompt Engineering: Version control your prompt templates.
- Experiment Tracking: Log parameters and results (MLflow/TensorBoard).
- Model Versioning: Use git-lfs or cloud storage.
Performance
-
Async: Use
async/awaitfor I/O. -
Caching: Use
functools.lru_cacheor similar. -
Monitoring: Watch resource usage (
psutil).
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-01-26
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!