awslabs avatar

Finetuning Technique

This guides you through picking a fine-tuning technique (SFT, DPO, RLVR, or RLAIF) based on your use case, then validates whether your chosen model actually supports it on SageMaker. It assumes you've already selected a base model and have a use case spec ready. The workflow is straightforward: consults a reference guide to recommend a technique, runs a Python script to check compatibility against the model's available recipes, and either confirms you're good to go or sends you back to pick a different model. Useful safety check before you invest time in a fine-tuning approach that won't work with your model.

GitHub stars
783
last updated
Jun 11, 2026

Install

$ npx -y skills add awslabs/agent-plugins --skill finetuning-technique --agent claude-code

Installs into .claude/skills of the current project.

Files

Finetuning Technique

Guides the user through selecting a fine-tuning technique based on their use case and validates compatibility with the selected model.

When to Use

  • User has decided to finetune and needs to choose a technique
  • User wants to change their finetuning technique
  • Technique needs to be validated against a selected model

Prerequisites

  • A base model has been selected (via model-selection skill). The model name and hub must be known.
  • A use_case_spec.md file exists. If not, activate the use-case-specification skill to generate it first.

Workflow

Step 1: Determine Finetuning Technique

Consult references/finetune_technique_selection_guide.md to recommend the best-fit technique based on the use case and the user's needs (SFT, DPO, RLVR, RLAIF).

Present the recommendation and reasoning to the user. Ask if they'd like to go with the recommendation or prefer a different technique.

Step 2: Validate Technique Availability

Sponsors

Details

Repository
github.com/awslabs/agent-plugins
Category
AI & Agent Building
License
Apache-2.0
First seen
Jun 11, 2026

More from awslabs/agent-plugins

All 32
1awslabs avatarhyperpod-cluster-debuggerawslabs/agent-pluginsDiagnose and remediate cluster-wide HyperPod (EKS or Slurm) problems — creation / deployment failures (CloudFormation, EFA health check, lifecycle scripts, capa0skills.sh installs
2awslabs avatarhyperpod-ncclawslabs/agent-pluginsDiagnose NCCL failures and adjacent training-pod failures on HyperPod GPU clusters (EKS or Slurm) — training hangs, AllReduce / collective-op timeouts, EFA or l0skills.sh installs
3awslabs avatarhyperpod-node-debuggerawslabs/agent-pluginsDiagnose and remediate per-node issues on a HyperPod cluster (EKS or Slurm) — a specific node is unhealthy, unresponsive, stuck, or needs replacing. Covers on-n0skills.sh installs
4awslabs avatarhyperpod-performance-debuggerawslabs/agent-pluginsDiagnose performance issues on Amazon SageMaker HyperPod clusters — uneven NCCL bandwidth across nodes and poor filesystem throughput. Read-only. Surfaces host-0skills.sh installs
5awslabs avatarhyperpod-slurm-debuggerawslabs/agent-pluginsDiagnostic-only skill for Slurm scheduler and node-daemon issues on Amazon SageMaker HyperPod Slurm clusters. Scope mirrors the HyperPod troubleshooting guide. 0skills.sh installs
6awslabs avatarmodel-selectionawslabs/agent-pluginsSelects a base model for the user's use case by querying SageMaker Hub. Use when the user asks which model to use, wants to select or change their base model, m0skills.sh installs