https://github.com/tybrucechen/cross-entropy-loss-pytorch
An interpretation of cross-entropy loss through both the theory and pytorch experiment.
https://github.com/tybrucechen/cross-entropy-loss-pytorch
Last synced: 2 months ago
JSON representation
An interpretation of cross-entropy loss through both the theory and pytorch experiment.
- Host: GitHub
- URL: https://github.com/tybrucechen/cross-entropy-loss-pytorch
- Owner: TyBruceChen
- Created: 2024-07-20T16:29:21.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-07-20T16:42:04.000Z (10 months ago)
- Last Synced: 2025-01-19T18:45:25.343Z (4 months ago)
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cross-Entropy-Loss-pytorch
An interpretation of cross-entropy loss through both the theory and pytorch experiment.## Reference:
1. CrossEntropyLoss Pytorch Doc: https://pytorch.org/docs/stable/generated/torch.nn.CrossEntropyLoss.html
2. CrossEntropy Wiki: https://en.wikipedia.org/wiki/Cross-entropy
3. An Effable Explanation at Zhihu: https://zhuanlan.zhihu.com/p/98785902
4. NLLLoss (negative log likelihood loss) Pytorch: https://pytorch.org/docs/stable/generated/torch.nn.NLLLoss.html