Model Pipeline - Loss functions (MSELoss, CrossEntropyLoss)
This pipeline shows how two common loss functions, MSELoss and CrossEntropyLoss, help a model learn by measuring errors during training. MSELoss is used for predicting numbers, while CrossEntropyLoss is for classifying categories.