class_docstr: Class to load and save models and their checkpoints during training.
class_docstr_tok: ["Class","to","load","and","save","models","and","their","checkpoints","during","training","."]
docstr: Method to get the path to the training stats file. Used when saving
  
  Args:
      config (ConfigType): the config object
docstr_tok: ["Method","to","get","the","path","to","the","training","stats","file",".","Used","when","saving","Args",":","config","(","ConfigType",")",":","the","config","object"]
code: def get_training_stats_path(config: ConfigType) -> str:
      """Method to get the path to the training stats file. Used when saving
  
      Args:
          config (ConfigType): the config object
      """
      model_folder, model_name, path = ModelLoader.get_model_path(
          config, is_checkpoint=True
      )
      stat_path = os.path.join(model_folder, "training_stats.json")
      return stat_path
  
file_path: nebuly/optimization/chatllama/chatllama/rlhf/model_loader.py
imports: import os
  import shutil
  from beartype.typing import Union, Optional, Tuple
  from chatllama.rlhf.config import Config, ConfigActor, ConfigCritic, ConfigReward
  from chatllama.rlhf.model_list import hf_models
label_desc: Use image node_id 2 for calling the ModelLoader obj's underlying member method code with example usage: obj.get_training_stats_path(config) and returns: stat_path