is there a way to load tokenizer_config.json by djl? #3158
Unanswered
gabohouhou
asked this question in
Q&A
Replies: 1 comment
-
You can create your own TranslatorFactory, read Here is the place you can inject code: https://github.com/deepjavalibrary/djl/blob/master/extensions/tokenizers/src/main/java/ai/djl/huggingface/translator/TextEmbeddingTranslatorFactory.java#L64 If you don't want to touch TranslatorFactory, you can manually read |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
from class HuggingFaceTokenizer i can find the way to load tokenizer.json, but model tokenizer often use 2 files :tokenizer.json and tokenizer_config.json。is there a way to load tokenizer_config.json?
Beta Was this translation helpful? Give feedback.
All reactions