Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/huggingface/transformers
/ pickle_save
Function
pickle_save
examples/seq2seq/utils.py:188–191 ·
view source on GitHub ↗
pickle.dump(obj, path)
(obj, path)
Source
from the content-addressed store, hash-verified
186
187
188
def
pickle_save(obj, path):
189
""
"pickle.dump(obj, path)"
""
190
with
open(path,
"wb"
)
as
f:
191
return
pickle.dump(obj, f)
192
193
194
def
flatten_list(summary_ids: List[List]):
Callers
2
__init__
Method · 0.90
main
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected