Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: tokenizer.json file not found #2840

Closed
Rfank2021 opened this issue Nov 8, 2023 · 1 comment · Fixed by #2843
Closed

[BUG]: tokenizer.json file not found #2840

Rfank2021 opened this issue Nov 8, 2023 · 1 comment · Fixed by #2843

Comments

@Rfank2021
Copy link

} else if (Files.exists(tokenizerPath)) {
throw new IOException("Tokenizer file not exits: " + tokenizerPath);
}

should be

} else if (!Files.exists(tokenizerPath)) {
    throw new IOException("Tokenizer file not exits: " + tokenizerPath);
}
@Rfank2021
Copy link
Author

workaround is use the directory instead.

@Rfank2021 Rfank2021 changed the title BUG: tokenizer.json file not found [BUG]: tokenizer.json file not found Nov 8, 2023
frankfliu added a commit to frankfliu/djl that referenced this issue Nov 8, 2023
frankfliu added a commit that referenced this issue Nov 8, 2023
frankfliu added a commit that referenced this issue Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant