src/transformers/models/gpt_sw3/tokenization_gpt_sw3.py/GPTSw3Tokenizer/__getstate__
class GPTSw3Tokenizer:    def __getstate__(self):
        state = self.__dict__.copy()
        state["sp_model"] = None
        return state