def METHOD_NAME(self):
    with contextlib.redirect_stdout(StringIO()):
        with tempfile.TemporaryDirectory("test_transformer_lm") as data_dir:
            create_dummy_data(data_dir)
            preprocess_lm_data(data_dir)
            train_language_model(
                data_dir,
                "transformer_lm",
                ["--use-plasma-view", "--plasma-path", self.path],
                run_validation=True,
            )