I am using facebook/opt-350m model:
model = AutoModelForCausalLM.from_pretrained("facebook/opt-350m")
As far as I understand, its default loss is the crossentropy loss. But how can I verify it, and where can I see the implementation details? Thank you.