src/transformers/models/flaubert/tokenization_flaubert.py/FlaubertTokenizer/__getstate__
class FlaubertTokenizer:    def __getstate__(self):
        state = self.__dict__.copy()
        state["sm"] = None
        return state