Towards Efficient Modelling of String Dynamics: A Comparison of State Space and Koopman based Deep Learning Methods