Fine-tune Transformers with AWS Trainium
Fine-tune Transformers with AWS Trainium
Training on AWS Trainium is as simple as in Transformers:
You need to replace the Transformersβ
Trainer
class with theNeuronTrainer
class.
You can find several examples in the official repository for the following tasks:
If you want go through an step-by-step example check out the getting started with AWS Trainium and Hugging Face Transformers guide.
Last updated