src/transformers/models/pegasus/tokenization_pegasus.py/PegasusTokenizer/__getstate__
class PegasusTokenizer:    def __getstate__(self):
        state = self.__dict__.copy()
        state["sp_model"] = None
        return state