summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGalunid <karolek1231456@gmail.com>2024-06-05 19:07:24 +0200
committerGitHub <noreply@github.com>2024-06-06 03:07:24 +1000
commit7672adeec7a79ea271058c63106c142ba84f951a (patch)
tree2df8d379fceeb29528ee4d772525d40aaf6f4fa0
parent7d1a378b8fb266782d9248538a661405aad80768 (diff)
Fix encoding in python scripts (#7733)
-rwxr-xr-xconvert-hf-to-gguf-update.py1
-rwxr-xr-xconvert-hf-to-gguf.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/convert-hf-to-gguf-update.py b/convert-hf-to-gguf-update.py
index 84b72348..6dae1a59 100755
--- a/convert-hf-to-gguf-update.py
+++ b/convert-hf-to-gguf-update.py
@@ -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
diff --git a/convert-hf-to-gguf.py b/convert-hf-to-gguf.py
index ad071b97..afb9704c 100755
--- a/convert-hf-to-gguf.py
+++ b/convert-hf-to-gguf.py
@@ -1,4 +1,5 @@
#!/usr/bin/env python3
+# -*- coding: utf-8 -*-
from __future__ import annotations