src/transformers/models/xlnet/tokenization_xlnet.py/XLNetTokenizer/__getstate__
class XLNetTokenizer:    def __getstate__(self):
        state = self.__dict__.copy()
        state["sp_model"] = None
        return state