Skip to content

docs: fix DeepSeek-R1 EOS token in LLMs section - #725

Open
GUNJESH843 wants to merge 1 commit into
huggingface:mainfrom
GUNJESH843:patch-1
Open

GUNJESH843 wants to merge 1 commit into
huggingface:mainfrom
GUNJESH843:patch-1

Conversation

@GUNJESH843

Copy link
Copy Markdown

Summary

Correct the DeepSeek-R1 EOS token documented in the "What are LLMs?" section.

Changes

  • Replaced <|end_of_sentence|> with <|end▁of▁sentence|>.
  • Updated the functionality description from "End of message text" to "End of sequence".

Evidence

The official DeepSeek-R1 tokenizer_config.json defines the EOS token as:

"eos_token": "<|end▁of▁sentence|>"

Official source:

https://huggingface.co/deepseek-ai/DeepSeek-R1/blob/main/tokenizer_config.json

This confirms that <|end▁of▁sentence|> is the EOS token defined by the official DeepSeek-R1 tokenizer.

Testing

Documentation-only change. No code tests are required.

Updated the end of message text for Deepseek-R1 and adjusted the code representation.
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