MCPcopy Create free account
hub / github.com/Pints-AI/1.5-Pints / code

Function code

lit_gpt/packed_dataset.py:26–30  ·  view source on GitHub ↗
(dtype)

Source from the content-addressed store, hash-verified

24
25
26def code(dtype):
27 for k in dtypes:
28 if dtypes[k] == dtype:
29 return k
30 raise ValueError(dtype)
31
32
33HDR_MAGIC = b'LITPKDS'

Callers 1

_write_chunkMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected