Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ymcui/Chinese-LLaMA-Alpaca-2
/ to_dict
Method
to_dict
scripts/training/peft/utils/config.py:57–58 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
55
return
asdict(self)
56
57
def
to_dict(self):
58
return
self.__dict__
59
60
def
save_pretrained(self, save_directory, **kwargs):
61
r
""
"
Callers
3
main
Function · 0.80
main
Function · 0.80
get_peft_model
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected