Modelling galaxy clustering at high redshift