Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/bigcode-project/starcoder
/ to_dict
Method
to_dict
chat/dialogues.py:93–94 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
91
)
92
93
def
to_dict(self) -> Dict[str, Any]:
94
return
{k: v
for
k, v in asdict(self).items()}
95
96
@classmethod
97
def
from_dict(cls, data):
Callers
1
_save_pretrained
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected