Skip to content

Type Alias: GgufMetadataGPTNeoX

ts
type GgufMetadataGPTNeoX: {
  context_length: number;
  embedding_length: number;
  block_count: number;
  use_parallel_residual: boolean;
  rope: {
     dimension_count: number;
     scale: 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;

use_parallel_residual

ts
readonly use_parallel_residual: boolean;

rope

ts
readonly rope: {
  dimension_count: number;
  scale: number;
};

rope.dimension_count

ts
readonly dimension_count: number;

rope.scale?

ts
readonly optional scale: 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:379