def METHOD_NAME(self):
    kwargs = dict(
        model=self.model_id_iot,
        work_dir=self.tmp_dir,
        workers=2,
        max_epochs=2,
        train_iters_per_epoch=2,
        val_iters_per_epoch=1,
        custom_conf=self.custom_conf)
    trainer = build_trainer(
        Trainers.speech_dfsmn_kws_char_farfield, default_args=kwargs)
    trainer.train()
    results_files = os.listdir(self.tmp_dir)
    self.assertIn(f'{trainer.timestamp}.log.json', results_files,
                  f'work_dir:{self.tmp_dir}')
    self.assertIn('val_dataset.bin', results_files,
                  f'work_dir:{self.tmp_dir}')