def load_from_json(cls, json_path: str):
        """Creates an instance from the content of `json_path`."""
        with open(json_path, "r", encoding="utf-8") as f:
            text = f.read()
        return cls(**json.loads(text))
Creates an instance from the content of `json_path`.
src/glmtuner/hparams/finetuning_args.py