Training quantum machine learning model on cloud without uploading the data