Remove Accountability Remove Biotechnology Remove Metrics
article thumbnail

Efficiently fine-tune the ESM-2 protein language model with Amazon SageMaker

AWS Machine Learning

In our training script, we subclass the Trainer class from transformers with a WeightedTrainer class that takes class weights into account when calculating cross-entropy loss. Clean up If you’re following along in your own AWS account, delete the any real-time inference endpoints and data you created to avoid further charges.

Scripts 100