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