Package ai.djl.huggingface.tokenizers
Class PadTokenResolver.PadInfo
java.lang.Object
ai.djl.huggingface.tokenizers.PadTokenResolver.PadInfo
- Enclosing class:
- PadTokenResolver
The type Pad info.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PadInfo
Instantiates a new Pad info.- Parameters:
padToken- the pad tokenpadId- the pad id
-
-
Method Details
-
getPadToken
Gets pad token.- Returns:
- the pad token
-
getPadId
public int getPadId()Gets pad id.- Returns:
- the pad id
-