---
name: Finetuning Technique
slug: finetuning-technique
category: AI Engineering
description: Finetuning Technique helps choose and validate a fine-tuning method such as SFT, DPO, RLVR, or RLAIF for a selected base model. Use it after model selection when you need to match a technique to a use case and supported recipes.
github: "https://github.com/awslabs/agent-plugins/tree/main/plugins/sagemaker-ai/skills/finetuning-technique"
language: Python
stars: 867
forks: 145
install: "npx degit https://github.com/awslabs/agent-plugins/tree/main/plugins/sagemaker-ai/skills/finetuning-technique ~/.claude/skills/finetuning-technique"
installs_to: ~/.claude/skills/finetuning-technique
source_path: plugins/sagemaker-ai/skills/finetuning-technique/SKILL.md
collection_size: 25
category_size: 2451
collection_url: "https://dirskills.com/collections/awslabs/agent-plugins"
added: 2026-08-22T05:21:36.772Z
last_synced: 2026-08-22T05:21:36.772Z
canonical_url: "https://dirskills.com/skills/finetuning-technique"
---

# Finetuning Technique

Finetuning Technique helps choose and validate a fine-tuning method such as SFT, DPO, RLVR, or RLAIF for a selected base model. Use it after model selection when you need to match a technique to a use case and supported recipes.

**Install:**

```bash
npx degit https://github.com/awslabs/agent-plugins/tree/main/plugins/sagemaker-ai/skills/finetuning-technique ~/.claude/skills/finetuning-technique
```

## README

# 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)
