Training Llama 3.3 Swallow: A Japanese Sovereign LLM on Amazon SageMaker HyperPod
The Institute of Science Tokyo sought to build a large language model with enhanced Japanese capabilities capable of surpassing existing leading models, requiring efficient large-scale distributed training infrastructure on cloud.
Llama 3.3 Swallow outperforms GPT-4o, GPT-4o-mini, GPT-3.5, and Qwen2.5-72B on Japanese benchmarks, and the distributed checkpointing system saves checkpoints up to 10 times faster compared to synchronous approaches.
Frequently asked questions
What did this team achieve with this AI workflow?
Llama 3.3 Swallow outperforms GPT-4o, GPT-4o-mini, GPT-3.5, and Qwen2.5-72B on Japanese benchmarks, and the distributed checkpointing system saves checkpoints up to 10 times faster compared to synchronous approaches.
What tools did this team use?
Amazon SageMaker HyperPod, Amazon EC2, Amazon S3, Amazon FSx for Lustre, Megatron-LM, Weights & Biases, NCCL, AWS-OFI-NCCL, Amazon Managed Service for Prometheus, Amazon Managed Grafana.
What results were reported?
Checkpoint save speed improvement: 10 times faster; Training data tokens: approximately 314 billion tokens; Continual pre-training duration: 16 days and 6 hours; GPU count for training: 256 GPUs (source-reported, not independently verified).
How is this quality assurance AI workflow structured?
Corpus quality filtering → Data preload to HPC storage → Memory prediction and config optimization → Distributed continual pre-training → Supervised instruction fine-tuning → Benchmarking against leading models → Automated training monitoring.