HaileyStorm commited on
Commit
0955f14
1 Parent(s): 8b4892f

Upload folder using huggingface_hub

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +34 -0
  2. chess-gpt-eval-contrastive/__pycache__/gpt_query.cpython-310.pyc +0 -0
  3. chess-gpt-eval-contrastive/__pycache__/mamba.cpython-310.pyc +0 -0
  4. chess-gpt-eval-contrastive/__pycache__/mamba_lm.cpython-310.pyc +0 -0
  5. chess-gpt-eval-contrastive/__pycache__/mamba_module.cpython-310.pyc +0 -0
  6. chess-gpt-eval-contrastive/__pycache__/pscan.cpython-310.pyc +0 -0
  7. chess-gpt-eval-contrastive/__pycache__/xformer.cpython-310.pyc +0 -0
  8. chess-gpt-eval-contrastive/cleanup.py +16 -0
  9. chess-gpt-eval-contrastive/dedupe.py +25 -0
  10. chess-gpt-eval-contrastive/dedupem.py +25 -0
  11. chess-gpt-eval-contrastive/dedupesf.py +26 -0
  12. chess-gpt-eval-contrastive/game.txt +1 -0
  13. chess-gpt-eval-contrastive/gpt_inputs/prompt.txt +3 -0
  14. chess-gpt-eval-contrastive/gpt_inputs/testing_input.txt +42 -0
  15. chess-gpt-eval-contrastive/gpt_query.py +265 -0
  16. chess-gpt-eval-contrastive/lc0.zip +3 -0
  17. chess-gpt-eval-contrastive/lc0/build/release/.gitignore +2 -0
  18. chess-gpt-eval-contrastive/lc0/build/release/.hgignore +3 -0
  19. chess-gpt-eval-contrastive/lc0/build/release/.ninja_deps +0 -0
  20. chess-gpt-eval-contrastive/lc0/build/release/.ninja_log +165 -0
  21. chess-gpt-eval-contrastive/lc0/build/release/00af53b081e80147172e6f281c01daf5ca19ada173321438914c730370aa4267 +3 -0
  22. chess-gpt-eval-contrastive/lc0/build/release/07d19b24347b043902bfdbabe7c8f797bdc86291c6cece34dab371d3edc70b15 +3 -0
  23. chess-gpt-eval-contrastive/lc0/build/release/11258-104x9-se.pb.gz +3 -0
  24. chess-gpt-eval-contrastive/lc0/build/release/11258-32x4-se.pb.gz +3 -0
  25. chess-gpt-eval-contrastive/lc0/build/release/11258-48x5-se.pb.gz +3 -0
  26. chess-gpt-eval-contrastive/lc0/build/release/11258-64x6-se.pb.gz +3 -0
  27. chess-gpt-eval-contrastive/lc0/build/release/11258-80x7-se.pb.gz +3 -0
  28. chess-gpt-eval-contrastive/lc0/build/release/11258-96x8-se-5.pb.gz +3 -0
  29. chess-gpt-eval-contrastive/lc0/build/release/2cf51925ee86c4d428b75e491bf4d94bff9b10b6024eff162b7e2b52d546d3dc +3 -0
  30. chess-gpt-eval-contrastive/lc0/build/release/32930-112x9-se.pb.gz +3 -0
  31. chess-gpt-eval-contrastive/lc0/build/release/425e60023c6bc7560e98738444dd4689ab81898450c48150f405f58f74076213 +3 -0
  32. chess-gpt-eval-contrastive/lc0/build/release/768x15x24h-t82-swa-7464000.pb.gz +3 -0
  33. chess-gpt-eval-contrastive/lc0/build/release/7ca2381cfeac5c280f304e7027ffbea1b7d87474672e5d6fb16d5cd881640e04 +3 -0
  34. chess-gpt-eval-contrastive/lc0/build/release/TK-6430 aka 128x10-BPR-64M-6430000.pb.gz +3 -0
  35. chess-gpt-eval-contrastive/lc0/build/release/b2ec465d0fb5b5eb39d2e1e3f74041a5d2fc92d413b71aa7ea0b6fb082ccba9c +3 -0
  36. chess-gpt-eval-contrastive/lc0/build/release/build.ninja +0 -0
  37. chess-gpt-eval-contrastive/lc0/build/release/build_id.h +9 -0
  38. chess-gpt-eval-contrastive/lc0/build/release/cb4dcd82a72472daefaca85b7580ef73a7a4eda58e0d1de22e342d4d5874ff07 +3 -0
  39. chess-gpt-eval-contrastive/lc0/build/release/cbd8f9e3ec3fe2fd3047846804a455a3af27d0ae568691f0d7a7c0caecfa71bd +3 -0
  40. chess-gpt-eval-contrastive/lc0/build/release/chessboard_test +0 -0
  41. chess-gpt-eval-contrastive/lc0/build/release/chessboard_test.p/src_chess_board_test.cc.o +0 -0
  42. chess-gpt-eval-contrastive/lc0/build/release/compile_commands.json +0 -0
  43. chess-gpt-eval-contrastive/lc0/build/release/d0ed346c32fbcc9eb2f0bc7e957d188c8ae428ee3ef7291fd5aa045fc6ef4ded +3 -0
  44. chess-gpt-eval-contrastive/lc0/build/release/encoder_test +0 -0
  45. chess-gpt-eval-contrastive/lc0/build/release/encoder_test.p/proto/net.pb.h +0 -0
  46. chess-gpt-eval-contrastive/lc0/build/release/encoder_test.p/src_neural_encoder_test.cc.o +0 -0
  47. chess-gpt-eval-contrastive/lc0/build/release/encoder_test.p/src_utils_protomessage.cc.o +0 -0
  48. chess-gpt-eval-contrastive/lc0/build/release/f0d399df849e2f46fed4e1a12ab79d936715ae38cd516df2db88580d14e265b5 +3 -0
  49. chess-gpt-eval-contrastive/lc0/build/release/hashcat_test +0 -0
  50. chess-gpt-eval-contrastive/lc0/build/release/hashcat_test.p/src_utils_hashcat_test.cc.o +0 -0
.gitattributes CHANGED
@@ -35,3 +35,37 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
  csv_datasets/anneal.csv filter=lfs diff=lfs merge=lfs -text
37
  csv_datasets/stable.csv filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
  csv_datasets/anneal.csv filter=lfs diff=lfs merge=lfs -text
37
  csv_datasets/stable.csv filter=lfs diff=lfs merge=lfs -text
38
+ chess-gpt-eval-contrastive/lc0/build/release/00af53b081e80147172e6f281c01daf5ca19ada173321438914c730370aa4267 filter=lfs diff=lfs merge=lfs -text
39
+ chess-gpt-eval-contrastive/lc0/build/release/07d19b24347b043902bfdbabe7c8f797bdc86291c6cece34dab371d3edc70b15 filter=lfs diff=lfs merge=lfs -text
40
+ chess-gpt-eval-contrastive/lc0/build/release/2cf51925ee86c4d428b75e491bf4d94bff9b10b6024eff162b7e2b52d546d3dc filter=lfs diff=lfs merge=lfs -text
41
+ chess-gpt-eval-contrastive/lc0/build/release/425e60023c6bc7560e98738444dd4689ab81898450c48150f405f58f74076213 filter=lfs diff=lfs merge=lfs -text
42
+ chess-gpt-eval-contrastive/lc0/build/release/7ca2381cfeac5c280f304e7027ffbea1b7d87474672e5d6fb16d5cd881640e04 filter=lfs diff=lfs merge=lfs -text
43
+ chess-gpt-eval-contrastive/lc0/build/release/b2ec465d0fb5b5eb39d2e1e3f74041a5d2fc92d413b71aa7ea0b6fb082ccba9c filter=lfs diff=lfs merge=lfs -text
44
+ chess-gpt-eval-contrastive/lc0/build/release/cb4dcd82a72472daefaca85b7580ef73a7a4eda58e0d1de22e342d4d5874ff07 filter=lfs diff=lfs merge=lfs -text
45
+ chess-gpt-eval-contrastive/lc0/build/release/cbd8f9e3ec3fe2fd3047846804a455a3af27d0ae568691f0d7a7c0caecfa71bd filter=lfs diff=lfs merge=lfs -text
46
+ chess-gpt-eval-contrastive/lc0/build/release/d0ed346c32fbcc9eb2f0bc7e957d188c8ae428ee3ef7291fd5aa045fc6ef4ded filter=lfs diff=lfs merge=lfs -text
47
+ chess-gpt-eval-contrastive/lc0/build/release/f0d399df849e2f46fed4e1a12ab79d936715ae38cd516df2db88580d14e265b5 filter=lfs diff=lfs merge=lfs -text
48
+ chess-gpt-eval-contrastive/lc0/build/release/lc0 filter=lfs diff=lfs merge=lfs -text
49
+ chess-gpt-eval-contrastive/lc0/build/release/lc0.p/src_benchmark_benchmark.cc.o filter=lfs diff=lfs merge=lfs -text
50
+ chess-gpt-eval-contrastive/lc0/build/release/lc0.p/src_engine.cc.o filter=lfs diff=lfs merge=lfs -text
51
+ chess-gpt-eval-contrastive/lc0/build/release/lc0.p/src_lc0ctl_describenet.cc.o filter=lfs diff=lfs merge=lfs -text
52
+ chess-gpt-eval-contrastive/lc0/build/release/lc0.p/src_lc0ctl_leela2onnx.cc.o filter=lfs diff=lfs merge=lfs -text
53
+ chess-gpt-eval-contrastive/lc0/build/release/lc0.p/src_lc0ctl_onnx2leela.cc.o filter=lfs diff=lfs merge=lfs -text
54
+ chess-gpt-eval-contrastive/lc0/build/release/lc0.p/src_mcts_search.cc.o filter=lfs diff=lfs merge=lfs -text
55
+ chess-gpt-eval-contrastive/lc0/build/release/lc0.p/src_neural_blas_network_blas.cc.o filter=lfs diff=lfs merge=lfs -text
56
+ chess-gpt-eval-contrastive/lc0/build/release/lc0.p/src_neural_onnx_builder.cc.o filter=lfs diff=lfs merge=lfs -text
57
+ chess-gpt-eval-contrastive/lc0/build/release/lc0.p/src_neural_onnx_converter.cc.o filter=lfs diff=lfs merge=lfs -text
58
+ chess-gpt-eval-contrastive/lc0/build/release/lc0.p/src_selfplay_game.cc.o filter=lfs diff=lfs merge=lfs -text
59
+ chess-gpt-eval-contrastive/lc0/build/release/lc0.p/src_selfplay_tournament.cc.o filter=lfs diff=lfs merge=lfs -text
60
+ chess-gpt-eval-contrastive/lc0/build/release/liblc0_lib.so filter=lfs diff=lfs merge=lfs -text
61
+ chess-gpt-eval-contrastive/lc0/build/release/liblc0_lib.so.p/src_benchmark_benchmark.cc.o filter=lfs diff=lfs merge=lfs -text
62
+ chess-gpt-eval-contrastive/lc0/build/release/liblc0_lib.so.p/src_engine.cc.o filter=lfs diff=lfs merge=lfs -text
63
+ chess-gpt-eval-contrastive/lc0/build/release/liblc0_lib.so.p/src_lc0ctl_describenet.cc.o filter=lfs diff=lfs merge=lfs -text
64
+ chess-gpt-eval-contrastive/lc0/build/release/liblc0_lib.so.p/src_lc0ctl_leela2onnx.cc.o filter=lfs diff=lfs merge=lfs -text
65
+ chess-gpt-eval-contrastive/lc0/build/release/liblc0_lib.so.p/src_lc0ctl_onnx2leela.cc.o filter=lfs diff=lfs merge=lfs -text
66
+ chess-gpt-eval-contrastive/lc0/build/release/liblc0_lib.so.p/src_mcts_search.cc.o filter=lfs diff=lfs merge=lfs -text
67
+ chess-gpt-eval-contrastive/lc0/build/release/liblc0_lib.so.p/src_neural_blas_network_blas.cc.o filter=lfs diff=lfs merge=lfs -text
68
+ chess-gpt-eval-contrastive/lc0/build/release/liblc0_lib.so.p/src_neural_onnx_builder.cc.o filter=lfs diff=lfs merge=lfs -text
69
+ chess-gpt-eval-contrastive/lc0/build/release/liblc0_lib.so.p/src_neural_onnx_converter.cc.o filter=lfs diff=lfs merge=lfs -text
70
+ chess-gpt-eval-contrastive/lc0/build/release/liblc0_lib.so.p/src_selfplay_game.cc.o filter=lfs diff=lfs merge=lfs -text
71
+ chess-gpt-eval-contrastive/lc0/build/release/liblc0_lib.so.p/src_selfplay_tournament.cc.o filter=lfs diff=lfs merge=lfs -text
chess-gpt-eval-contrastive/__pycache__/gpt_query.cpython-310.pyc ADDED
Binary file (5.68 kB). View file
 
chess-gpt-eval-contrastive/__pycache__/mamba.cpython-310.pyc ADDED
Binary file (7.48 kB). View file
 
chess-gpt-eval-contrastive/__pycache__/mamba_lm.cpython-310.pyc ADDED
Binary file (5.46 kB). View file
 
chess-gpt-eval-contrastive/__pycache__/mamba_module.cpython-310.pyc ADDED
Binary file (5.38 kB). View file
 
chess-gpt-eval-contrastive/__pycache__/pscan.cpython-310.pyc ADDED
Binary file (5.39 kB). View file
 
chess-gpt-eval-contrastive/__pycache__/xformer.cpython-310.pyc ADDED
Binary file (12.5 kB). View file
 
chess-gpt-eval-contrastive/cleanup.py ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+ import re
3
+
4
+ directory = "../chess-mamba-vs-xformer/out/Xformer/50M/"
5
+
6
+ for filename in os.listdir(directory):
7
+ if filename.endswith(".pt"):
8
+ if filename == "ckpt.pt":
9
+ continue
10
+
11
+ match = re.search(r'ckpt_(\d+)(?:b|g)', filename)
12
+ if match:
13
+ number = int(match.group(1))
14
+ if number > 33219200:
15
+ file_path = os.path.join(directory, filename)
16
+ os.remove(file_path)
chess-gpt-eval-contrastive/dedupe.py ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import pandas as pd
2
+ filename = 'logs/xformer_50M/ckpt_35549900g_12620818850t_pt_vs_lc0_sweep.csv'
3
+ #filename = 'logs/11M/ckpt_1188012b_pt_vs_lc0_sweep.csv'
4
+ #filename = 'logs/11M/Round 1/ckpt_2608480_pt_vs_lc0_sweep.csv'
5
+
6
+ # Read in the CSV file
7
+ df = pd.read_csv(filename)
8
+
9
+ # Count the original total
10
+ original_total = df.shape[0]
11
+
12
+ # Filter out duplicates in the 'transcript' column
13
+ df = df.drop_duplicates(subset='transcript')
14
+
15
+ # Count the remove, and remaining rows
16
+ removed = original_total - df.shape[0]
17
+ remaining = df.shape[0]
18
+
19
+ # Print out the results
20
+ print("Original total rows:", original_total)
21
+ print("Removed rows:", removed)
22
+ print("Remaining rows:", remaining)
23
+
24
+ # Write the filtered data to a new CSV file
25
+ df.to_csv(filename, index=False)
chess-gpt-eval-contrastive/dedupem.py ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import pandas as pd
2
+ filename = 'logs/mamba_lc0lvl0_50M/anneal/ckpt_85965050g_30731830229t_pt_vs_lc0_lvl0_sweep.csv'
3
+ #filename = 'logs/11M/ckpt_1188012b_pt_vs_lc0_sweep.csv'
4
+ #filename = 'logs/11M/Round 1/ckpt_2608480_pt_vs_lc0_sweep.csv'
5
+
6
+ # Read in the CSV file
7
+ df = pd.read_csv(filename)
8
+
9
+ # Count the original total
10
+ original_total = df.shape[0]
11
+
12
+ # Filter out duplicates in the 'transcript' column
13
+ df = df.drop_duplicates(subset='transcript')
14
+
15
+ # Count the remove, and remaining rows
16
+ removed = original_total - df.shape[0]
17
+ remaining = df.shape[0]
18
+
19
+ # Print out the results
20
+ print("Original total rows:", original_total)
21
+ print("Removed rows:", removed)
22
+ print("Remaining rows:", remaining)
23
+
24
+ # Write the filtered data to a new CSV file
25
+ df.to_csv(filename, index=False)
chess-gpt-eval-contrastive/dedupesf.py ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import pandas as pd
2
+
3
+ filename = 'logs/50M/ckpt_78450050sf_pt_vs_stockfish_sweep.csv'
4
+ #filename = 'logs/11M/ckpt_1188012b_pt_vs_lc0_sweep.csv'
5
+ #filename = 'logs/11M/Round 1/ckpt_2608480_pt_vs_lc0_sweep.csv'
6
+
7
+ # Read in the CSV file
8
+ df = pd.read_csv(filename)
9
+
10
+ # Count the original total
11
+ original_total = df.shape[0]
12
+
13
+ # Filter out duplicates in the 'transcript' column
14
+ df = df.drop_duplicates(subset='transcript')
15
+
16
+ # Count the remove, and remaining rows
17
+ removed = original_total - df.shape[0]
18
+ remaining = df.shape[0]
19
+
20
+ # Print out the results
21
+ print("Original total rows:", original_total)
22
+ print("Removed rows:", removed)
23
+ print("Remaining rows:", remaining)
24
+
25
+ # Write the filtered data to a new CSV file
26
+ df.to_csv(filename, index=False)
chess-gpt-eval-contrastive/game.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ .e4 c5 .Nf3 e6 .d4 cxd4 .Nxd4 Nc6 .Nc3 Qc7 .Be2 a6
chess-gpt-eval-contrastive/gpt_inputs/prompt.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ [White "Magnus Carlsen"]
2
+ [Black "Stockfish"]
3
+
chess-gpt-eval-contrastive/gpt_inputs/testing_input.txt ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 1. e4 e5
2
+ 2. Nf3 Nf6
3
+ 3. Nxe5 Qe7
4
+ 4. d4 c6
5
+ 5. Nc3 d6
6
+ 6. Nf3 Nxe4
7
+ 7. Nxe4 d5
8
+ 8. Be2 dxe4
9
+ 9. Nd2 f5
10
+ 10. O-O g6
11
+ 11. c4 Na6
12
+ 12. Nb3 Be6
13
+ 13. d5 Rd8
14
+ 14. Qd4 Bg7
15
+ 15. Qxa7 cxd5
16
+ 16. cxd5 Bxd5
17
+ 17. Bxa6 bxa6
18
+ 18. Qxa6 Be5
19
+ 19. Qb5+ Kf7
20
+ 20. Rd1 Qe8
21
+ 21. Qxe8+ Rhxe8
22
+ 22. Bg5 Bf6
23
+ 23. Bxf6 Kxf6
24
+ 24. Nc5 Bxa2
25
+ 25. Rxd8 Rxd8
26
+ 26. h3 Bg8
27
+ 27. Ra6+ Ke5
28
+ 28. Ra5 Rd4
29
+ 29. Nb3+ Rd5
30
+ 30. Rxd5+ Bxd5
31
+ 31. Nd2 g5
32
+ 32. Kf1 h6
33
+ 33. Ke2 Kd4
34
+ 34. g3 h5
35
+ 35. h4 gxh4
36
+ 36. gxh4 Ba2
37
+ 37. Nf1 f4
38
+ 38. Nd2 Bf7
39
+ 39. Nf1 Bc4+
40
+ 40. Ke1 Bxf1
41
+ 41. Kxf1 Kc4
42
+ 42. Ke2 Kb3
chess-gpt-eval-contrastive/gpt_query.py ADDED
@@ -0,0 +1,265 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import openai
2
+ import tiktoken
3
+ import json
4
+ import os
5
+
6
+ # import replicate
7
+
8
+ # for hugging face inference endpoints for codellama
9
+ import requests
10
+
11
+ from typing import Optional
12
+
13
+ from tenacity import (
14
+ retry,
15
+ stop_after_attempt,
16
+ wait_random_exponential,
17
+ ) # for exponential backoff
18
+
19
+ # system message is used in openai_request()
20
+ system_message = """Provide the next move in the chess game. Only provide the move, no move numbers."""
21
+
22
+ # dollars per 1k tokens, per openai.com/pricing
23
+ pricing_dict = {
24
+ "gpt-4": 0.03,
25
+ "gpt-4-0301": 0.03,
26
+ "gpt-4-0613": 0.03,
27
+ "gpt-3.5-turbo": 0.0015,
28
+ "gpt-3.5-turbo-0301": 0.0015,
29
+ "gpt-3.5-turbo-0613": 0.0015,
30
+ "gpt-3.5-turbo-16k": 0.003,
31
+ "babbage": 0.0005,
32
+ "gpt-3.5-turbo-instruct": 0.0015,
33
+ }
34
+
35
+ MAX_TOKENS = 10
36
+
37
+ completion_models = [
38
+ "gpt-3.5-turbo-instruct",
39
+ "babbage",
40
+ "davinci",
41
+ ]
42
+
43
+
44
+ # tenacity is to handle anytime a request fails
45
+ @retry(wait=wait_random_exponential(min=1, max=60), stop=stop_after_attempt(6))
46
+ def get_gpt_response(
47
+ prompt: str, model: str = "gpt-4", temperature: float = 0.0
48
+ ) -> Optional[str]:
49
+ try:
50
+ messages = []
51
+ # system message is used in openai_request()
52
+ # system_message_dict = {
53
+ # "role": "system",
54
+ # "content": system_message,
55
+ # }
56
+ initial_message = {"role": "user", "content": prompt}
57
+ messages.append(initial_message)
58
+
59
+ record_messages(messages, model)
60
+
61
+ # num_tokens = count_all_tokens(model, messages)
62
+ # prompt_cost = get_prompt_cost(model, num_tokens)
63
+ # print("prompt cost in $:", prompt_cost)
64
+
65
+ if model in completion_models:
66
+ response = get_completions_response(model, messages, temperature)
67
+ elif model.startswith("gpt"):
68
+ response = openai_chat_completion_request(model, messages, temperature)
69
+ elif model.startswith("openrouter"):
70
+ response = openrouter_request(model, messages, temperature)
71
+ elif model.startswith("huggingface"):
72
+ response = hugging_face_request(model, messages, temperature)
73
+ elif model.startswith("replicate"):
74
+ response = replicate_request(model, messages, temperature)
75
+ else:
76
+ raise Exception("Invalid model name")
77
+
78
+ # response_cost = get_response_cost(model, count_tokens(model, response))
79
+ # print("response cost in $:", response_cost)
80
+
81
+ messages.append({"role": "assistant", "content": response})
82
+ record_messages(messages, model)
83
+
84
+ return response
85
+ except Exception as e:
86
+ print(f"Error while getting GPT response: {e}")
87
+ return None
88
+
89
+
90
+ def openai_chat_completion_request(
91
+ model: str, messages: list[dict], temperature: float
92
+ ) -> str:
93
+ system_message_dict = {
94
+ "role": "system",
95
+ "content": system_message,
96
+ }
97
+ messages.append(system_message_dict)
98
+ completion = openai.ChatCompletion.create(
99
+ model=model,
100
+ temperature=temperature,
101
+ messages=messages,
102
+ )
103
+ response = completion.choices[0].message.content
104
+ return response
105
+
106
+
107
+ def openrouter_request(model: str, messages: list[dict], temperature: float) -> str:
108
+ if temperature == 0:
109
+ temperature = 0.001
110
+
111
+ with open("gpt_inputs/openrouter_api_key.txt", "r") as f:
112
+ openai.api_key = f.read().strip()
113
+
114
+ openai.api_base = "https://openrouter.ai/api/v1"
115
+ OPENROUTER_REFERRER = "https://github.com/adamkarvonen/nanoGPT"
116
+
117
+ model = model.replace("openrouter/", "")
118
+
119
+ completion = openai.ChatCompletion.create(
120
+ model=model,
121
+ headers={"HTTP-Referer": OPENROUTER_REFERRER},
122
+ messages=messages,
123
+ temperature=temperature,
124
+ max_tokens=MAX_TOKENS,
125
+ )
126
+ response = completion.choices[0].message.content
127
+ return response
128
+
129
+
130
+ def replicate_request(model: str, messages: list[dict], temperature: float) -> str:
131
+ if temperature == 0:
132
+ temperature = 0.001
133
+
134
+ with open("gpt_inputs/replicate_api_key.txt", "r") as f:
135
+ api_key = f.read().strip()
136
+ os.environ["REPLICATE_API_TOKEN"] = api_key
137
+
138
+ model = model.replace("replicate/", "")
139
+
140
+ messages = translate_to_string_input(messages)
141
+
142
+ output = replicate.run(
143
+ model,
144
+ input={
145
+ "prompt": messages,
146
+ "max_new_tokens": MAX_TOKENS,
147
+ "temperature": temperature,
148
+ },
149
+ )
150
+
151
+ # The meta/llama-2-7b model can stream output as it's running.
152
+ response = ""
153
+ # The predict method returns an iterator, and you can iterate over that output.
154
+ for item in output:
155
+ # https://replicate.com/meta/llama-2-7b/versions/527827021d8756c7ab79fde0abbfaac885c37a3ed5fe23c7465093f0878d55ef/api#output-schema
156
+ response += item
157
+
158
+ return response
159
+
160
+
161
+ def hugging_face_request(model: str, messages: list[dict], temperature: float) -> str:
162
+ def query(payload):
163
+ response = requests.post(API_URL, headers=headers, json=payload)
164
+ return response.json()
165
+
166
+ messages = translate_to_string_input(messages)
167
+ API_URL = "https://xxxxxxxx.us-east-1.aws.endpoints.huggingface.cloud"
168
+ headers = {
169
+ "Authorization": "Bearer xxxxx",
170
+ "Content-Type": "application/json",
171
+ }
172
+
173
+ if temperature == 0:
174
+ temperature = 0.001
175
+
176
+ output = query(
177
+ {
178
+ "inputs": messages,
179
+ "parameters": {"temperature": temperature, "max_new_tokens": MAX_TOKENS},
180
+ }
181
+ )
182
+
183
+ return output[0]["generated_text"]
184
+
185
+
186
+ def translate_to_string_input(
187
+ openai_messages: list[dict], roles_included: bool = False
188
+ ):
189
+ # Translate from OpenAI's dict to a single string input
190
+ messages = []
191
+ for message in openai_messages:
192
+ if roles_included:
193
+ messages.append(message["role"] + ": ")
194
+ messages.append(message["content"])
195
+ if roles_included:
196
+ messages.append("assistant: ")
197
+ return "\n".join(messages)
198
+
199
+
200
+ # for gpt-3 models and instruct models
201
+ def get_completions_response(
202
+ model: str,
203
+ messages: list[dict] | str,
204
+ temperature: float,
205
+ max_tokens: int = MAX_TOKENS,
206
+ ) -> str:
207
+ if not isinstance(messages, str):
208
+ prompt = translate_to_string_input(messages, roles_included=False)
209
+ else:
210
+ prompt = messages
211
+
212
+ completion = openai.Completion.create(
213
+ model=model, temperature=temperature, prompt=prompt, max_tokens=max_tokens
214
+ )
215
+
216
+ response = completion.choices[0].text
217
+ return response
218
+
219
+
220
+ def count_all_tokens(model: str, messages: list[dict[str, str]]) -> int:
221
+ total_tokens = 0
222
+ for message in messages:
223
+ total_tokens += count_tokens(model, message["content"])
224
+ return total_tokens
225
+
226
+
227
+ def count_tokens(model: str, prompt: str) -> int:
228
+ if "gpt" not in model:
229
+ model = "gpt-4"
230
+
231
+ encoding = tiktoken.encoding_for_model(model)
232
+ num_tokens = len(encoding.encode(prompt))
233
+ return num_tokens
234
+
235
+
236
+ def get_prompt_cost(model: str, num_tokens: int) -> float:
237
+ # good enough for quick evals
238
+ if model not in pricing_dict:
239
+ return num_tokens * 0.001 * pricing_dict["gpt-4"]
240
+ return num_tokens * 0.001 * pricing_dict[model]
241
+
242
+
243
+ def get_response_cost(model: str, num_tokens: int) -> float:
244
+ # good enough for quick evals
245
+ if model not in pricing_dict:
246
+ return num_tokens * 0.001 * pricing_dict["gpt-4"]
247
+
248
+ cost = num_tokens * 0.001 * pricing_dict[model]
249
+
250
+ if model == "gpt-4":
251
+ cost *= 2
252
+
253
+ return cost
254
+
255
+
256
+ def record_messages(messages: list[dict], model: str):
257
+ # create the conversation in a human-readable format
258
+ conversation_text = ""
259
+ for message in messages:
260
+ conversation_text += message["content"]
261
+
262
+ # write the conversation to the next available text file
263
+ with open(f"gpt_outputs/transcript.txt", "w") as f:
264
+ f.write(model + "\n\n")
265
+ f.write(conversation_text)
chess-gpt-eval-contrastive/lc0.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:31520ad0cb827890e445ff924e974819284150a4106a7df5c6ff28b8029555b0
3
+ size 1337758181
chess-gpt-eval-contrastive/lc0/build/release/.gitignore ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ # This file is autogenerated by Meson. If you change or delete it, it won't be recreated.
2
+ *
chess-gpt-eval-contrastive/lc0/build/release/.hgignore ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ # This file is autogenerated by Meson. If you change or delete it, it won't be recreated.
2
+ syntax: glob
3
+ **/*
chess-gpt-eval-contrastive/lc0/build/release/.ninja_deps ADDED
Binary file (251 kB). View file
 
chess-gpt-eval-contrastive/lc0/build/release/.ninja_log ADDED
@@ -0,0 +1,165 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # ninja log v5
2
+ 43 3010 1708374595173480000 lc0.p/src_lc0ctl_leela2onnx.cc.o 5b6753042ee0b17f
3
+ 8154 10706 1708374602869394400 liblc0_lib.so.p/src_neural_network_trivial.cc.o 5dd3e0284aaf368
4
+ 10017 10572 1708374602736488000 liblc0_lib.so.p/src_version.cc.o 666d98cf1fde3d40
5
+ 4975 7571 1708374599734290600 liblc0_lib.so.p/src_benchmark_backendbench.cc.o cd4051b93a986d8d
6
+ 42 3246 1708374595409396600 lc0.p/src_main.cc.o 3e36effcb2e7a018
7
+ 45 2813 1708374594976621200 lc0.p/src_mcts_stoppers_stoppers.cc.o b72d76311c272abc
8
+ 44 2791 1708374594949712500 lc0.p/src_mcts_stoppers_legacy.cc.o a0e1457009955974
9
+ 3215 5051 1708374597214406500 lc0.p/src_utils_configfile.cc.o d71f7bf6f56d8d26
10
+ 4942 5176 1708374597340079500 lc0.p/src_neural_shared_winograd_filter.cc.o a47143ac9da88d48
11
+ 21 1950 1708376213982495700 liblc0_lib.so.p/src_neural_opencl_network_opencl.cc.o e1b7352541d6eee2
12
+ 10 39 1708374592202014800 lc0.p/neural/onnx/onnx.pb.h 2d9876d98a836477
13
+ 3656 5370 1708374597534061800 lc0.p/src_utils_optionsdict.cc.o 60e5a4e4b002dc0d
14
+ 43 2370 1708374594532904400 lc0.p/src_chess_uciloop.cc.o 60ef973639dd48f4
15
+ 7819 9202 1708374601365362100 liblc0_lib.so.p/src_neural_network_legacy.cc.o 46a36e150fb1940d
16
+ 11 42 1708374592205172600 encoder_test.p/proto/net.pb.h a8b1f637bb370875
17
+ 1617 3212 1708374595374921600 lc0.p/src_neural_loader.cc.o 2f49c4d23520037b
18
+ 43 2038 1708374594201902200 lc0.p/src_chess_board.cc.o a21a89f8e697516f
19
+ 45 2501 1708374594659167900 lc0.p/src_neural_cache.cc.o b069b3eafc3a29b0
20
+ 3126 4580 1708374596743342500 lc0.p/src_utils_commandline.cc.o c87b834ef6f3f78e
21
+ 11 46 1708374592205146600 liblc0_lib.so.p/proto/net.pb.h a24f1336a4e2d4ce
22
+ 44 2798 1708374594961498200 lc0.p/src_mcts_stoppers_alphazero.cc.o f4a754a1b4420c77
23
+ 32 1581 1708376292881046600 encoder_test 88a7cfaf91862648
24
+ 2798 5251 1708374597413724900 lc0.p/src_neural_onnx_builder.cc.o 77a58144c349be78
25
+ 5177 6165 1708374598328902900 liblc0_lib.so.p/src_chess_position.cc.o 46adf878b551ce8b
26
+ 5323 8154 1708374600316883000 liblc0_lib.so.p/src_lc0ctl_leela2onnx.cc.o f53f3cc19ad78f23
27
+ 8280 10965 1708374603128021000 liblc0_lib.so.p/src_neural_onnx_builder.cc.o a3589679bab6b92
28
+ 16232 16384 1708376228415463100 hashcat_test 8e382d2a0e9c14a7
29
+ 5033 8113 1708374600276088600 liblc0_lib.so.p/src_benchmark_benchmark.cc.o ce785f983d1ee2f2
30
+ 2336 3655 1708374595818215200 lc0.p/src_neural_network_legacy.cc.o fc0ce6a1d71492fe
31
+ 8321 11403 1708374603566541300 liblc0_lib.so.p/src_selfplay_loop.cc.o 5be357cb6c263aec
32
+ 3011 5433 1708374597596852800 lc0.p/src_trainingdata_reader.cc.o 42f5a01cf767c108
33
+ 4027 5326 1708374597490194200 lc0.p/src_utils_weights_adapter.cc.o 8d0f887e2b159026
34
+ 8329 10708 1708374602871584700 liblc0_lib.so.p/src_syzygy_syzygy.cc.o 21fee9c052dd17f3
35
+ 2038 3614 1708374595777784400 lc0.p/src_neural_network_demux.cc.o 9809104c186d2365
36
+ 7757 9648 1708374601811246200 liblc0_lib.so.p/src_neural_network_demux.cc.o 4e3a93e273837009
37
+ 4963 6298 1708374598462351200 liblc0_lib.so.p/src_utils_protomessage.cc.o bc7ff94fe7e54f99
38
+ 8270 10905 1708374603067995100 liblc0_lib.so.p/src_neural_onnx_adapters.cc.o 516e5a1a73b03db2
39
+ 22 1013 1708376213045033700 syzygy_test.p/src_syzygy_syzygy_test.cc.o 346fa50e474fe5e8
40
+ 42 1613 1708374593776562200 lc0.p/src_chess_bitboard.cc.o bd6efe4f1ff60799
41
+ 8113 10355 1708374602518648800 liblc0_lib.so.p/src_neural_network_rr.cc.o bb38e46fcd109e81
42
+ 1226 3275 1708374595438378600 lc0.p/src_neural_factory.cc.o 8897e5473ae9d763
43
+ 3724 5577 1708374597740245000 lc0.p/src_utils_optionsparser.cc.o 56abce2d3e71bcbe
44
+ 44 2991 1708374595154096400 lc0.p/src_mcts_params.cc.o 37ca763aadc07d8e
45
+ 2887 5969 1708374598132569300 lc0.p/src_selfplay_game.cc.o 8962893fbabbb25b
46
+ 3250 3285 1708374595448729100 lc0.p/src_utils_esc_codes.cc.o 7bae94b78c72816b
47
+ 22 1813 1708376213844673000 liblc0_lib.so.p/src_neural_opencl_OpenCLTuner.cc.o f0b9a4a6c8a2a90e
48
+ 42 3056 1708374595219001300 lc0.p/src_benchmark_backendbench.cc.o fe003b76f06b35f7
49
+ 10075 12363 1708374604527329100 liblc0_lib.so.p/src_neural_blas_convolution1.cc.o 63e5425426ebf126
50
+ 43 3761 1708374595923933000 lc0.p/src_lc0ctl_onnx2leela.cc.o 2c213f38bdef6e78
51
+ 8677 10095 1708374602258987900 liblc0_lib.so.p/src_utils_numa.cc.o 95dbde476e14f67e
52
+ 6382 8270 1708374600433238000 liblc0_lib.so.p/src_neural_decoder.cc.o cd5a850bbaebcb25
53
+ 22 1276 1708376213307865800 optionsparser_test.p/src_utils_optionsparser_test.cc.o 7dd91537877265a5
54
+ 5337 7819 1708374599982621800 liblc0_lib.so.p/src_mcts_node.cc.o bf9937fb665a574e
55
+ 2789 4810 1708374596973579100 lc0.p/src_neural_network_rr.cc.o 9810004359c369ca
56
+ 9277 10528 1708374602692061000 liblc0_lib.so.p/src_utils_random.cc.o 223a801bbeccbfa7
57
+ 16231 17009 1708376229040205100 chessboard_test 546470ca20eb8388
58
+ 44 4204 1708374596366820600 lc0.p/src_mcts_search.cc.o 18f0b09ec22e4270
59
+ 46 2500 1708374594661080800 lc0.p/src_neural_encoder.cc.o b104615a5e78a2a
60
+ 21 1504 1708376213535699500 lc0.p/src_neural_opencl_OpenCLBuffers.cc.o 9d96d059c35b6db7
61
+ 44 3125 1708374595288206800 lc0.p/src_mcts_stoppers_common.cc.o 635e453adfa7064a
62
+ 4119 4818 1708374596981944600 lc0.p/src_version.cc.o ba5082a20986fafc
63
+ 6185 8321 1708374600483867300 liblc0_lib.so.p/src_mcts_stoppers_timemgr.cc.o 51f5650349131376
64
+ 5306 7970 1708374600133373700 liblc0_lib.so.p/src_lc0ctl_describenet.cc.o 1afa7908b4661427
65
+ 22 893 1708376212925111700 hashcat_test.p/src_utils_hashcat_test.cc.o 4b305da8dfaad76c
66
+ 2814 6183 1708374598346404100 lc0.p/src_neural_onnx_converter.cc.o 876e9b7e318770f2
67
+ 16120 16231 1708376228250666900 liblc0_lib.so.p/liblc0_lib.so.symbols d7a0cfce93408adc
68
+ 6299 8281 1708374600444292900 liblc0_lib.so.p/src_neural_cache.cc.o 3e86914f76af155f
69
+ 8531 10118 1708374602281833200 liblc0_lib.so.p/src_utils_histogram.cc.o 86a842f15d21a133
70
+ 4380 7752 1708374599915525000 lc0.p/src_neural_blas_convolution1.cc.o e9392e6a79e24a48
71
+ 22 1178 1708376213209485900 chessboard_test.p/src_chess_board_test.cc.o d0859c4c15a1fff3
72
+ 11 39 1708374592202799500 liblc0_lib.so.p/neural/onnx/onnx.pb.h ccdbedaf02741496
73
+ 1826 3823 1708374595986431500 lc0.p/src_neural_network_check.cc.o 229c0b62593e28ce
74
+ 5479 7979 1708374600142689000 liblc0_lib.so.p/src_mcts_stoppers_alphazero.cc.o 31379f0d0def282d
75
+ 6419 8384 1708374600547895300 liblc0_lib.so.p/src_neural_encoder.cc.o 26f013ef407ec3a1
76
+ 22 1548 1708376213579990000 liblc0_lib.so.p/src_neural_opencl_OpenCLBuffers.cc.o 81c1e4bab2ff2fa6
77
+ 8323 12051 1708374604214547300 liblc0_lib.so.p/src_selfplay_tournament.cc.o 13a4ae3bc37ebec0
78
+ 5371 8068 1708374600231252700 liblc0_lib.so.p/src_mcts_params.cc.o a02e23dac3d94a5d
79
+ 7158 8502 1708374600664750800 liblc0_lib.so.p/src_neural_loader.cc.o 10f0de795f6f7d71
80
+ 5578 8300 1708374600463451900 liblc0_lib.so.p/src_mcts_stoppers_factory.cc.o 41d318422910ae16
81
+ 6166 8346 1708374600509228100 liblc0_lib.so.p/src_mcts_stoppers_stoppers.cc.o 4ba254940e188ee0
82
+ 4580 8327 1708374600491096200 lc0.p/src_neural_blas_fully_connected_layer.cc.o ae164be9bae8f28c
83
+ 2795 5336 1708374597498935100 lc0.p/src_neural_onnx_adapters.cc.o 617bf28e20ad55e
84
+ 5970 8322 1708374600485477900 liblc0_lib.so.p/src_mcts_stoppers_simple.cc.o 14f8128f5dc8d530
85
+ 8409 9849 1708374602012261600 liblc0_lib.so.p/src_utils_commandline.cc.o 62e0fff972983583
86
+ 7971 10075 1708374602237189400 liblc0_lib.so.p/src_neural_network_mux.cc.o f53594e36ab46450
87
+ 4725 9638 1708374601801215200 lc0.p/src_neural_blas_network_blas.cc.o e473c82c316f94f4
88
+ 4811 8510 1708374600673970300 lc0.p/src_neural_blas_winograd_convolution3.cc.o 3776f8bde84b01d2
89
+ 5327 8677 1708374600839374000 liblc0_lib.so.p/src_lc0ctl_onnx2leela.cc.o 4d0c64beb85a3737
90
+ 7571 9276 1708374601439001900 liblc0_lib.so.p/src_neural_network_check.cc.o 3d8750e434cd035b
91
+ 8339 10825 1708374602988351500 liblc0_lib.so.p/src_trainingdata_reader.cc.o 899249f821036d4d
92
+ 5098 6602 1708374598765492500 liblc0_lib.so.p/src_chess_board.cc.o c9ff71e3205288cd
93
+ 5251 8505 1708374600665741600 liblc0_lib.so.p/src_engine.cc.o d11426729209f23
94
+ 5051 6382 1708374598545453900 liblc0_lib.so.p/src_chess_bitboard.cc.o 7a4b6eb17dc4dccc
95
+ 5882 8280 1708374600443196300 liblc0_lib.so.p/src_mcts_stoppers_legacy.cc.o f41fd83cd9858405
96
+ 45 2794 1708374594957245100 lc0.p/src_mcts_stoppers_simple.cc.o f5a3e4f7b375b340
97
+ 2992 6418 1708374598581339100 lc0.p/src_selfplay_tournament.cc.o c3baf117f98c3fbd
98
+ 2792 4974 1708374597137649400 lc0.p/src_neural_network_trivial.cc.o 32dce97c6e337547
99
+ 3057 5491 1708374597654264600 lc0.p/src_trainingdata_trainingdata.cc.o ed07a85166f1b8
100
+ 43 1201 1708374593364736500 lc0.p/src_chess_position.cc.o 7063685c8491ec6e
101
+ 9849 10943 1708374603106985900 liblc0_lib.so.p/src_utils_weights_adapter.cc.o ec86e4dae3f28ff7
102
+ 5492 8338 1708374600501098700 liblc0_lib.so.p/src_mcts_stoppers_common.cc.o 8b2f4201523155c7
103
+ 0 681 1708376555819349700 build.ninja a7e3d5cb459700c4
104
+ 16232 16609 1708376228640594800 syzygy_test 465a0f545e4e3178
105
+ 44 3090 1708374595253457600 lc0.p/src_mcts_stoppers_factory.cc.o b02dd81e552317b8
106
+ 21 1929 1708376213961181800 lc0.p/src_neural_opencl_network_opencl.cc.o 4f6487d985e3fe7d
107
+ 22 1639 1708376213670950900 liblc0_lib.so.p/src_neural_opencl_OpenCL.cc.o 3eb21f9f0709c310
108
+ 6602 8530 1708374600693107000 liblc0_lib.so.p/src_neural_factory.cc.o bda0b0aa3700f298
109
+ 8346 10876 1708374603039918100 liblc0_lib.so.p/src_trainingdata_trainingdata.cc.o da763107b35b68e4
110
+ 21 1754 1708376213785951500 lc0.p/src_neural_opencl_OpenCLTuner.cc.o 546a754670684ad4
111
+ 5184 7157 1708374599321100300 liblc0_lib.so.p/src_chess_uciloop.cc.o 103d4a1cee9ed8ae
112
+ 8991 10773 1708374602936585600 liblc0_lib.so.p/src_utils_optionsdict.cc.o 363ab70f421f713d
113
+ 9649 10652 1708374602816248400 liblc0_lib.so.p/src_utils_string.cc.o f17b7c9892813e30
114
+ 22 971 1708376213003328900 position_test.p/src_chess_position_test.cc.o fb2bf9ac96e451f6
115
+ 10096 12448 1708374604612145700 liblc0_lib.so.p/src_neural_blas_fully_connected_layer.cc.o 3c6ac743410550bb
116
+ 10398 10632 1708374602796307300 liblc0_lib.so.p/src_neural_shared_winograd_filter.cc.o cc5138a5cd28c805
117
+ 2370 4026 1708374596189861600 lc0.p/src_neural_network_mux.cc.o f537d3f0cd3a8300
118
+ 2501 4118 1708374596281641000 lc0.p/src_neural_network_record.cc.o 965449ce05af079
119
+ 8511 10048 1708374602212174200 liblc0_lib.so.p/src_utils_files.cc.o fe4f51ddee3195aa
120
+ 44 2887 1708374595049619000 lc0.p/src_mcts_node.cc.o 298a558007d776f9
121
+ 10118 10567 1708374602731208400 liblc0_lib.so.p/src_neural_blas_se_unit.cc.o cf1fe57809356df8
122
+ 8385 10940 1708374603103186900 liblc0_lib.so.p/src_trainingdata_writer.cc.o e0605afee16783a6
123
+ 4205 5322 1708374597485790900 lc0.p/src_utils_filesystem.posix.cc.o 487a2063e2558ae7
124
+ 2500 4379 1708374596542573600 lc0.p/src_neural_network_random.cc.o 13e8d4ae27333705
125
+ 10360 11538 1708374603702023800 liblc0_lib.so.p/src_neural_shared_activation.cc.o 9086e555d4667657
126
+ 5434 8990 1708374601152670800 liblc0_lib.so.p/src_mcts_search.cc.o 3a46aa265a7a009b
127
+ 9203 10964 1708374603127339100 liblc0_lib.so.p/src_utils_optionsparser.cc.o d616e781124311d
128
+ 43 3007 1708374595170163100 lc0.p/src_lc0ctl_describenet.cc.o 2a7268b345d0fe68
129
+ 8068 10398 1708374602561225500 liblc0_lib.so.p/src_neural_network_record.cc.o ab007e6b5fb55873
130
+ 23 668 1708376212700259800 encoder_test.p/src_utils_protomessage.cc.o 8f0ce4ad42870395
131
+ 6077 8408 1708374600571913700 liblc0_lib.so.p/src_mcts_stoppers_smooth.cc.o 71d684c7aa1dfd36
132
+ 42 3583 1708374595745730700 lc0.p/src_benchmark_benchmark.cc.o 3fd2212b364d3b4e
133
+ 8300 11699 1708374603863143400 liblc0_lib.so.p/src_selfplay_game.cc.o c51d6fdd11040120
134
+ 45 2898 1708374595061672300 lc0.p/src_mcts_stoppers_smooth.cc.o 606d713786f48d79
135
+ 43 3723 1708374595886121500 lc0.p/src_engine.cc.o 3e0b5a82d25ee8e2
136
+ 8503 10360 1708374602523430100 liblc0_lib.so.p/src_utils_configfile.cc.o 6c472a6d3f07ab52
137
+ 3008 5303 1708374597466509500 lc0.p/src_syzygy_syzygy.cc.o 62acd2f139be6096
138
+ 8283 11698 1708374603861107900 liblc0_lib.so.p/src_neural_onnx_converter.cc.o 839df051b89e2d4d
139
+ 3286 4725 1708374596888769800 lc0.p/src_utils_histogram.cc.o 4e398669ea98f8c3
140
+ 42 1825 1708374593988927900 lc0.p/src_utils_protomessage.cc.o d0845c2be0396f60
141
+ 8536 10016 1708374602179628800 liblc0_lib.so.p/src_utils_logging.cc.o aa3bfafe6c6478dc
142
+ 7979 10285 1708374602448247800 liblc0_lib.so.p/src_neural_network_random.cc.o 754fabfe3b1a8383
143
+ 1929 16021 1708376228047731800 lc0 69597d3b7974f995
144
+ 4662 5097 1708374597260717600 lc0.p/src_neural_blas_se_unit.cc.o 267d515752cf8994
145
+ 10049 11067 1708374603231158200 liblc0_lib.so.p/src_utils_filesystem.posix.cc.o 1c322a359c3dcd4
146
+ 3771 5183 1708374597347027500 lc0.p/src_utils_random.cc.o a6149d95f93be6e5
147
+ 10285 13638 1708374605801996300 liblc0_lib.so.p/src_neural_blas_network_blas.cc.o 5b677ad5a7692103
148
+ 45 2785 1708374594948709100 lc0.p/src_mcts_stoppers_timemgr.cc.o 1f049145a166d86e
149
+ 16232 16796 1708376228827305900 optionsparser_test cef40bbf39534871
150
+ 10356 12509 1708374604673297800 liblc0_lib.so.p/src_neural_blas_winograd_convolution3.cc.o ce321edce91f1bf6
151
+ 1950 16120 1708376228146984400 liblc0_lib.so 3f532a1497ad3dee
152
+ 3584 4962 1708374597126259600 lc0.p/src_utils_logging.cc.o ee1588234d8efe8b
153
+ 21 1695 1708376213727160200 lc0.p/src_neural_opencl_OpenCL.cc.o 2241a2b01fc951d3
154
+ 8505 8535 1708374600699444900 liblc0_lib.so.p/src_utils_esc_codes.cc.o 22b6db43fde94d1e
155
+ 16232 16551 1708376228581739400 position_test b65a612a3bccd794
156
+ 4818 6077 1708374598240532000 lc0.p/src_neural_shared_activation.cc.o 4b9d181fdf3c2d1c
157
+ 3825 5032 1708374597196349700 lc0.p/src_utils_string.cc.o 7bb534d4fdbefd26
158
+ 3276 4661 1708374596824927100 lc0.p/src_utils_files.cc.o c8ba733d1b8b7f4c
159
+ 23 1450 1708376213481535400 encoder_test.p/src_neural_encoder_test.cc.o 81fba3908eed29cc
160
+ 3092 5478 1708374597641491100 lc0.p/src_trainingdata_writer.cc.o 8f7a67e751bd6d56
161
+ 2899 5881 1708374598044262000 lc0.p/src_selfplay_loop.cc.o 66c3e230588a6456
162
+ 10 42 1708374592205058600 lc0.p/proto/net.pb.h 17b8090dbd620092
163
+ 45 2336 1708374594499234400 lc0.p/src_neural_decoder.cc.o 724b6c5c93ffb79b
164
+ 3615 4941 1708374597105010700 lc0.p/src_utils_numa.cc.o a672e9c6d0efbfd5
165
+ 3 903 1708376555819349700 build.ninja a7e3d5cb459700c4
chess-gpt-eval-contrastive/lc0/build/release/00af53b081e80147172e6f281c01daf5ca19ada173321438914c730370aa4267 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:12df03a12919e6392f3efbe6f461fc0ff5451b4105f755503da151adc7ab6d67
3
+ size 55505383
chess-gpt-eval-contrastive/lc0/build/release/07d19b24347b043902bfdbabe7c8f797bdc86291c6cece34dab371d3edc70b15 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f6975ab4954e2ab94fd794c4d284a194fcef44004cc04f75570fb4d02357590
3
+ size 38122972
chess-gpt-eval-contrastive/lc0/build/release/11258-104x9-se.pb.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:52f7fb97d4cea275fd686898d299c7541cf4277a8e5d6ad44f0429b932dd0b34
3
+ size 9762813
chess-gpt-eval-contrastive/lc0/build/release/11258-32x4-se.pb.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c9edd46b23ce58f208f4f439aebfb52d54d7a0fe9a0176e63144075006f68e95
3
+ size 6838176
chess-gpt-eval-contrastive/lc0/build/release/11258-48x5-se.pb.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:19d94cb3ad2d4c71480d49fbf95dea1c2581a29124dfd39ce419939c49da5bc9
3
+ size 6998518
chess-gpt-eval-contrastive/lc0/build/release/11258-64x6-se.pb.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e70b8f4b290305fe58548179c11f66896aa7f4eba5b84789b1b045778b3e1528
3
+ size 7441114
chess-gpt-eval-contrastive/lc0/build/release/11258-80x7-se.pb.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c458900aac9a17872c758e0554a6983377cc4faa6734bb88e2197bef611498b0
3
+ size 8115162
chess-gpt-eval-contrastive/lc0/build/release/11258-96x8-se-5.pb.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4f0a630e1f9792b6281220fc24406bb3b8ea58dfba3263bc3ddfbebd179bde8
3
+ size 9087403
chess-gpt-eval-contrastive/lc0/build/release/2cf51925ee86c4d428b75e491bf4d94bff9b10b6024eff162b7e2b52d546d3dc ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e793b9ae3d08aaa05625c5315759d261dcf1da13186ebd9e88e51f07b2afbff3
3
+ size 39536162
chess-gpt-eval-contrastive/lc0/build/release/32930-112x9-se.pb.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e2e173feae6167a7f49d3ddc5051094f317902c598cf8c81274b9bc06261228d
3
+ size 10192383
chess-gpt-eval-contrastive/lc0/build/release/425e60023c6bc7560e98738444dd4689ab81898450c48150f405f58f74076213 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:71545a5ac6b24b4e512bf60fa9f5f02c3fe1d7eff6ed03f88dcd8dbb80140b58
3
+ size 37992643
chess-gpt-eval-contrastive/lc0/build/release/768x15x24h-t82-swa-7464000.pb.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:98c8e077647092b7645c683bc60ca0c888b4904d9981a63a70ac47b0c4501b88
3
+ size 170339855
chess-gpt-eval-contrastive/lc0/build/release/7ca2381cfeac5c280f304e7027ffbea1b7d87474672e5d6fb16d5cd881640e04 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ce7440198a9f9b4e95b22a4dfbd604d4426ebd4231b852e6c1e668ce5765765
3
+ size 137147847
chess-gpt-eval-contrastive/lc0/build/release/TK-6430 aka 128x10-BPR-64M-6430000.pb.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb3ea19660da0a0c95a73794c3c7a2330bab456f3e38f605d1c1488c750a2d56
3
+ size 6389033
chess-gpt-eval-contrastive/lc0/build/release/b2ec465d0fb5b5eb39d2e1e3f74041a5d2fc92d413b71aa7ea0b6fb082ccba9c ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:533775dc70985b6bf20aeb023cfd7ead3a7330db1d4317655f8691c147c14749
3
+ size 55485993
chess-gpt-eval-contrastive/lc0/build/release/build.ninja ADDED
The diff for this file is too large to render. See raw diff
 
chess-gpt-eval-contrastive/lc0/build/release/build_id.h ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Autogenerated by the Meson build system.
3
+ * Do not edit, your changes will be lost.
4
+ */
5
+
6
+ #pragma once
7
+
8
+ #define BUILD_IDENTIFIER "git.7de98a1"
9
+
chess-gpt-eval-contrastive/lc0/build/release/cb4dcd82a72472daefaca85b7580ef73a7a4eda58e0d1de22e342d4d5874ff07 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb37427fce6eda15cfa12b7297b71217c81791fd1437ceaba7ee0130b779c2e4
3
+ size 39465600
chess-gpt-eval-contrastive/lc0/build/release/cbd8f9e3ec3fe2fd3047846804a455a3af27d0ae568691f0d7a7c0caecfa71bd ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b8a8a4754e75c8cd196283d5cf045ce6b007c518259b48367c64aaf7f33a7014
3
+ size 37966889
chess-gpt-eval-contrastive/lc0/build/release/chessboard_test ADDED
Binary file (625 kB). View file
 
