src/transformers/models/speecht5/tokenization_speecht5.py/SpeechT5Tokenizer/__getstate__
class SpeechT5Tokenizer:    def __getstate__(self):
        state = self.__dict__.copy()
        state["sp_model"] = None
        return state