MCPcopy Create free account
hub / github.com/THUDM/GLM / tokenize_worker

Method tokenize_worker

data_utils/corpora.py:100–101  ·  view source on GitHub ↗
(self, input, output, info, tokenizer, tokenize)

Source from the content-addressed store, hash-verified

98 DONE_QUEUE_LIMIT = 10000000
99
100 def tokenize_worker(self, input, output, info, tokenizer, tokenize):
101 raise NotImplementedError
102
103 def print_info(self, info):
104 pass

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected