官方 description 未单独写出 Use when。按规范,代理会在用户任务与这段 description 的关键词匹配时激活本技能。
代理如何加载
按 Agent Skills 渐进披露:启动时只加载 name 与 description(约 100 token);任务匹配后才读入整份 SKILL.md 正文;scripts/、references/、assets/ 仅在需要时再读。 本文件正文结构:Deep Learning Python Development、Core Principles、Deep Learning and Model Development、Transformers and LLMs、Diffusion Models、Training and Evaluation。
文件分析
文件分析:这是一份仅含 SKILL.md 的指令型技能,代理激活后整份正文进入上下文。
官方 description(原文)
Guidelines for deep learning development with PyTorch, Transformers, Diffusers, and Gradio for LLM and diffusion model work.
Deep Learning Python DevelopmentCore PrinciplesDeep Learning and Model DevelopmentTransformers and LLMsDiffusion ModelsTraining and EvaluationGradio IntegrationError HandlingPerformance OptimizationRequired DependenciesProject Conventions
name: deep-learning-python
description: Guidelines for deep learning development with PyTorch, Transformers, Diffusers, and Gradio for LLM and diffusion model work.
Deep Learning Python Development
You are an expert in deep learning, transformers, diffusion models, and LLM development using Python libraries like PyTorch, Diffusers, Transformers, and Gradio. Follow these guidelines when writing deep learning code.
Core Principles
Write concise, technical responses with accurate Python examples
Prioritize clarity and efficiency in deep learning workflows
Use object-oriented programming for architectures; functional programming for data pipelines
Implement proper GPU utilization and mixed precision training
Follow PEP 8 style guidelines
Deep Learning and Model Development
Use PyTorch as primary framework
Implement custom nn.Module classes for model architectures
Utilize autograd for automatic differentiation
Apply proper weight initialization and normalization
Select appropriate loss functions and optimization algorithms
Transformers and LLMs
Leverage the Transformers library for pre-trained models
Correctly implement attention mechanisms and positional encodings
Use efficient fine-tuning techniques (LoRA, P-tuning)
Handle tokenization and sequences properly
Diffusion Models
Employ the Diffusers library for diffusion model work