From d7638e029c0d84c56db4344c4897a682397399a7 Mon Sep 17 00:00:00 2001 From: Prince Canuma Date: Sun, 12 Jan 2025 15:27:10 +0100 Subject: [PATCH] black formatting --- llms/mlx_lm/models/cohere2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llms/mlx_lm/models/cohere2.py b/llms/mlx_lm/models/cohere2.py index bc6ad276..784bcfcf 100644 --- a/llms/mlx_lm/models/cohere2.py +++ b/llms/mlx_lm/models/cohere2.py @@ -158,7 +158,7 @@ class CohereModel(nn.Module): if mask is None: j = self.args.sliding_window_pattern - mask = create_attention_mask(h, cache[j - 1: j]) + mask = create_attention_mask(h, cache[j - 1 : j]) if cache is None: cache = [None] * len(self.layers)