HaileyStorm
commited on
Commit
•
6db10a6
1
Parent(s):
5994510
Update chess-gpt-eval-contrastive/main.py
Browse files
chess-gpt-eval-contrastive/main.py
CHANGED
@@ -766,7 +766,7 @@ if __name__ == "__main__":
|
|
766 |
player_one_recording_name = nanogpt_player
|
767 |
# player_one = NanoGptPlayer(model_name=player_one_recording_name, move_num_in_gamestate=move_num_in_gamestate)
|
768 |
#player_one_recording_name = f"xformer_rdm_{rm}"
|
769 |
-
player_one = MambaPlayer(model_name=player_one_recording_name, move_num_in_gamestate=move_num_in_gamestate, update_contrastive=update_activations, update_linear=update_linear, linear_probe_path=linear_path)
|
770 |
player_one_recording_name = f'linear_eval'
|
771 |
if apply_activations:
|
772 |
player_one.apply_contrastive_activations(path=activations_path, weight=wgt)
|
|
|
766 |
player_one_recording_name = nanogpt_player
|
767 |
# player_one = NanoGptPlayer(model_name=player_one_recording_name, move_num_in_gamestate=move_num_in_gamestate)
|
768 |
#player_one_recording_name = f"xformer_rdm_{rm}"
|
769 |
+
player_one = MambaPlayer(model_name=player_one_recording_name, move_num_in_gamestate=move_num_in_gamestate, update_contrastive=update_activations, update_linear=update_linear or eval_linear, linear_probe_path=linear_path)
|
770 |
player_one_recording_name = f'linear_eval'
|
771 |
if apply_activations:
|
772 |
player_one.apply_contrastive_activations(path=activations_path, weight=wgt)
|