Skip to content

feat: allow null eos and bos tokens in config #1791

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
Apr 23, 2024

Conversation

drbh
Copy link
Collaborator

@drbh drbh commented Apr 22, 2024

This PR resolves an issue loading in tokenizer_configs where the eos or bos token is null as in: Qwen/Qwen1.5-72B-Chat

resolves: #1545 and related to QwenLM/Qwen3#162

Copy link
Collaborator

@Narsil Narsil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Narsil Narsil merged commit 9be1db3 into main Apr 23, 2024
@Narsil Narsil deleted the accept-null-bos-eos-in-config branch April 23, 2024 14:26
Nilabhra pushed a commit to TII-AI-Research-Center/text-generation-inference that referenced this pull request May 14, 2024
This PR resolves an issue loading in tokenizer_configs where the eos or
bos token is null as in:
[Qwen/Qwen1.5-72B-Chat](https://huggingface.co/Qwen/Qwen1.5-72B-Chat/blob/main/tokenizer_config.json)

resolves:
huggingface#1545 and
related to QwenLM/Qwen3#162
kdamaszk pushed a commit to kdamaszk/tgi-gaudi that referenced this pull request Jun 10, 2024
This PR resolves an issue loading in tokenizer_configs where the eos or
bos token is null as in:
[Qwen/Qwen1.5-72B-Chat](https://huggingface.co/Qwen/Qwen1.5-72B-Chat/blob/main/tokenizer_config.json)

resolves:
huggingface#1545 and
related to QwenLM/Qwen3#162
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.

Template Not Found When Using OpenAI format Chat Completion
2 participants