paddlenlp/transformers/skep/tokenizer.py
def save_resources(self, save_directory):
        """
        Save tokenizer related resources to files under `save_directory`.

        Args:
            save_directory (str): Directory to save files into.
        """
        for name, file_name in self.resource_files_names.items():
            save_path = os.path.join(save_directory, file_name)
            source_file = getattr(self, name)
            if source_file is not None:
                shutil.copyfile(source_file, save_path)

        Save tokenizer related resources to files under `save_directory`.

        Args:
            save_directory (str): Directory to save files into.
        
Save tokenizer related resources to files under `save_directory`.
Save tokenizer related resources to files under ` save_directory ` .
def save_resources(self, save_directory):
        for name, file_name in self.resource_files_names.items():
            save_path = os.path.join(save_directory, file_name)
            source_file = getattr(self, name)
            if source_file is not None:
                shutil.copyfile(source_file, save_path)
def save_resources ( self , save_directory ) : for name , file_name in self . resource_files_names . items ( ) : save_path = os . path . join ( save_directory , file_name ) source_file = getattr ( self , name ) if source_file is not None : shutil . copyfile ( source_file , save_path )
Save tokenizer related resources to files under `save_directory`.
Save tokenizer related resources to files under ` save_directory ` .
"""
        Save tokenizer related resources to files under `save_directory`.

        Args:
            save_directory (str): Directory to save files into.
        """
self
save_directory
Directory to save files into.
Directory to save files into .