mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-29 07:34:18 +01:00
convert : fix n_ff typo
This commit is contained in:
parent
dff8cbeb39
commit
d38e41ee69
@ -275,7 +275,7 @@ class Params:
|
||||
n_ff = model["layers.0.feed_forward.experts.0.w1.weight"].shape[0]
|
||||
n_ctx = 32768
|
||||
else:
|
||||
n_ff = model["layers.0.feed_forward.w1.weight"].shape[0],
|
||||
n_ff = model["layers.0.feed_forward.w1.weight"].shape[0]
|
||||
|
||||
return Params(
|
||||
n_vocab = model["tok_embeddings.weight"].shape[0],
|
||||
|
Loading…
Reference in New Issue
Block a user