Galaxy halo occupation at high redshift