From: Galunid Date: Wed, 5 Jun 2024 17:07:24 +0000 (+0200) Subject: Fix encoding in python scripts (#7733) X-Git-Tag: upstream/0.0.4488~1394 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=7672adeec7a79ea271058c63106c142ba84f951a;p=pkg%2Fggml%2Fsources%2Fllama.cpp Fix encoding in python scripts (#7733) --- 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