src/transformers/models/fsmt/tokenization_fsmt.py/FSMTTokenizer/__getstate__
class FSMTTokenizer:    def __getstate__(self):
        state = self.__dict__.copy()
        state["sm"] = None
        return state