]> git.djapps.eu Git - pkg/ggml/sources/ggml/commitdiff
spec : add GGUF diagram (#765)
authorGeorgi Gerganov <redacted>
Fri, 15 Mar 2024 12:10:35 +0000 (14:10 +0200)
committerGitHub <redacted>
Fri, 15 Mar 2024 12:10:35 +0000 (14:10 +0200)
docs/gguf.md

index ddd61a3408b512de4274aa47e27fc8f75811e512..fa9abea74e778f695d45993390ebb80834d7fe2b 100644 (file)
@@ -20,6 +20,9 @@ The key difference between GGJT and GGUF is the use of a key-value structure for
 
 ### File Structure
 
+![image](https://github.com/ggerganov/ggml/assets/1991296/c3623641-3a1d-408e-bfaf-1b7c4e16aa63)
+*diagram by [@mishig25](https://github.com/mishig25) (GGUF v3)*
+
 GGUF files are structured as follows. They use a global alignment specified in the `general.alignment` metadata field, referred to as `ALIGNMENT` below. Where required, the file is padded with `0x00` bytes to the next multiple of `general.alignment`.
 
 Fields, including arrays, are written sequentially without alignment unless otherwise specified.