Skip to content

Commit 7672ade

Browse files
authored
Fix encoding in python scripts (#7733)
1 parent 7d1a378 commit 7672ade

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

convert-hf-to-gguf-update.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env python3
2+
# -*- coding: utf-8 -*-
23

34
# This script downloads the tokenizer models of the specified models from Huggingface and
45
# generates the get_vocab_base_pre() function for convert-hf-to-gguf.py

convert-hf-to-gguf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env python3
2+
# -*- coding: utf-8 -*-
23

34
from __future__ import annotations
45

0 commit comments

Comments
 (0)