Accelerating LLM fine-tuning with unstructured data using SageMaker Unified Studio and S3
AWS•How-to••by Hazim Qudah•AWS Artificial Intelligence Blog
Last year, AWS announced an integration between Amazon SageMaker Unified Studio and Amazon S3 general purpose buckets. This integration makes it straightforward for teams to use unstructured data stored in Amazon Simple Storage Service (Amazon S3) for machine learning (ML) and data analytics use cases. In this post, we show how to integrate S3 general purpose buckets with Amazon SageMaker Catalog to fine-tune Llama 3.2 11B Vision Instruct for visual question answering (VQA) using Amazon…
Shows how to catalog an S3 dataset in SageMaker Unified Studio and use it to fine-tune Llama 3.2 11B Vision Instruct for document visual question answering, tracked with MLflow.
Who it is for
Teams using SageMaker and S3 that want to fine-tune a vision LLM on their own unstructured documents.
Key points
Base model scores 0.853 ANLS on DocVQA; the best fine-tuned variant (10k training images) scores 0.902, per the post.
Training uses ml.p4de.24xlarge instances, which need a service quota increase; some runs take about 4 hours.
The post uses a 50-image validation sample, a small test set.
AWS•Customer story••by Babs Khalidson, Seppo Kalliomaki, Kimmo Isosomppi, Luisa Bertoli, Nicolas Metallo, Vushesh Babu Adhikari, Krišjānis Kočāns, Kaspars Magaznieks and Sergei Kiriasov•AWS Artificial Intelligence Blog
AI:Sun Finance built a serverless pipeline combining Textract OCR, Rekognition fallback and Claude structuring that raised ID extraction accuracy to 90.8% and cut per-document cost 91%.
AI:TGS reports its ViT-based seismic foundation model trained on SageMaker HyperPod with DeepSpeed ZeRO-2 and streaming from Amazon S3, cutting training from 6 months to 5 days.
AI:Lookout for Vision users can move to a pre-trained defect detection model from AWS Marketplace, fine-tuned in SageMaker AI with labeled images from Ground Truth, then deployed to an endpoint or batch transform.