Skip to content

Commit 6070538

Browse files
committed
[Bugfix] fix small bug
1 parent 5b21f16 commit 6070538

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paddlenlp/experimental/transformers/mixtral/modeling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ def __init__(self, config: MixtralConfig):
289289

290290
moe_config = MoeConfig(
291291
num_experts=self.num_experts,
292-
top_k=self.top_k,
292+
top_k=self.moe_topk,
293293
norm_topk_prob=True,
294294
moe_every2=self.moe_every2,
295295
)

0 commit comments

Comments
 (0)