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.
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 script filters to SFT, DPO, RLVR, and RLAIF, which have validated workflows in this skill. The model may support additional techniques (e.g. CPT, MTRL, PPO) that are not returned by this script.
If the chosen technique is available for the model, proceed to Step 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. If the technique is one the model may support but is not returned by this script (e.g. CPT, MTRL, PPO), explain that this skill does not have a validated workflow for it and offer to help using general knowledge.