AI Cloud Architect

Amazon SageMaker AI now supports custom sequence lengths for serverless model customization jobs

AWSAnnouncement by Amazon Web ServicesWhat's New with AWS

Today, Amazon SageMaker AI announces the ability to configure the sequence length used during your serverless model customization job. Amazon SageMaker AI serverless model customization supports fine-tuning for many open-weight models, including models from popular families including gpt-oss, Gemma, Llama, Nemotron, and Qwen. Previously, each fine-tuning recipe ran at a fixed sequence length that customers could not modify. Customers sometimes need to modify these parameters to achieve better...

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

Serverless model customization jobs in SageMaker AI can now set sequence length as a hyperparameter, instead of using a fixed length per fine-tuning recipe.

Who it is for

Teams fine-tuning open-weight models such as Llama, Qwen or Gemma on SageMaker AI who need longer or shorter training sequences.

Key points

  • Settable up to the published maximum per model and technique; AWS says many models reach 16K tokens.
  • Parameter names differ by job type: dataset_max_len for SFT and DPO, max_prompt_length and max_response_length for RFT.
  • Available in US East (N. Virginia), US West (Oregon), Asia Pacific (Tokyo) and Europe (Ireland).

Timeline

Posts about gpt-oss on Amazon SageMaker AI, oldest first.

  1. New modelAccelerate Generative AI Inference on Amazon SageMaker AI with G7e Instances · AWS · Announcement
  2. New featureAmazon SageMaker AI now supports optimized generative AI inference recommendations · AWS · Announcement
  3. New featureAmazon SageMaker AI serverless model customization now supports full fine-tuning · AWS · Announcement
  4. This postAmazon SageMaker AI now supports custom sequence lengths for serverless model customization jobs
  5. New featureWrite your own training loop — without managing GPUs — with Amazon SageMaker training session APIs · AWS · AnnouncementAlso published by AWS Artificial Intelligence Blog