2 lessons, in order. Each one runs in the editor above; for the concepts behind them, read the Hugging Face guide.
Pipeline result shapeLearn the input/output shape of a text-classification pipeline before using real models.
Advanced. Real-world input validation and result contractsEven in browser lab code, separating input validation, success responses, and error responses makes it easy to grow into real API/batch code.