Loss
Calculate the model's sigmoid cross entropy loss.
We'll cover the following...
Chapter Goals:
- Calculate the model's loss using sigmoid cross entropy
A. Sigmoid cross entropy
The task for our model is to classify input text sequences as either negative (label 0
) or positive (label 1
). This is equivalent to binary ...