HaileyStorm
commited on
Update chess-gpt-eval-contrastive/mamba_module.py
Browse files
chess-gpt-eval-contrastive/mamba_module.py
CHANGED
@@ -93,7 +93,7 @@ class MambaPlayer:
|
|
93 |
self.hooks = []
|
94 |
|
95 |
for i, layer in enumerate(self.model.backbone.layers):
|
96 |
-
self.activations[i] = {"won": [], "lost": []}
|
97 |
|
98 |
def hook(module, input, output, layer_idx=i):
|
99 |
if isinstance(output, tuple):
|
|
|
93 |
self.hooks = []
|
94 |
|
95 |
for i, layer in enumerate(self.model.backbone.layers):
|
96 |
+
self.activations[i] = {"won": [], "lost": [], "current": []}
|
97 |
|
98 |
def hook(module, input, output, layer_idx=i):
|
99 |
if isinstance(output, tuple):
|