Skip to content

aws-samples/sagemaker-trainium-examples

Amazon SageMaker and AWS Trainium Examples

This repository contains examples for running Deep Learning training jobs using AWS Trainium instances and Amazon SageMaker.

Repository contents

  1. Text classification using Transformers - This example shows how we can train and deploy a BERT based classification model which use Amazon Polarity dataset.

  2. Pretrain BERT using Wiki Data - The example can be used to Pretrain BERT model using AWS Trainium. We will use wiki data to run the pretraining.

  3. Pretrain Llama 2 70b using Wikicorpus - The example helps to pretrain llama2 models using NeuronX distributed library.

  4. Continual Pretraining of Llama 2 70b using Wikicorpus - The example helps to continuous pretrain llama2 models using NeuronX distributed library.

  5. Pretrain/Fine tune Llama using Wiki Data - The example can be used to pretrain/fine tune llama2 7b model using Neuronx nemo megatron library.

Security

See CONTRIBUTING for more information.

License

This library is licensed under the MIT-0 License. See the LICENSE file.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published