Oriel — AI & technology worth noticing, every day.

Full Fine-Tuning (FFT) on SageMaker AI Serverless Model Customization

Web page · https://aws.amazon.com/blogs/machine-learning/full-fine-tuning-fft-on-sagemaker-ai-serverless-model-customization

Amazon SageMaker AI Serverless Model Customization now supports Full Fine-Tuning (FFT). This post explores when FFT outperforms LoRA across key benchmarks, examines the spectral properties of model weight matrices behind the quality gap, shares practical hyperparameter tuning guidelines, and shows how to get started.

First seen by Oriel on .

AI summary

This AWS post evaluates Full Fine-Tuning versus LoRA on SageMaker AI Serverless Model Customization, finding FFT can improve complex code-generation adaptation while increasing forgetting and hyperparameter risks.

  • Experiments fine-tuned Qwen3-4B on 110,000 Magicoder-Evol-Instruct coding pairs, using identical prompts, targets, and evaluation code for FFT and LoRA.
  • SageMaker AI Serverless Model Customization handles compute allocation and checkpoint management, while the SageMaker Python SDK selects training type, datasets, and hyperparameters.
  • Evaluations used LLM-as-Judge, PRIMECODE, and MMLU to measure semantic correctness, code similarity, and retention of general knowledge.
  • With more than 100,000 examples, FFT reached 90.0 percent LLM-as-Judge semantic correctness at three epochs, but performance degraded beyond three epochs.
  • Aggressive FFT learning rates caused catastrophic forgetting, while LoRA slightly exceeded FFT on one LLM-as-Judge comparison, scoring 81.5 percent versus 79.5 percent.

#sagemaker #full fine-tuning #lora #code generation

Generated by gpt-5.6-sol. Check the original for details.

Aliases

SourceExternal IDURL
AWS Machine Learning Blogbc37888f62d641a4c4d60233598cdb1fdb44d420https://aws.amazon.com/blogs/machine-learning/full-fine-tuning-fft-on-sagemaker-ai-serverless-model-customization/ Read discussion