def METHOD_NAME(self,
             model_id,
             train_dataset,
             eval_dataset,
             name=Trainers.nlp_sentence_embedding_trainer,
             cfg_modify_fn=None,
             **kwargs):
    kwargs = dict(
        model=model_id,
        train_dataset=train_dataset,
        eval_dataset=eval_dataset,
        work_dir=self.tmp_dir,
        cfg_modify_fn=cfg_modify_fn,
        **kwargs)
    os.environ['LOCAL_RANK'] = '0'
    trainer = build_trainer(name=name, default_args=kwargs)
    trainer.train()