mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2025-08-17 21:51:27 -04:00
py : add GPT4All conversion script
For now: copy-paste Too much time for me to deduplicate the python code
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user