Self-supervised learning is an AI unsung hero. Here are some well-written blogs that each and everyone should take a look at:

and why not, a checkout this fastAI tutorial :

https://amarsaini.github.io/Epoching-Blog/jupyter/2020/03/23/Self-Supervision-with-FastAI.html