From 53635c081c49321d523567112f9fddfbba6b787b Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Wed, 29 Mar 2023 19:29:26 +0300 Subject: py : add GPT4All conversion script For now: copy-paste Too much time for me to deduplicate the python code --- convert-unversioned-ggml-to-ggml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'convert-unversioned-ggml-to-ggml.py') 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 -- cgit v1.2.3