Skip to content
This repository has been archived by the owner on Sep 30, 2023. It is now read-only.

Commit

Permalink
Merge branch 'main' of github.com:ravenscroftj/turbopilot
Browse files Browse the repository at this point in the history
  • Loading branch information
ravenscroftj committed Apr 12, 2023
2 parents 04fe43e + 5d2ea0a commit 325e7f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion convert-codegen-to-ggml.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def bytes_to_unicode():
dir_model = sys.argv[1]
fname_out = sys.argv[1] + "/ggml-model.bin"

with open(dir_model + "/vocab.json", "r") as f:
with open(dir_model + "/vocab.json", "r", encoding="utf8") as f:
encoder = json.load(f)

with open(dir_model + "/added_tokens.json", "r") as f:
Expand Down

0 comments on commit 325e7f4

Please sign in to comment.