Implement Label Smoothing
Write a function to apply label smoothing for classification:
- Replace one-hot targets with for true class, for others.
- Use it in cross-entropy training.
Show improved generalization on toy data.
Write a function to apply label smoothing for classification:
Show improved generalization on toy data.