MCPcopy Index your code
hub / github.com/zai-org/CodeGeeX / pad

Method pad

codegeex/megatron/tokenizer/tokenizer.py:164–167  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

162
163 @property
164 def pad(self):
165 raise NotImplementedError(
166 "PAD is not provided for {} " "tokenizer".format(self.name)
167 )
168
169 @property
170 def eod(self):

Callers 7

run_predictFunction · 0.80
run_predictFunction · 0.80
generateFunction · 0.80
generate_incrementFunction · 0.80
generate_incrementFunction · 0.80
generate_incrementFunction · 0.80
generate_incrementFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected