HaileyStorm commited on
Commit
4ca9231
·
verified ·
1 Parent(s): 76a819a

Update chess-gpt-eval-contrastive/mamba_module.py

Browse files
chess-gpt-eval-contrastive/mamba_module.py CHANGED
@@ -316,7 +316,7 @@ class MambaPlayer:
316
  self.linear_probes[layer_idx][probe_type].fit(X, y)
317
  print(f"Fit layer {layer_idx} type {probe_type}.")
318
  else:
319
- print(f"Skipping training for layer {layer_idx}, bucket {bucket}, probe type {probe_type} due to inconsistent number of samples.")
320
 
321
  # Reset linear_probe_targets after training
322
  self.linear_probe_targets = {i: {bucket: {'q_value': [], 'q_value_delta': [], 'material_balance': []} for bucket in self.move_buckets} for i in self.linear_probes}
 
316
  self.linear_probes[layer_idx][probe_type].fit(X, y)
317
  print(f"Fit layer {layer_idx} type {probe_type}.")
318
  else:
319
+ print(f"Skipping training for layer {layer_idx}, bucket {bucket}, probe type {probe_type} due to inconsistent number of samples. X shaspe {X.shape}, Y shape {y.shape}")
320
 
321
  # Reset linear_probe_targets after training
322
  self.linear_probe_targets = {i: {bucket: {'q_value': [], 'q_value_delta': [], 'material_balance': []} for bucket in self.move_buckets} for i in self.linear_probes}