Type Alias: GgufMetadata<A>
ts
type GgufMetadata<A>: {
general: GgufMetadataGeneral<A>;
tokenizer: GgufMetadataTokenizer;
} & GgufArchitectureType extends A ? { readonly [key in GgufArchitectureType]?: key extends keyof GgufMetadataLlmToType ? GgufMetadataLlmToType[key] : GgufMetadataDefaultArchitectureType } : { readonly [key in A]: key extends keyof GgufMetadataLlmToType ? GgufMetadataLlmToType[key] : GgufMetadataDefaultArchitectureType };
Type declaration
general
ts
readonly general: GgufMetadataGeneral<A>;
tokenizer
ts
readonly tokenizer: GgufMetadataTokenizer;
Type Parameters
Type Parameter | Default type |
---|---|
A extends GgufArchitectureType | GgufArchitectureType |