Files
katrain-qt/katrain/config.json
T
2020-05-28 22:19:29 +02:00

142 lines
5.5 KiB
JSON

{
"engine": {
"katago": "",
"_hint_katago": "Path to your katago executable",
"model": "katrain/models/g170e-b15c192-s1672170752-d466197061.bin.gz",
"config": "katrain/KataGo/analysis_config.cfg",
"threads": 16,
"max_visits": 500,
"fast_visits": 50,
"max_time": 3.0,
"wide_root_noise": 0.0,
"_hint_wide_root_noise": "A higher value here (typically 0.05-0.1)\nmakes the analysis explore more moves\nat the cost of some strength.",
"_enable_ownership": true
},
"timer": {
"byo_length": 30,
"byo_periods": 5
},
"general": {
"sgf_load": "~/Downloads",
"sgf_save": "./sgfout",
"anim_pv_time": 0.5,
"debug_level": 3,
"language": "en"
},
"game": {
"size": "13",
"komi": 0.5,
"handicap": 2,
"rules": "chinese",
"clear_cache": true
},
"trainer": {
"num_undo_prompts": [
1,
1,
1,
0.5,
0,
0
],
"eval_thresholds": [
12,
6,
3,
1.5,
0.5,
0
],
"save_feedback": [
true,
true,
true,
true,
true,
true
],
"eval_off_show_last": 3,
"eval_show_ai": true,
"lock_ai": false
},
"ai": {
"Default": {
"_help_right": "No settings available for Default KataGo AI, strength is mainly affected by `max_visits` and `model` in the main settings `engine` section.",
"_help_left": ""
},
"Balance": {
"target_score": 2,
"random_loss": 1,
"max_loss": 5,
"min_visits": 20,
"_help_left": "Will try to win by `target_score`, lose at most `random_loss` when behind and `max_loss` when ahead.",
"_help_right": "Never plays moves with less than `min_visits` visits, so also check engine settings."
},
"Jigo": {
"target_score": 0.5,
"_help_left": "Will try to win by `target_score`, without further restrictions.",
"_help_right": "Also affected by engine settings such as `max_visits`."
},
"ScoreLoss": {
"strength": 0.5,
"_help_left": "Plays moves weighted inversely by point loss.",
"_help_right": "Also affected by engine settings such as `max_visits`, likely to play more varied/weaker with higher visits."
},
"Policy": {
"opening_moves": 0.05,
"_help_left": "Strength is mainly affected by `model` in engine settings, but should be high dan regardless.",
"_help_right": "Plays the P:Weighted strategy during the first `opening_moves` * <number of intersections> moves to allow variety."
},
"P:Weighted": {
"_help_right": "pick_override` determines when top move is chosen without randomness, and `lower_bound` determines the lower bound policy value that is allowed.",
"_help_left": "Plays move with probability=policy^(1/weaken_fac),i.e. `weaken_fac` influences how much more likely weaker moves are picked.",
"pick_override": 1.0,
"lower_bound": 0.001,
"weaken_fac": 1.25
},
"P:Pick": {
"pick_override": 0.95,
"pick_n": 5,
"pick_frac": 0.33,
"_help_left": "Picks `pick_n + pick_frac * <number of legal moves>` at random and plays the best one. Change `pick_frac` to make it see more moves.",
"_help_right": "Plays top move if policy value is above `pick_override` to avoid obvious mistakes."
},
"P:Local": {
"pick_override": 0.95,
"stddev": 1.5,
"pick_n": 15,
"pick_frac": 0.0,
"_help_left": "Samples `pick_n + pick_frac * <number of legal moves>` near the last move and plays the best one.",
"_help_right": "Lower `stddev` makes it prefer closer moves."
},
"P:Tenuki": {
"pick_override": 0.85,
"stddev": 7.5,
"pick_n": 5,
"pick_frac": 0.5,
"endgame": 0.45,
"_help_left": "Samples `pick_n + pick_frac * <number of legal moves>` away from the last move and plays the best one.",
"_help_right": "Increase `stddev` makes it prefer moves further away. Stops tenukiing after the 'endgame' fraction of the board is filled."
},
"P:Influence": {
"pick_override": 0.95,
"pick_n": 5,
"pick_frac": 0.4,
"threshold": 3.5,
"line_weight": 10,
"endgame": 0.4,
"_help_left": "Samples `pick_n + pick_frac * <number of legal moves>` and plays the best one, biased to above the `threshold` line.",
"_help_right": "Increase `line_weight` to penalize moves near the edge more. Stops strategy after the 'endgame' fraction of the board is filled."
},
"P:Territory": {
"pick_override": 0.95,
"pick_n": 5,
"pick_frac": 0.4,
"threshold": 3.5,
"line_weight": 2,
"endgame": 0.4,
"_help_left": "Samples `pick_n + pick_frac * <number of legal moves>` and plays the best one, biased to below the `threshold` line.",
"_help_right": "Increase `line_weight` to penalize moves closer to the center more. Stops strategy after the 'endgame' fraction of the board is filled."
}
}
}