def METHOD_NAME(self):
    task, parser = get_dummy_task_and_parser()
    LSTMModel.add_args(parser)
    args = parser.parse_args([])
    args.criterion = ""
    model = LSTMModel.build_model(args, task)
    scripted_model = torch.jit.script(model)
    self._test_save_and_load(scripted_model)