Skip to content

Fix the encoding in the convert-hf-to-gguf-update.py file#8040

Merged
Galunid merged 1 commit intoggml-org:masterfrom
hamdoudhakem:llama.cpp-fix-encoding
Jun 20, 2024
Merged

Fix the encoding in the convert-hf-to-gguf-update.py file#8040
Galunid merged 1 commit intoggml-org:masterfrom
hamdoudhakem:llama.cpp-fix-encoding

Conversation

@hamdoudhakem
Copy link
Copy Markdown
Contributor

This PR was made as a follow up of a request made by another contributer to split my last PR into two separate PRs.

In this PR the convert-hf-to-gguf-update.py was updated to use encoding="utf-8" when reading and writing on convert-hf-to-gguf.py because some characters kept breaking the execution of the convert-hf-to-gguf-update.py (mostly hexadecimal characters that weren't recognized under windows default encoding) like the rocket emojis "🚀"

@Galunid Galunid merged commit 17b291a into ggml-org:master Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

python python script changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants