Skip to content

fix: double BOS in llama3 prompts with vLLM#146

Open
samuki wants to merge 1 commit into
LiveCodeBench:mainfrom
samuki:fix/llama-double-bos
Open

fix: double BOS in llama3 prompts with vLLM#146
samuki wants to merge 1 commit into
LiveCodeBench:mainfrom
samuki:fix/llama-double-bos

Conversation

@samuki

@samuki samuki commented Jun 11, 2026

Copy link
Copy Markdown

format_prompt_generation creates llama3 prompts with apply_chat_template(.., tokenize=False), in which the output already starts with <|begin_of_text|>. vLLM tokenizes prompts with add_special_tokens=True, which prepends a second BOS

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.

1 participant