├── .devcontainer ├── Dockerfile ├── build.sh ├── devcontainer.json ├── nginx.conf ├── noop.txt ├── readme.html └── start.sh ├── .env ├── .github └── dependabot.yml ├── .gitignore ├── .pre-commit-config.yaml ├── .vscode └── launch.json ├── LICENSE ├── Makefile ├── README.md ├── analysis ├── advantage │ ├── 0_generate_move_distributions.py │ ├── 0_run_parallel.py │ ├── 1_calculate_advantages.py │ ├── 2_calculate_statistics.py │ ├── 3_visualize_statistics.ipynb │ ├── 4_visualize_advantage_boards.ipynb │ └── merge.ipynb └── dataset │ ├── action_distribution_analyze.ipynb │ ├── action_distribution_gen.py │ ├── entropy_of_action_distribution_over_common_states.png │ ├── entropy_of_state_visitation_distribution_over_moves.png │ ├── max_frequency_of_state_over_moves.png │ ├── plot_dataset.py │ └── state_cardinality_over_moves.png ├── chess_research ├── .env.example ├── __init__.py ├── data │ └── zstd_process.py ├── eval │ ├── data_structures.py │ ├── evaluation.py │ ├── glicko2.py │ ├── player.py │ └── utils.py ├── globals.py ├── model.py └── train.py ├── config ├── 302M_1000.json ├── 50M_1000.json └── 707M_1000.json ├── figures ├── adv-gain-dist-flat.png ├── advantage-analysis.png ├── entropy_of_action_distribution_over_common_states.png ├── latent_board_state_game_len_tsne.png ├── latent_board_state_reward_tsne.png ├── latent_board_state_tsne_0_1.png └── rating_temp.png ├── poetry.lock ├── pyproject.toml ├── requirements.txt └── scripts └── train_big.py /.devcontainer/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/.devcontainer/Dockerfile -------------------------------------------------------------------------------- /.devcontainer/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/.devcontainer/build.sh -------------------------------------------------------------------------------- /.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/.devcontainer/devcontainer.json -------------------------------------------------------------------------------- /.devcontainer/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/.devcontainer/nginx.conf -------------------------------------------------------------------------------- /.devcontainer/noop.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/.devcontainer/noop.txt -------------------------------------------------------------------------------- /.devcontainer/readme.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/.devcontainer/readme.html -------------------------------------------------------------------------------- /.devcontainer/start.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/.devcontainer/start.sh -------------------------------------------------------------------------------- /.env: -------------------------------------------------------------------------------- 1 | DATA_ROOT="" 2 | DEBUG=False 3 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/README.md -------------------------------------------------------------------------------- /analysis/advantage/0_generate_move_distributions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/analysis/advantage/0_generate_move_distributions.py -------------------------------------------------------------------------------- /analysis/advantage/0_run_parallel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/analysis/advantage/0_run_parallel.py -------------------------------------------------------------------------------- /analysis/advantage/1_calculate_advantages.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/analysis/advantage/1_calculate_advantages.py -------------------------------------------------------------------------------- /analysis/advantage/2_calculate_statistics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/analysis/advantage/2_calculate_statistics.py -------------------------------------------------------------------------------- /analysis/advantage/3_visualize_statistics.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/analysis/advantage/3_visualize_statistics.ipynb -------------------------------------------------------------------------------- /analysis/advantage/4_visualize_advantage_boards.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/analysis/advantage/4_visualize_advantage_boards.ipynb -------------------------------------------------------------------------------- /analysis/advantage/merge.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/analysis/advantage/merge.ipynb -------------------------------------------------------------------------------- /analysis/dataset/action_distribution_analyze.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/analysis/dataset/action_distribution_analyze.ipynb -------------------------------------------------------------------------------- /analysis/dataset/action_distribution_gen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/analysis/dataset/action_distribution_gen.py -------------------------------------------------------------------------------- /analysis/dataset/entropy_of_action_distribution_over_common_states.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/analysis/dataset/entropy_of_action_distribution_over_common_states.png -------------------------------------------------------------------------------- /analysis/dataset/entropy_of_state_visitation_distribution_over_moves.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/analysis/dataset/entropy_of_state_visitation_distribution_over_moves.png -------------------------------------------------------------------------------- /analysis/dataset/max_frequency_of_state_over_moves.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/analysis/dataset/max_frequency_of_state_over_moves.png -------------------------------------------------------------------------------- /analysis/dataset/plot_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/analysis/dataset/plot_dataset.py -------------------------------------------------------------------------------- /analysis/dataset/state_cardinality_over_moves.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/analysis/dataset/state_cardinality_over_moves.png -------------------------------------------------------------------------------- /chess_research/.env.example: -------------------------------------------------------------------------------- 1 | DATA_ROOT="" 2 | DEBUG=False 3 | -------------------------------------------------------------------------------- /chess_research/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/chess_research/__init__.py -------------------------------------------------------------------------------- /chess_research/data/zstd_process.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/chess_research/data/zstd_process.py -------------------------------------------------------------------------------- /chess_research/eval/data_structures.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/chess_research/eval/data_structures.py -------------------------------------------------------------------------------- /chess_research/eval/evaluation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/chess_research/eval/evaluation.py -------------------------------------------------------------------------------- /chess_research/eval/glicko2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/chess_research/eval/glicko2.py -------------------------------------------------------------------------------- /chess_research/eval/player.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/chess_research/eval/player.py -------------------------------------------------------------------------------- /chess_research/eval/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/chess_research/eval/utils.py -------------------------------------------------------------------------------- /chess_research/globals.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/chess_research/globals.py -------------------------------------------------------------------------------- /chess_research/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/chess_research/model.py -------------------------------------------------------------------------------- /chess_research/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/chess_research/train.py -------------------------------------------------------------------------------- /config/302M_1000.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/config/302M_1000.json -------------------------------------------------------------------------------- /config/50M_1000.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/config/50M_1000.json -------------------------------------------------------------------------------- /config/707M_1000.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/config/707M_1000.json -------------------------------------------------------------------------------- /figures/adv-gain-dist-flat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/figures/adv-gain-dist-flat.png -------------------------------------------------------------------------------- /figures/advantage-analysis.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/figures/advantage-analysis.png -------------------------------------------------------------------------------- /figures/entropy_of_action_distribution_over_common_states.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/figures/entropy_of_action_distribution_over_common_states.png -------------------------------------------------------------------------------- /figures/latent_board_state_game_len_tsne.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/figures/latent_board_state_game_len_tsne.png -------------------------------------------------------------------------------- /figures/latent_board_state_reward_tsne.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/figures/latent_board_state_reward_tsne.png -------------------------------------------------------------------------------- /figures/latent_board_state_tsne_0_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/figures/latent_board_state_tsne_0_1.png -------------------------------------------------------------------------------- /figures/rating_temp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/figures/rating_temp.png -------------------------------------------------------------------------------- /poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/poetry.lock -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/pyproject.toml -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/requirements.txt -------------------------------------------------------------------------------- /scripts/train_big.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KempnerInstitute/chess-research/HEAD/scripts/train_big.py --------------------------------------------------------------------------------