class_docstr: Base class for model saving operations
  
  Inherited classes must implement private methods:
  * `_save`
  * `_rm_checkpoint
class_docstr_tok: ["Base","class","for","model","saving","operations","Inherited","classes","must","implement","private","methods",":","*","`","_save","`","*","`","_rm_checkpoint"]
docstr: Remove a checkpoint
  
  Args:
      name(str): name that indentifies the checkpoint
          (it may be a filepath)
docstr_tok: ["Remove","a","checkpoint","Args",":","name","(","str",")",":","name","that","indentifies","the","checkpoint","(","it","may","be","a","filepath",")"]
code: def _rm_checkpoint(self, name):
      """Remove a checkpoint
  
      Args:
          name(str): name that indentifies the checkpoint
              (it may be a filepath)
      """
  
      raise NotImplementedError()
  
file_path: OpenNMT-py/onmt/models/model_saver.py
imports: import os
  import torch
  import re
  from collections import deque
  from onmt.utils.logging import logger
  from onmt.inputters.inputter import vocabs_to_dict
  from onmt.modules.lora import lora_state_dict
label_desc: Use image node_id 4 for calling the ModelSaverBase obj's underlying member method code with example usage: obj._rm_checkpoint(name) without return types