py : add GPT4All conversion script
For now: copy-paste Too much time for me to deduplicate the python code
This commit is contained in:
parent
41318d708e
commit
53635c081c
2 changed files with 108 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue