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

Method _tokenize

test/general/lm_eval/tasks/drop.py:268–269  ·  view source on GitHub ↗
(self, text)

Source from the content-addressed store, hash-verified

266 return str(float(text)) if self._is_number(text) else text
267
268 def _tokenize(self, text):
269 return re.split(" |-", text)
270
271 def _normalize(self, answer):
272 tokens = [

Callers 1

_normalizeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected