Skip to content

Incorrect DeepSeek-R1 EOS token in LLMs section #726

Description

@GUNJESH843

Incorrect DeepSeek-R1 EOS token in LLMs section

Description

The "What are LLMs?" section currently lists the DeepSeek-R1 EOS token as:

<|end_of_sentence|>

However, the official DeepSeek-R1 tokenizer configuration defines the EOS token as:

<|end▁of▁sentence|>

The functionality is also currently described as "End of message text". Since this is the model's EOS token, it should be described as "End of sequence".

Expected correction

Change:

<|end_of_sentence|><|end▁of▁sentence|>

And change:

End of message textEnd of sequence

Evidence

Official DeepSeek-R1 tokenizer configuration:

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

The eos_token field defines <|end▁of▁sentence|> as the EOS token.

Pull Request

A fix has already been prepared in PR #725:

#725

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions