MCPcopy Create free account
hub / github.com/huggingface/transformers / save

Method save

src/transformers/pipelines.py:189–195  ·  view source on GitHub ↗

Save the provided data object with the representation for the current `DataFormat`. :param data: data to store :return:

(self, data: dict)

Source from the content-addressed store, hash-verified

187
188 @abstractmethod
189 def save(self, data: dict):
190 """
191 Save the provided data object with the representation for the current `DataFormat`.
192 :param data: data to store
193 :return:
194 """
195 raise NotImplementedError()
196
197 def save_binary(self, data: Union[dict, List[dict]]) -> str:
198 """

Callers 15

trainFunction · 0.45
load_and_cache_examplesFunction · 0.45
mainFunction · 0.45
save_pretrainedMethod · 0.45
save_vocabularyMethod · 0.45
get_lm_corpusFunction · 0.45

Calls

no outgoing calls