Back to problems

Code Reading — 400-line PyTorch Refactor

AI Coding · OpenAI · Hard

Overview You will work through a PyTorch file containing more than 400 lines of intentionally untidy code. The exercise has three required parts and one bonus section. Its subject is the noisy-annotator classifier used in ML coding interviews, but the focus is on tracing and restructuring an existing implementation rather than building a model from nothing. A representative classifier entry point is: You should be prepared to explain how this entry point connects to the…

Checking your access…