CosineAnnealingLR is a learning rate scheduler. It changes the learning rate during training to help the model learn better. The key metric to watch is the training loss and validation loss. These show if the model is learning well and not stuck or jumping around.
Why loss? Because the scheduler affects how fast or slow the model updates its knowledge. A good scheduler helps the loss go down smoothly and reach a low value.