Learning Dissipative Dynamics in Chaotic Systems