MCPcopy Create free account
hub / github.com/SooLab/CGFormer / PaddingStrategy

Class PaddingStrategy

bert/tokenization_utils_base.py:93–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91
92
93class PaddingStrategy(ExplicitEnum):
94 LONGEST = "longest"
95 MAX_LENGTH = "max_length"
96 DO_NOT_PAD = "do_not_pad"
97
98
99class TensorType(ExplicitEnum):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected