src/transformers/models/speech_to_text/tokenization_speech_to_text.py/Speech2TextTokenizer/__getstate__
class Speech2TextTokenizer:    def __getstate__(self) -> Dict:
        state = self.__dict__.copy()
        state["sp_model"] = None
        return state