src/transformers/models/t5/tokenization_t5.py/T5Tokenizer/__getstate__
class T5Tokenizer:    def __getstate__(self):
        state = self.__dict__.copy()
        state["sp_model"] = None
        return state