aboutsummaryrefslogtreecommitdiff
path: root/convert-unversioned-ggml-to-ggml.py
diff options
context:
space:
mode:
authorGeorgi Gerganov <ggerganov@gmail.com>2023-03-29 19:29:26 +0300
committerGeorgi Gerganov <ggerganov@gmail.com>2023-03-29 19:29:52 +0300
commit53635c081c49321d523567112f9fddfbba6b787b (patch)
tree3514a2f79bf3ef0ea0f455c768a0236856f1517c /convert-unversioned-ggml-to-ggml.py
parent41318d708ed196ff727dce14d263a64b23c7333d (diff)
py : add GPT4All conversion script
For now: copy-paste Too much time for me to deduplicate the python code
Diffstat (limited to 'convert-unversioned-ggml-to-ggml.py')
-rw-r--r--convert-unversioned-ggml-to-ggml.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/convert-unversioned-ggml-to-ggml.py b/convert-unversioned-ggml-to-ggml.py
index 2457e31..33b6243 100644
--- a/convert-unversioned-ggml-to-ggml.py
+++ b/convert-unversioned-ggml-to-ggml.py
@@ -27,7 +27,7 @@ def write_header(f_out, header):
if magic != 0x67676d6c:
raise Exception('Invalid file magic. Must be an old style ggml file.')
-
+
values = [
0x67676d66, # magic: ggml in hex
1, # file version