Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Paper2Poster/Paper2Poster
/ to_dict
Method
to_dict
utils/src/llms.py:244–245 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
242
embedding: Tensor = None
243
244
def
to_dict(self):
245
return
{k: v
for
k, v in asdict(self).items()
if
k !=
"embedding"
}
246
247
def
calc_token(self):
248
""
"
Callers
5
compute_vlm_ppl
Function · 0.45
__call__
Method · 0.45
get_batch_result
Method · 0.45
save_history
Method · 0.45
statistic_humaneval
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected