ML coding
Machine learning algorithms and model parts written from scratch in NumPy and PyTorch, as ML coding rounds ask.
Machine learning algorithms and model parts written from scratch in NumPy and PyTorch, as ML coding rounds ask.
1 write-up
| Title |
|---|
| Softmax and Cross-Entropy A stable softmax and cross-entropy in NumPy, from the formula that overflows to log-sum-exp, the combined gradient with respect to the logits, label smoothing and one gradient step. |