src/transformers/models/roformer/tokenization_roformer.py/RoFormerTokenizer/__getstate__
class RoFormerTokenizer:    def __getstate__(self):
        state = self.__dict__.copy()
        state["jieba"] = None
        return state