1. Log onto OpenAI
2. Prompt ChatGPT for "how do I make a pytorch program that learns to do <some task>"
3. Ask ChatGPT for code and for it to explain the code
4. Run the code on Google colab, if it doesn't work, ask ChatGPT why and keep rerunning it until it does
5. If you find some API that's too new for ChatGPT to know about, just paste in the API documentation and then ask ChatGPT to propose some code using it
ChatGPT is wrong a lot, but if you keep badgering it, eventually you will get a solution that works. It's like having a tutor standing next to you that you can ask questions to, I can't think of a better way to learn even if it's wrong on occasion.