Representation Learning Dynamics of Self-Supervised Models