Amazon SageMaker AI now supports custom sequence lengths for serverless model customization jobs
Share
Services
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 results for their use case. Customers also asked for longer sequence lengths than the static defaults we supported on some models. Now, you can set sequence length parameters as part of the customization job's hyperparameters, anywhere up to the published maximum for your chosen model and technique. You can set the dataset\_max\_len hyperparameter for SFT and DPO jobs or set max\_prompt\_length and max\_response\_length hyperparameters for RFT jobs. This gives you more control to match your training data characteristics, whether you are working with short question-answer pairs or multi-page documents. Published maximums are up to 16K tokens for many models depending on model and technique. Serverless model customization on SageMaker AI is available in US East (N. Virginia), US West (Oregon), Asia Pacific (Tokyo), and Europe (Ireland). To get started, navigate to the Models page in Amazon SageMaker Studio to launch a customization job, use the [SageMaker Python SDK](https://sagemaker.readthedocs.io/en/stable/model%5Fcustomization/index.html) or use our [Agent skills](https://docs.aws.amazon.com/sagemaker/latest/dg/model-customize-agent-skills.html) with your choice of coding assistant. To learn more, and see the list of models and supported sequence lengths per technique, see the [SageMaker AI documentation](https://docs.aws.amazon.com/sagemaker/latest/dg/customizing-models-sequence-lengths.html).
What else is happening at Amazon Web Services?
Amazon ECR now replicates image deletions across regions and accounts
about 12 hours ago
Services
Share
Amazon EBS now supports associating additional KMS keys with snapshots
about 12 hours ago
Services
Share
Amazon S3 Vectors now supports hybrid search combining vector and full text for more relevant search results
about 13 hours ago
Services
Share
Set up, connect, and govern AI agents faster with Amazon WorkSpaces
about 16 hours ago
Services
Share
Read update
Services
Share