Skip to content

fix: show warning with tokenizer config parsing error #1488

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

Merged
merged 1 commit into from
Jan 26, 2024

Conversation

drbh
Copy link
Collaborator

@drbh drbh commented Jan 25, 2024

This tiny PR just prints the parsing error when a tokenizer config fails to load.

This is helpful when a chat_template wont load due to formatting issues #1427 (comment)

@drbh drbh requested review from Narsil and OlivierDehaene January 25, 2024 19:19
@OlivierDehaene OlivierDehaene merged commit 13dd8e2 into main Jan 26, 2024
@OlivierDehaene OlivierDehaene deleted the improve-tokenizer-config-error-visibility branch January 26, 2024 09:41
helena-intel pushed a commit to helena-intel/text-generation-inference-hf that referenced this pull request Feb 1, 2024
This tiny PR just prints the parsing error when a tokenizer config fails
to load.

This is helpful when a chat_template wont load due to formatting issues
huggingface#1427 (comment)
kdamaszk pushed a commit to kdamaszk/tgi-gaudi that referenced this pull request Apr 29, 2024
This tiny PR just prints the parsing error when a tokenizer config fails
to load.

This is helpful when a chat_template wont load due to formatting issues
huggingface#1427 (comment)
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 this pull request may close these issues.

2 participants