local_train docs