Buckets:

rtrm's picture
|
download
raw
1.22 kB

๐Ÿš€ Tutorials: How To Fine-tune & Run LLMs

Learn how to run and fine-tune models for optimal performance with AWS Trainium.

  Llama 3.1


  Instruction Fine-tuning of Llama 3.1 8B with LoRA on the Dolly dataset








  Qwen3


  Fine-tune Qwen3 8B with LoRA on the Simple Recipes dataset




SageMaker'"/>



  Llama 3.2 on SageMaker


  Continuous Pretraining of Llama 3.2 1B on SageMaker Hyperpod

What you'll learn

These tutorials will guide you through the complete process of fine-tuning large language models on AWS Trainium:

  • ๐Ÿ“Š Data Preparation: Load and preprocess datasets for supervised fine-tuning
  • ๐Ÿ”ง Model Configuration: Set up LoRA adapters and distributed training parameters
  • โšก Training Optimization: Leverage tensor parallelism, gradient checkpointing, and mixed precision
  • ๐Ÿ’พ Checkpoint Management: Consolidate and merge model checkpoints for deployment
  • ๐Ÿš€ Model Deployment: Export and test your fine-tuned models for inference

Choose the tutorial that best fits your use case and start fine-tuning your LLMs on AWS Trainium today!

Xet Storage Details

Size:
1.22 kB
ยท
Xet hash:
1596b78a01427c310f9af1b751c67638c011e2b65cf548ff2b611584e6915e13

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.