MCPcopy Create free account
hub / github.com/OpenSparseLLMs/MoM / commit

Method commit

lm-eval-harness/lm_eval/decontamination/archiver.py:43–46  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

41 )
42
43 def commit(self) -> None:
44 self.compressor.flush(zstandard.FLUSH_FRAME)
45 self.fh.flush()
46 self.fh.close()
47
48
49# Modified version of lm_dataformat Reader with self.fh set, allowing peeking for tqdm.

Callers 1

fnMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected