Skip to content

Type Alias: GgufMetadataLlmLLaMA

ts
type GgufMetadataLlmLLaMA: {
  context_length: number;
  embedding_length: number;
  block_count: number;
  feed_forward_length: number;
  attention: {
     head_count: number;
     layer_norm_rms_epsilon: number;
     head_count_kv: number;
    };
  rope: {
     dimension_count: number;
     scale: number;
    };
  expert_count: number;
  expert_used_count: number;
  tensor_data_layout: string;
};

Type declaration

context_length

ts
readonly context_length: number;

embedding_length

ts
readonly embedding_length: number;

block_count

ts
readonly block_count: number;

feed_forward_length

ts
readonly feed_forward_length: number;

attention

ts
readonly attention: {
  head_count: number;
  layer_norm_rms_epsilon: number;
  head_count_kv: number;
};

attention.head_count

ts
readonly head_count: number;

attention.layer_norm_rms_epsilon

ts
readonly layer_norm_rms_epsilon: number;

attention.head_count_kv?

ts
readonly optional head_count_kv: number;

rope

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

rope.dimension_count

ts
readonly dimension_count: number;

rope.scale?

ts
readonly optional scale: number;

expert_count?

ts
readonly optional expert_count: number;

expert_used_count?

ts
readonly optional expert_used_count: number;

tensor_data_layout?

ts
readonly optional tensor_data_layout: string;

Defined in

gguf/types/GgufMetadataTypes.ts:346