Not logged inCSS-Forum
Forum CSS-Online Help Search Login
CSS-Shop Impressum Datenschutz
Up Topic Hauptforen / Schachprogrammierung / Chess Tuning Tools
- By Lothar Jung Date 2021-09-15 16:03 Edited 2021-09-15 16:09 Upvotes 1
Hier auf GitHub:

https://chess-tuning-tools.readthedocs.io/en/latest/index.html

Dort wird Installation und Handhabung erklärt:

In order to be able to start the tuning, first create a python environment and install chess-tuning-tools by typing:

pip install chess-tuning-tools
Furthermore, you need to have cutechess-cli in the path. The tuner will use it to run matches.

To execute the local tuner, simply run:

tune local -c tuning_config.json
Take a look at the usage instructions and the example configurations to learn how to set up the tuning_config.json file.

Hier ein einfaches Anwendungsbeispiel:

   {
       "engines": [
           {
               "command": "engine1",
               "fixed_parameters": {
                   "Threads": 2
               }
           },
           {
               "command": "engine2",
               "fixed_parameters": {
                   "Threads": 4
               }
           }
       ],
       "parameter_ranges": {
           "CPuct": "Real(0.0, 10.0)"
       },
       "engine1_tc": "1+0.1",
       "engine2_tc": "1+0.1",
       "rounds": 20,
       "opening_file": "openings.pgn"
   }
- By Lothar Jung Date 2022-01-13 18:21 Upvotes 1
Für Lc0 erfolgt das zz-Tuning durch die Chess-Tuning-Tools von kiudee.

Hier die Links dazu:

https://github.com/kiudee/chess-tuning-tools/releases

https://chess-tuning-tools.readthedocs.io/en/latest/

Die Ergebnisse werden auf Discord auf dem Unterbereich „tune-results“ veröffentlicht:

https://discord.com/channels/425419482568196106/766262364949315614/911901584894615582

Folgende Parameter sind derzeit insbesondere davon betroffen:

                        tuned  default
CPuct                1.473    1.745
CPuctFactor       3.973    3.894
CPuctBase         45669   38739
FpuValue           0.279    0.330
              tuned (≈60Knodes)  tuned (≈10Knodes)   default
PolicyTemperature       1.295             1.206            1.359
- By Lothar Jung Date 2022-01-13 18:24 Upvotes 1
Hier ein ausführlicher Wikipedia Artikel zum „Automated Tuning“:

https://www.chessprogramming.org/Automated_Tuning
- By Lothar Jung Date 2022-01-13 20:16 Upvotes 1
Hier das Stockfish Tuning Kit:

https://rebel13.nl/download/stk.html
- By Lothar Jung Date 2022-01-13 20:19 Upvotes 1
Hier die Stockfish Tuning Method:

https://www.chessprogramming.org/Stockfish%27s_Tuning_Method
- - By Lothar Jung Date 2022-01-13 20:22 Upvotes 1
Hier die Homepage der umfangreichen „Stockfish Testing Queue“:

https://tests.stockfishchess.org/tests
Parent - By Lothar Jung Date 2022-01-26 20:24 Upvotes 1
- By Lothar Jung Date 2022-06-04 09:54 Upvotes 1
Hier eine wissenschaftliche Veröffentlichung zu „ Bayesian statistics approach to chess engines optimization“:

https://arxiv.org/pdf/2205.15602.pdf
- By Lothar Jung Date 2023-02-04 10:23
Is "clippy" still concidered reliable ?
For games with ave. 1 sec/move to 15 secs/move should I use mbs=30 even though the nps is significantly slower ?```
{Lc0 --help}  --minibatch-size=1..1024
How many positions the engine tries to batch together for parallel NN
computation. Larger batches may reduce strength a bit, especially with a small
number of playouts.
[UCI: MinibatchSize  DEFAULT: 256  MIN: 1  MAX: 1024]

backendbench --clippy
/  \
|  |    __________________________________________
+  +   |                                          |
(@)(@) _| Recommended minibatch-size for this net: |
|  |  \        1s/move   (Bullet):       30       |
|| |/  |       15s/move  (Rapid):        30       |
|| ||  |       3min/move (Tournament):  226       |
|\_/|  |__________________________________________|
\___/

benchmark {1x RTX 3080 10GB , BT2 net}
===1sec===mbs30===========   ===5sec===mbs30===========
Total time (ms) : 34268      Total time (ms) : 170263
Nodes searched  : 203880     Nodes searched  : 1178770
Nodes/second    : 5949       Nodes/second    : 6923

===1sec===mbs226==========   ===5sec===mbs226==========
Total time (ms) : 35725      Total time (ms) : 171735
Nodes searched  : 254847     Nodes searched  : 1466203
Nodes/second    : 7133       Nodes/second    : 8538```
Up Topic Hauptforen / Schachprogrammierung / Chess Tuning Tools

Powered by mwForum 2.29.3 © 1999-2014 Markus Wichitill