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