-
Notifications
You must be signed in to change notification settings - Fork 12.2k
Support glm3 and glm4. #8031
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
Merged
Merged
Support glm3 and glm4. #8031
Changes from 9 commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
6630a2d
add chatglm3-6b model support huggingface model:
xingxingqiao 5a914ff
remove .rotary_pos_emb.inv_freq and unuse code for chatglm3 model
xingxingqiao f626b71
fix lint error
xingxingqiao f3bc337
optimize convert-hf-to-gguf.py for chatglm model
xingxingqiao 1fc5bf5
support glm-4-9b-chat
xingxingqiao 8c5f1b2
fix eos tokens to glm4
youth123 95fd910
remove unused log
youth123 e773174
Fix eos tokens to glm4 and adapts to glm3
youth123 4b65b64
add preprocess to chatglm3 and chatglm4
youth123 3a4d579
add eos_id_list to llama.cpp
youth123 9570806
fix conflicts
youth123 3b67ff8
fix code style
youth123 5f8f465
fix code style
youth123 f8d4fc9
fix conflicts
youth123 a67bc8f
fix conflicts
youth123 3557944
Merge branch 'glm_support'
youth123 89e8aaf
Revert "add eos_id_list to llama.cpp"
youth123 9396c7b
set <|endoftext|> as eos and <|user|> as eot
youth123 e18a536
Merge remote-tracking branch 'offical/master'
youth123 0595f03
fix chat template bug
youth123 7357273
add comment to glm prefix and suffix
youth123 1dc8e91
Merge remote-tracking branch 'offical/master'
youth123 e9e47eb
fix conflicts and add rope_ratio & ChatGLMForConditionalGeneration
youth123 482bdea
merge master
youth123 bbe1926
fix chat template bug
youth123 d07f0a9
fix codestyle
youth123 0d3a94a
merge master
youth123 5e9dba6
fix conflicts
youth123 865dd03
modified the general name of glm model
youth123 71c8e02
Merge remote-tracking branch 'offical/master'
youth123 ec89d06
merge master
youth123 80b381b
fix conflicts
youth123 bf54db2
remove prefix and suffix
youth123 bce74d8
use normal glm4 chattempalte & use LLM_FFN_SWIGLU in phi3
youth123 3be4270
fix: resolve Flake8 errors in `convert-hf-to-gguf.py`
Umpire2018 ed54a65
Merge pull request #2 from Umpire2018/fix/flake8-error
youth123 5b760f2
fix rope ratio to solve incorrect answers
youth123 223eb18
merge master
youth123 4e85b06
fix by comments
youth123 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "gguf" | ||
version = "0.9.0" | ||
version = "0.9.1" | ||
youth123 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
description = "Read and write ML models in GGUF for GGML" | ||
authors = ["GGML <[email protected]>"] | ||
packages = [ | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.