generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 723
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Description
We need to get the tokenizer config like model maxLength. But now the HuggingFaceTokenizer class doesn't have get method for this. Suggest add get methods for HuggingFaceTokenizer fields.
One minor suggestion, return builder for configure
method
public void configure(Map<String, ?> arguments) {
for (Map.Entry<String, ?> entry : arguments.entrySet()) {
options.put(entry.getKey(), entry.getValue().toString());
}
}
change to
public Builder configure(Map<String, ?> arguments) {
for (Map.Entry<String, ?> entry : arguments.entrySet()) {
options.put(entry.getKey(), entry.getValue().toString());
}
return this;
}
References
- list reference and related literature
- list known implementations
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request