chess-gpt-eval-contrastive/lc0/build/release/chessboard_test.p/src_chess_board_test.cc.o ADDED
Binary file (561 kB). View file
 
chess-gpt-eval-contrastive/lc0/build/release/compile_commands.json ADDED
The diff for this file is too large to render. See raw diff
 
chess-gpt-eval-contrastive/lc0/build/release/d0ed346c32fbcc9eb2f0bc7e957d188c8ae428ee3ef7291fd5aa045fc6ef4ded ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ef715ed8a5841befb4a96e929045551f3ccd0dd14a994b6148a072f7627849d0
3
+ size 312765916
chess-gpt-eval-contrastive/lc0/build/release/encoder_test ADDED
Binary file (764 kB). View file
 
chess-gpt-eval-contrastive/lc0/build/release/encoder_test.p/proto/net.pb.h ADDED
The diff for this file is too large to render. See raw diff
 
chess-gpt-eval-contrastive/lc0/build/release/encoder_test.p/src_neural_encoder_test.cc.o ADDED
Binary file (884 kB). View file
 
chess-gpt-eval-contrastive/lc0/build/release/encoder_test.p/src_utils_protomessage.cc.o ADDED
Binary file (99 kB). View file
 
chess-gpt-eval-contrastive/lc0/build/release/f0d399df849e2f46fed4e1a12ab79d936715ae38cd516df2db88580d14e265b5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c2c923e16f9fc0591c924d798305afa1c91b69ea428b2f9c82ac7c2b0714198a
3
+ size 38673641
chess-gpt-eval-contrastive/lc0/build/release/hashcat_test ADDED
Binary file (485 kB). View file
 
chess-gpt-eval-contrastive/lc0/build/release/hashcat_test.p/src_utils_hashcat_test.cc.o ADDED
Binary file (114 kB). View file