MCPcopy Create free account
hub / github.com/FastMAS/KVCOMM / dataloader

Function dataloader

experiments/run_gsm8k.py:45–46  ·  view source on GitHub ↗
(data_list, batch_size, i_batch)

Source from the content-addressed store, hash-verified

43
44
45def dataloader(data_list, batch_size, i_batch):
46 return data_list[i_batch * batch_size : i_batch * batch_size + batch_size]
47
48
49def parse_args():

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected