Skip to content

convert : fix set_vocab_sentencepiece#6866

Merged
ggerganov merged 3 commits intomasterfrom
gg/fix-spm-vocab-convert
May 18, 2024
Merged

convert : fix set_vocab_sentencepiece#6866
ggerganov merged 3 commits intomasterfrom
gg/fix-spm-vocab-convert

Conversation

@ggerganov
Copy link
Copy Markdown
Member

Using the same logic as in #6852 for _set_vocab_sentencepiece()

@ggerganov
Copy link
Copy Markdown
Member Author

ggerganov commented Apr 24, 2024

@JustinLin610 Can you give this PR a try using codeqwen and confirm that it continues to convert correctly?

@ggerganov ggerganov added the need feedback Testing and feedback with results are needed label Apr 24, 2024
@ggerganov ggerganov requested a review from cebtenzzre April 29, 2024 14:27
@ggerganov
Copy link
Copy Markdown
Member Author

This change should be good, right?

@mofosyne mofosyne added Review Complexity : Low Trivial changes to code that most beginner devs (or those who want a break) can tackle. e.g. UI fix bugfix fixes an issue or bug labels May 9, 2024
Comment thread convert-hf-to-gguf.py Outdated
Copy link
Copy Markdown
Collaborator

@mofosyne mofosyne left a comment

Choose a reason for hiding this comment

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

checked that the logic checks out.

Looks like a refactoring kind of bugfix? If so then let's merge it in.

@mofosyne mofosyne added the merge ready A maintainer can use this label to indicate that they consider the changes final and ready to merge. label May 18, 2024
@ggerganov ggerganov merged commit b49a13d into master May 18, 2024
@ggerganov ggerganov deleted the gg/fix-spm-vocab-convert branch May 18, 2024 05:46
Seunghhon pushed a commit to Seunghhon/llama.cpp that referenced this pull request Apr 26, 2026
* convert : fix set_vocab_sentencepiece

* Update convert-hf-to-gguf.py
phuongncn pushed a commit to phuongncn/llama.cpp-gx10-dgx-sparks-deepseekv4 that referenced this pull request Apr 28, 2026
* convert : fix set_vocab_sentencepiece

* Update convert-hf-to-gguf.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix fixes an issue or bug merge ready A maintainer can use this label to indicate that they consider the changes final and ready to merge. need feedback Testing and feedback with results are needed Review Complexity : Low Trivial changes to code that most beginner devs (or those who want a break) can tackle. e.g. UI fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants