diff options
author | Georgi Gerganov <ggerganov@gmail.com> | 2023-03-29 19:29:26 +0300 |
---|---|---|
committer | Georgi Gerganov <ggerganov@gmail.com> | 2023-03-29 19:29:52 +0300 |
commit | 53635c081c49321d523567112f9fddfbba6b787b (patch) | |
tree | 3514a2f79bf3ef0ea0f455c768a0236856f1517c /convert-unversioned-ggml-to-ggml.py | |
parent | 41318d708ed196ff727dce14d263a64b23c7333d (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.py | 2 |
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 |