Merge a7f5c74795
into d774ab3acc
This commit is contained in:
commit
86083c1d7c
2 changed files with 21 additions and 0 deletions
14
docs/magic.md
Normal file
14
docs/magic.md
Normal file
|
@ -0,0 +1,14 @@
|
|||
Magic File for Model Information
|
||||
------------------------
|
||||
|
||||
Until these models are registered with MIME/Media info you can add this to your local magic file to get simple model details without a hex editor.
|
||||
|
||||
### Prepare:
|
||||
Magic local data for file(1) command. Append this to your /etc/magic file. Insert here your local magic data. Format is described in magic(5). Hopefully this will reach upstream/mainline magic files for distributions soon.
|
||||
|
||||
```
|
||||
0 string tjgg GGML/GGJT LLM model
|
||||
>0x4 lelong <255 version=%d
|
||||
0 string GGUF GGUF LLM model
|
||||
>0x4 lelong <255 version=%d
|
||||
```
|
7
grammars/magic
Normal file
7
grammars/magic
Normal file
|
@ -0,0 +1,7 @@
|
|||
# Magic local data for file(1) command.
|
||||
# Append this to your /etc/magic file.
|
||||
# Insert here your local magic data. Format is described in magic(5).
|
||||
0 string tjgg GGML/GGJT LLM model
|
||||
>0x4 lelong <255 version=%d
|
||||
0 string GGUF GGUF LLM model
|
||||
>0x4 lelong <255 version=%d
|
Loading…
Add table
Add a link
Reference in a new issue