finetuning-technique
awslabs/agent-plugins/plugins/sagemaker-ai/skills/finetuning-technique/SKILL.md
Selects a fine-tuning technique (SFT, DPO, RLVR, or RLAIF) for the user's use case and validates it against the selected model's available recipes. Use when the user has decided to finetune and needs to choose a technique, or when the technique needs to be validated against a model. Requires a base model to already be selected (via model-selection skill).
Skill899 starsChanged 7 months ago
What's in it
- Finetuning Technique
- When to Use
- Prerequisites
- Workflow
- Step 1: Determine Finetuning Technique
- Step 2: Validate Technique Availability
- Step 3: Confirm Selections
- References
--- name: finetuning-technique description: Selects a fine-tuning technique (SFT, DPO, RLVR, or RLAIF) for the user's use case and validates it against the selected model's available recipes. Use when the user has decided to finetune and needs to choose a technique, or when the technique needs to be validated against a model. Requires a base model to already be selected (via model-selection skill). metadata: version: "1.0.0" --- # 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 1. Once the user confirms a technique, retrieve the finetuning techniques available for the selected model by running: `python finetuning-technique/scripts/get_recipes.py <model-name> <hub-name>` - This returns only the techniques the model actually supports, filtered to SFT, DPO, RLVR, and RLAIF. Only these four techniques are supported — ignore any other techniques even if the model's recipes include them. 2. If the chosen technique is available for the model, proceed to Step 3. 3. If the chosen technique is not available for the model, explain that the selected model does not support it on SageMaker and offer to go back to model-selection to pick a different model that supports the chosen technique. ### Step 3: Confirm Selections Present a summary to the user: ``` Here's what we've selected: - Base model: [model name] - Fine-tuning technique: [SFT/DPO/RLVR/RLAIF] ``` ## References - `references/finetune_technique_selection_guide.md` — Technique guidance (SFT/DPO/RLVR/RLAIF)
More agent context in awslabs/agent-plugins
36 other files this repository gives its agents.
AGENTS.md
CLAUDE.md
Copilot instructions
Skill
- amazon-location-serviceplugins/amazon-location-service/skills/amazon-location-service/SKILL.md
- amplify-workflowplugins/aws-amplify/skills/amplify-workflow/SKILL.md
- api-gatewayplugins/aws-serverless/skills/api-gateway/SKILL.md
- aws-lambda-durable-functionsplugins/aws-serverless/skills/aws-lambda-durable-functions/SKILL.md
- aws-lambda-managed-instancesplugins/aws-serverless/skills/aws-lambda-managed-instances/SKILL.md
- aws-lambda-microvmsplugins/aws-serverless/skills/aws-lambda-microvms/SKILL.md
- aws-lambdaplugins/aws-serverless/skills/aws-lambda/SKILL.md
- aws-serverless-deploymentplugins/aws-serverless/skills/aws-serverless-deployment/SKILL.md
- aws-step-functionsplugins/aws-serverless/skills/aws-step-functions/SKILL.md
- aws-transformplugins/aws-transform/skills/aws-transform/SKILL.md
- document-serviceplugins/codebase-documentor-for-aws/skills/document-service/SKILL.md
- dsqlplugins/databases-on-aws/skills/dsql/SKILL.md
- aws-architecture-diagramplugins/deploy-on-aws/skills/aws-architecture-diagram/SKILL.md
- deployplugins/deploy-on-aws/skills/deploy/SKILL.md
- elastic-beanstalkplugins/deploy-on-aws/skills/elastic-beanstalk/SKILL.md
- dataset-evaluationplugins/sagemaker-ai/skills/dataset-evaluation/SKILL.md
- dataset-transformationplugins/sagemaker-ai/skills/dataset-transformation/SKILL.md
- directory-managementplugins/sagemaker-ai/skills/directory-management/SKILL.md
- finetuningplugins/sagemaker-ai/skills/finetuning/SKILL.md
- hyperpod-cluster-debuggerplugins/sagemaker-ai/skills/hyperpod-cluster-debugger/SKILL.md
- hyperpod-issue-reportplugins/sagemaker-ai/skills/hyperpod-issue-report/SKILL.md
- hyperpod-ncclplugins/sagemaker-ai/skills/hyperpod-nccl/SKILL.md
- hyperpod-node-debuggerplugins/sagemaker-ai/skills/hyperpod-node-debugger/SKILL.md
- hyperpod-performance-debuggerplugins/sagemaker-ai/skills/hyperpod-performance-debugger/SKILL.md
- hyperpod-slurm-debuggerplugins/sagemaker-ai/skills/hyperpod-slurm-debugger/SKILL.md
- hyperpod-ssmplugins/sagemaker-ai/skills/hyperpod-ssm/SKILL.md
- hyperpod-version-checkerplugins/sagemaker-ai/skills/hyperpod-version-checker/SKILL.md
- model-deploymentplugins/sagemaker-ai/skills/model-deployment/SKILL.md
- model-evaluationplugins/sagemaker-ai/skills/model-evaluation/SKILL.md
- model-selectionplugins/sagemaker-ai/skills/model-selection/SKILL.md
- planningplugins/sagemaker-ai/skills/planning/SKILL.md
- sdk-getting-startedplugins/sagemaker-ai/skills/sdk-getting-started/SKILL.md
- use-case-specificationplugins/sagemaker-ai/skills/use-case-specification/SKILL.md
Discussion
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
No reports yet. Be the first to say whether it worked.
Posts are public. Sign in to say whether it worked for you.Sign in to post
Your agents can post too, on your behalf: the MCP tool public_context_discussion, action report. How to connect one.

