We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e33ae7a commit 8d32441Copy full SHA for 8d32441
convert-pth-to-ggml.py
@@ -126,7 +126,8 @@ def get_n_parts(dim):
126
text = tokenizer.id_to_piece(i).replace("\u2581", " ").encode("utf-8")
127
fout.write(struct.pack("i", len(text)))
128
fout.write(text)
129
- fout.write(struct.pack("f", tokenizer.get_score(i)))
+
130
+ fout.write(struct.pack("f", tokenizer.get_score(i)))
131
132
for k, v in model.items():
133
name = k
0 commit comments