MCPcopy Create free account
hub / github.com/OpenBitSys/BitDistiller / normalize

Method normalize

test/general/lm_eval/datasets/logiqa/logiqa.py:112–113  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

110 # method parameters are unpacked from `gen_kwargs` as given in `_split_generators`
111 def _generate_examples(self, filepath, split):
112 def normalize(text):
113 return text.replace(".", ". ").strip()
114
115 with open(filepath, encoding="utf-8") as f:
116 data = f.read().strip().split("\n\n")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected