aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMack Straight <eiz@users.noreply.github.com>2023-03-21 08:49:43 -0700
committerGitHub <noreply@github.com>2023-03-21 17:49:43 +0200
commitc98ae02668a25916954b1653e25a5a35ca048d63 (patch)
tree042ab1fcfaf8f6b5ec10b2daa5ca2836d8bce0a7
parentc3b2306b18a087799acc431e485b8a2e3162cd52 (diff)
fix typo in comment (#318)
-rw-r--r--convert-pth-to-ggml.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/convert-pth-to-ggml.py b/convert-pth-to-ggml.py
index c506676..46f7eba 100644
--- a/convert-pth-to-ggml.py
+++ b/convert-pth-to-ggml.py
@@ -67,7 +67,7 @@ def write_header(fout, hparams, ftype):
keys = ["vocab_size", "dim", "multiple_of", "n_heads", "n_layers"]
values = [
- 0x67676d66, # magic: ggml in hex
+ 0x67676d66, # magic: ggmf in hex
1, # file version
*[hparams[key] for key in keys],
hparams["dim"] // hparams["n_heads"], # rot (obsolete)