-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mixture of Experts MCTS (MoE MCTS) #216
Merged
QueensGambit
merged 57 commits into
QueensGambit:master
from
HelpstoneX:pull_request_preparation
May 3, 2024
Merged
Mixture of Experts MCTS (MoE MCTS) #216
QueensGambit
merged 57 commits into
QueensGambit:master
from
HelpstoneX:pull_request_preparation
May 3, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- adjusted initial Dockerfile - minor changes to convert_pgn_to_planes.ipynb and pgn_to_planes_converter.py
…yAra into dataset_creation
… have been used - added counter for games without positions for current phase
# Conflicts: # engine/src/rl/Dockerfile
- added analyse_game_phases.py to analyse game phase distribution and other information - minor changes
… phase - board->get_phase now expects the total amount of phases as an argument - phaseCountMap is now immediately filled
- added sample weighting to losses pytorch training files - load_pgn_dataset() now returns a dict - added file for easily generating normalized cutechess-cli commands
- added file to generate plots based on cutechess results
…ss through the trainer agent - you can now pass a phase to load_pgn_dataset to load a non default dataset
- added printing total positions in dataset when loading
…etting networkLoaded back to false
- adjusted cutechess run file to support 960 matches
… assumes phases by movecount) - set default value for UCI_Chess960 back to false - minor fixes
- added colorblind palette
…against stockfish
…movecount" and corresponding searchsettings enum GamePhaseDefinition
…es back to initial state of fork
I'd love to read that thesis! Do you have any available benchmarks on how the moe version performs vs the traditional arch? |
@Belzedar94 A preprint of the work is available on arXiV: |
Fix compile error
Fix error: control reaches end of non-void function
QueensGambit
added a commit
that referenced
this pull request
May 6, 2024
Merged
QueensGambit
added a commit
that referenced
this pull request
Oct 6, 2024
- return 0 if no phases is enabled Set Game_Phase_Definition default to "lichess"
QueensGambit
added a commit
that referenced
this pull request
Oct 6, 2024
Only use phase selection for nets.size() > 1
QueensGambit
added a commit
that referenced
this pull request
Oct 6, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR allows the training and loading of multiple expert models for MCTS.
The expert models are based on game phases (opening, middle game, endgame) according to the Lichess phase definition.
The code was written during the course of a master thesis by @HelpstoneX .