Skip to content

src: remove duplicate function llama_should_add_bos_token#8778

Merged
ggerganov merged 1 commit intoggml-org:masterfrom
kylo5aby:rm_dup
Aug 15, 2024
Merged

src: remove duplicate function llama_should_add_bos_token#8778
ggerganov merged 1 commit intoggml-org:masterfrom
kylo5aby:rm_dup

Conversation

@kylo5aby
Copy link
Copy Markdown
Contributor

@kylo5aby kylo5aby commented Jul 30, 2024

  • I have read the contributing guidelines
  • Self-reported review complexity:
    • Low
    • [] Medium
    • High
      Since this PR has update tokenizer_add_bos and tokenizer_add_eos the behavior of llama_should_add_bos_token has also been changed, the PR remove this function and update the return type of related functions.

@mofosyne mofosyne added the Review Complexity : Low Trivial changes to code that most beginner devs (or those who want a break) can tackle. e.g. UI fix label Aug 1, 2024
@kylo5aby
Copy link
Copy Markdown
Contributor Author

kylo5aby commented Aug 5, 2024

can you please take a look @jaime-m-p @ggerganov

@mofosyne mofosyne added the refactoring Refactoring label Aug 6, 2024
@ggerganov ggerganov merged commit 4af8420 into ggml-org:master Aug 15, 2024
arthw pushed a commit to arthw/llama.cpp that referenced this pull request Nov 15, 2024
arthw pushed a commit to arthw/llama.cpp that referenced this pull request Nov 18, 2024
Nexesenex pushed a commit to Nexesenex/croco.cpp that referenced this pull request Feb 25, 2025
Seunghhon pushed a commit to Seunghhon/llama.cpp that referenced this pull request Apr 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

examples refactoring Refactoring Review Complexity : Low Trivial changes to code that most beginner devs (or those who want a break) can tackle. e.g. UI fix server

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants