MCPcopy 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_pplFunction · 0.45
__call__Method · 0.45
get_batch_resultMethod · 0.45
save_historyMethod · 0.45
statistic_humanevalFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected