Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pre-tokenizer regexes for BLOOM and gpt3-finnish #8850

Merged
merged 1 commit into from
Aug 15, 2024

Conversation

Exploder98
Copy link
Contributor

This PR adds the missing pre-tokenizers for BLOOM and gpt3-finnish. These models actually use the same regex as Poro-34B, so adding support for them was relatively straightforward.

gpt3-finnish has BloomModel in its config.json instead of BloomForCausalLM, so I added that to the model class decorator.

Fixes #8741

@github-actions github-actions bot added the python python script changes label Aug 4, 2024
@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 merge ready indicates that this may be ready to merge soon and is just holding out in case of objections bugfix fixes an issue or bug labels Aug 5, 2024
@Exploder98
Copy link
Contributor Author

@ggerganov @mofosyne hi, is there still something to do before this can be merged?

@ggerganov ggerganov merged commit 6bda7ce into ggerganov:master Aug 15, 2024
55 checks passed
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
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 indicates that this may be ready to merge soon and is just holding out in case of objections python python script changes 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.

Bug: BLOOM pre-tokenizer is missing
3 participants