Replies: 1 comment 2 replies
-
@lintool Apparently DJL has an implementation for loading Huggingface Tokenizers that works. Wondering if we can explore that instead? https://github.com/deepjavalibrary/djl/tree/master/extensions/tokenizers |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Apparently, there's already an implementation in djl: https://github.com/deepjavalibrary/djl/blob/master/api/src/main/java/ai/djl/modality/nlp/bert/WordpieceTokenizer.java
Javadoc:
https://javadoc.io/doc/ai.djl/api/latest/ai/djl/modality/nlp/bert/WordpieceTokenizer.html
Beta Was this translation helpful? Give feedback.
All reactions