MCPcopy Index your code
hub / github.com/SooLab/CGFormer / __getstate__

Method __getstate__

bert/tokenization_utils_base.py:189–190  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

187 raise AttributeError
188
189 def __getstate__(self):
190 return {"data": self.data, "encodings": self._encodings}
191
192 def __setstate__(self, state):
193 if "data" in state:

Callers 1

save_pretrainedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected