A simple metric that calculates cross-entropy loss. Created so that I can log losses from different training tasks within a Hugging Face trainer for multi-task training.