Skip to content

Commit

Permalink
squash! baby-llama : rename llama_layer to baby_llama_layer
Browse files Browse the repository at this point in the history
Rename baby_llama_layer to gpt_layer.
  • Loading branch information
danbev committed Sep 20, 2024
1 parent 0940460 commit c93300f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/baby-llama/baby-llama.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ struct llama_hparams_lora {
}
};

struct baby_llama_layer {
struct gpt_layer {
// normalization
struct ggml_tensor * attention_norm;

Expand Down Expand Up @@ -169,7 +169,7 @@ struct llama_model {
struct ggml_tensor * norm;
struct ggml_tensor * output;

std::vector<baby_llama_layer> layers;
std::vector<gpt_layer> layers;
};

struct llama_model_lora {
Expand Down

0 comments on commit c93300f

Please sign in to comment.