S30 Logo
S30 AI Labwww.thes30.com
Back
#43

ML Coding — Vectorized Softmax

Hard📝 NLP & TransformersW9 D4

Before You Start

Required knowledge
Matrix multiplication, derivatives, multiclass labels, and NumPy broadcasting.
Libraries used
NumPy
Dataset and source
Locally generated toy data with three classes.
Expected output
Stable vectorized softmax/cross-entropy, finite-difference gradient checks, and a trained classifier.

Need help? Share feedback