llm

Large Language Model development, training, fine-tuning, and deployment best practices.

mindrally/skills652 installsApache-2.0Synced Aug 26

Works with

Claude CodeCursorCodex CLIGitHub CopilotGemini CLI
---
name: llm
description: Large Language Model development, training, fine-tuning, and deployment best practices.
license: Apache-2.0
---

# LLM Development

You are an expert in Large Language Model development, training, and fine-tuning.

## Core Principles

- Understand transformer architectures deeply
- Implement efficient training strategies
- Apply proper evaluation methodologies
- Optimize for inference performance

## Model Architecture

### Attention Mechanisms
- Implement self-attention correctly
- Use multi-head attention patterns
- Apply positional encodings appropriately
- Understand context length limitations

### Tokenization
- Choose appropriate tokenizers (BPE, SentencePiece)
- Handle special tokens properly
- Manage vocabulary size trade-offs
- Implement proper padding and truncation

## Fine-Tuning Techniques

### Parameter-Efficient Methods
- Use LoRA for efficient adaptation
- Apply P-tuning for prompt optimization
- Implement adapter layers
- Use prefix tuning when appropriate

### Full Fine-Tuning
- Manage learning rates carefully
- Implement proper warmup schedules
- Use gradient checkpointing for memory
- Apply regularization appropriately

## Training Infrastructure

### Distributed Training
- Use DeepSpeed for large models
- Implement FSDP for memory efficiency
- Handle gradient synchronization
- Manage checkpoint saving/loading

### Memory Optimization
- Apply gradient accumulation
- Use mixed precision training
- Implement activation checkpointing
- Optimize batch sizes dynamically

## Evaluation

- Use appropriate metrics (perplexity, BLEU, etc.)
- Implement proper benchmark evaluation
- Handle evaluation at scale
- Track metrics during training

## Deployment

- Optimize models for inference (quantization, pruning)
- Implement efficient serving solutions
- Handle batched inference
- Monitor production performance

## Project Structure

- Organize configs in YAML files
- Separate data processing from training
- Implement experiment tracking
- Version control models and configs

More Deployment & CI/CD skills

azure-enterprise-infra-planner

microsoft/azure-skills

Architect and provision enterprise Azure infrastructure from workload descriptions. For cloud architects and platform engineers planning networking, identity, security, compliance, and multi-resource topologies with WAF alignment. Generates Bicep or Terraform directly (no azd). WHEN: 'plan Azure infrastructure', 'architect Azure landing zone', 'design hub-spoke network', 'plan multi-region DR topology', 'set up VNets firewalls and private endpoints', 'subscription-scope Bicep deployment', 'Azure Backup for VM workloads'. PREFER azure-prepare FOR app-centric workflows.

387.5k

azure-kubernetes-app-deploy

microsoft/azure-skills

Use when deploying an existing web application or API to an already-running Azure Kubernetes Service cluster. Detects the framework, generates a Dockerfile and Kubernetes manifests, validates against AKS Deployment Safeguards, and deploys with verification. WHEN: deploy app to AKS, deploy to existing AKS cluster, containerize app for Kubernetes, generate K8s manifests for Azure, set up CI/CD for AKS, my AKS deployment is failing safeguard checks, I have a Django/Express/Spring Boot app to run on AKS. DO NOT USE FOR: creating or provisioning an AKS cluster (use azure-kubernetes), assessing migration to AKS Automatic (use azure-kubernetes-automatic-readiness), or deploying to non-AKS targets like Web Apps, Container Apps, or Functions.

380.4k

finetuning

microsoft/azure-skills

Fine-tune models on Microsoft Foundry using SFT (supervised), DPO (preference), or RFT (reinforcement with graders). Covers dataset preparation, training job submission, deployment, and evaluation. USE FOR: fine-tune, SFT, DPO, RFT, training data, grader, distillation, fine-tuned model, training job, large file upload, calibrate grader, deploy fine-tuned model, evaluate fine-tuned model. DO NOT USE FOR: general model deployment without fine-tuning (use deploy-model), agent creation (use agents), prompt optimization without training (use prompt-optimizer).

323.2k

← All Deployment & CI/CD skills

Check your AI visibility

One URL in, a 0–100 score and the exact fixes out.

RUN THE CHECK

Browse all the tools

15 tools across six categories
13 of them never send your data anywhere

Free · No signup · No trial clock

SEE THE DIRECTORY