MCPcopy
hub / github.com/huggingface/transformers / pop

Method pop

src/transformers/utils/generic.py:483–484  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

481 raise Exception(f"You cannot use ``setdefault`` on a {self.__class__.__name__} instance.")
482
483 def pop(self, *args, **kwargs):
484 raise Exception(f"You cannot use ``pop`` on a {self.__class__.__name__} instance.")
485
486 def update(self, *args, **kwargs):
487 raise Exception(f"You cannot use ``update`` on a {self.__class__.__name__} instance.")

Callers 15

adapt_configsFunction · 0.45
__init__Method · 0.45
run_benchmarksMethod · 0.45
_find_disjointFunction · 0.45
_from_configMethod · 0.45
tie_weightsMethod · 0.45
save_pretrainedMethod · 0.45
from_pretrainedMethod · 0.45
__init__Method · 0.45
_decodeMethod · 0.45

Calls

no outgoing calls