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
Uh oh!
There was an error while loading. Please reload this page.
-
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