Skip to content

Commit

Permalink
support gguf v3
Browse files Browse the repository at this point in the history
  • Loading branch information
spencekim committed Oct 31, 2023
1 parent bd52a18 commit da648f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ type MetadataValue = MetadataBaseValue | MetadataArray

type Version = 1 | 2
const isVersion = (version: number): version is Version =>
version === 1 || version === 2
version === 1 || version === 2 || version === 3

type NumberBytes = { error: Error } | { error: null; value: number }
type BigIntBytes = { error: Error } | { error: null; value: bigint }
Expand Down

0 comments on commit da648f9

Please sign in to comment.