src/transformers/models/roformer/tokenization_roformer.py/RoFormerTokenizer/__setstate__
class RoFormerTokenizer:    def __setstate__(self, d):
        self.__dict__ = d
        import rjieba

        self.jieba = rjieba