Skip to content

Type Alias: GgufMetadataGPT2

ts
type GgufMetadataGPT2: {
  context_length: number;
  embedding_length: number;
  block_count: number;
  attention: {
     head_count: number;
     layer_norm_epsilon: number;
    };
};

Type declaration

context_length

ts
readonly context_length: number;

embedding_length

ts
readonly embedding_length: number;

block_count

ts
readonly block_count: number;

attention

ts
readonly attention: {
  head_count: number;
  layer_norm_epsilon: number;
};

attention.head_count

ts
readonly head_count: number;

attention.layer_norm_epsilon

ts
readonly layer_norm_epsilon: number;

Defined in

gguf/types/GgufMetadataTypes.ts:411