]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
Fix encoding in python scripts (#7733)
authorGalunid <redacted>
Wed, 5 Jun 2024 17:07:24 +0000 (19:07 +0200)
committerGitHub <redacted>
Wed, 5 Jun 2024 17:07:24 +0000 (03:07 +1000)
convert-hf-to-gguf-update.py
convert-hf-to-gguf.py

index 84b72348dc579e8b4c81994f5c867e40837fe6ed..6dae1a59465e0ed684806266e7cff45ded534819 100755 (executable)
@@ -1,4 +1,5 @@
 #!/usr/bin/env python3
+# -*- coding: utf-8 -*-
 
 # This script downloads the tokenizer models of the specified models from Huggingface and
 # generates the get_vocab_base_pre() function for convert-hf-to-gguf.py
index ad071b97404f7bb7b7357187fb1b1da8d9d93016..afb9704c8e2181fc9279593a3d57be0cd3c7bcb7 100755 (executable)
@@ -1,4 +1,5 @@
 #!/usr/bin/env python3
+# -*- coding: utf-8 -*-
 
 from __future__ import annotations