MCPcopy Create free account
hub / github.com/AIS-SNU/Smart-Infinity / tokenize

Method tokenize

DeepSpeedExample/tools/preprocess_data.py:52–53  ·  view source on GitHub ↗
(self, *text)

Source from the content-addressed store, hash-verified

50
51class IdentitySplitter(object):
52 def tokenize(self, *text):
53 return text
54
55class Encoder(object):
56 def __init__(self, args):

Callers 5

encodeMethod · 0.45
process_single_datapathFunction · 0.45
get_tokensMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected