Skip to content

Commit 6dde986

Browse files
committed
falcon-h1: fix wrong size param
1 parent 1fa361b commit 6dde986

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/llama-model.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4557,7 +4557,7 @@ bool llama_model::load_tensors(llama_model_loader & ml) {
45574557

45584558
// if output is NULL, init from the input tok embed
45594559
if (output == NULL) {
4560-
output = create_tensor(tn(LLM_TENSOR_TOKEN_EMBD, "weight"), {n_embd, n_vocab}, TENSOR_DUPLICATED);
4560+
output = create_tensor(tn(LLM_TENSOR_TOKEN_EMBD, "weight"), {hidden_size, n_vocab}, TENSOR_DUPLICATED);
45614561
}
45624562

45634563
for (int i = 0; i < n_layer; ++i) {

0 commit comments

Comments
 (0)