src/transformers/models/rembert/tokenization_rembert.py/RemBertTokenizer/__getstate__
class RemBertTokenizer:    def __getstate__(self):
        state = self.__dict__.copy()
        state["sp_model"] = None
        return state