Implementing a Transformer from Scratch and Doing Inference with the HuggingFace API
Due Date: 10/02/2025 23:59
Download [problems] [starter code] [report template]
In this homework, you will learn how to tokenize data. Then, you will implement a basic Transformer architecture and experiment with training. Finally, you will use perplexity to evaluate an open-source model available in the HuggingFace library.
If you wish to use late days, please fill out this form.