HaileyStorm commited on
Commit
498c07f
1 Parent(s): f728647

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

Browse files
Files changed (1) hide show
  1. chess-gpt-eval-contrastive/main.py +2 -2
chess-gpt-eval-contrastive/main.py CHANGED
@@ -756,7 +756,7 @@ if __name__ == "__main__":
756
  # for rm in range(5, 36, 5):
757
  for i in [0]: # [3] #range(11):
758
  # for wgt in [0.005, 0.01, 0.025, 0.05]:
759
- num_games = 500
760
  # player_one = GPTPlayer(model="gpt-3.5-turbo-instruct")
761
  # player_one = LocalLlamaPlayer(model_name="meta-llama/Llama-2-7b-hf")
762
  # player_one = LocalLoraLlamaPlayer("meta-llama/Llama-2-7b-hf", "/workspace/axolotl/lora2-out")
@@ -767,7 +767,7 @@ if __name__ == "__main__":
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)
773
 
 
756
  # for rm in range(5, 36, 5):
757
  for i in [0]: # [3] #range(11):
758
  # for wgt in [0.005, 0.01, 0.025, 0.05]:
759
+ num_games = 5000
760
  # player_one = GPTPlayer(model="gpt-3.5-turbo-instruct")
761
  # player_one = LocalLlamaPlayer(model_name="meta-llama/Llama-2-7b-hf")
762
  # player_one = LocalLoraLlamaPlayer("meta-llama/Llama-2-7b-hf", "/workspace/axolotl/lora2-out")
 
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_train'
771
  if apply_activations:
772
  player_one.apply_contrastive_activations(path=activations_path, weight=wgt)
773