Page 5 of 37
Re: New android app "BadukAI"
Posted: Tue Sep 29, 2020 4:21 pm
by go4thewin
akigo wrote:I made a new release (0.6):
@go4thewin
It includes a calibrated bot as in KaTrain (full credit to sanderland's great KaTrain project for the underlying algorithms). If KataGo is active, you can edit a "kyu-rank" in settings. If you enter a number between 30 and -8 (denoting 9-dan), a calibrated bot of roughly this strength will make the AI moves. If you enter anything else, full KataGo will be in charge of AI moves again. Analysis (via "ponder" or "analyse all") will always be done by full Katago
@And
Since your goal is to get rid of unused networks, I decided to implement this directly.
It works perfectly. Whats so interesting to me is that even though it doesn't get stronger than 4 dan, each bot (especially -1 to -8) plays differently and very well with just 1 visit. The 1 visit keeps the moves very fast even with the 20b net, but its like 8 different high quality opponents. That is like magic to me how its done. In the past, playing a bot with 1 visit was boring because it always played the same moves. All of these bots play different strong moves, and they are able to easily beat kyu players. You can reliably use how they play to improve.
Re: New android app "BadukAI"
Posted: Tue Sep 29, 2020 5:48 pm
by akigo
So for everybody who does not also read the KataGo forum, I should clarify the current status:
1) It seems, that both the 15b and the (built-in) 20b network can be used with the calibration bot to achieve roughly the desired strength.
2) The ranks up to 4d are covered by the calibration research of the KaTrain project.
3) At higher ranks the strength of the calibration bot is somewhat "terra incognita". With the 15b network there probably won't be much increase of strength, since the bot uses only one playout and even the full policy is not stronger. With the 20b network it may still get stronger at higher ranks, but it is unclear by how much. 9-dan will not be reached.
Re: New android app "BadukAI"
Posted: Wed Sep 30, 2020 8:34 am
by And
BadukAI (KG g170 6 block d26M, 10s/move) - CSDL 5d 1:1 (CS W +R, KG W +12.5)
Re: New android app "BadukAI"
Posted: Wed Sep 30, 2020 8:55 am
by And
akigo everything works great! thank you very much!!!
and is it difficult for you to implement the display of winrate during the game, as in the analysis (on/off)? Or can it be turned on now, but I have not found how?
Re: New android app "BadukAI"
Posted: Wed Sep 30, 2020 9:10 am
by And
go4thewin wrote:
...
Lastly, alternately if you don't want to put more work into changing the kyu_rank setting but still want to adjust the strength, a simpler adjustment might be to just add 3 more boxes, one where the user can input maxPlayouts, maxVisits, and numSearchThreads...
what if you just make the .cfg file editable?
Re: New android app "BadukAI"
Posted: Thu Oct 01, 2020 8:30 am
by go4thewin
After playing around with the kyu_rank, these are the settings I would suggest to play against to improve based on your current rank. Playing up a couple bots than this list suggests probably would make one stronger as well if you dont get too caried away. Really great feature!
Re: New android app "BadukAI"
Posted: Thu Oct 01, 2020 9:54 am
by And
BadukAI (KG 10b 5d) - CSDL 5d 0:2 (CS B +149.5, CS W +108.5)
Re: New android app "BadukAI"
Posted: Thu Oct 01, 2020 10:03 am
by And
go4thewin please accept my thanks for the offer to make the kyu_rank option. I thought about it, but I thought it was difficult to implement to ask for it!

Re: New android app "BadukAI"
Posted: Thu Oct 01, 2020 11:46 am
by go4thewin
yeah thank you too And for the cpu suggestion! i wonder which is stronger, crazystone 5d or baduk ai 20b at -8 kyu_rank? I think i'll slowly play a few moves at a time starting tonight and find out. i just did a few sample games with the 40b last night on desktop and it beat gtp4zen7 9d 4-0 using only 7 playouts, so katago is very strong!
edit: 40b net (B) at -4 kyu_rank lost to CS by 8.5 (Komi 7.5). close game attached.
Re: New android app "BadukAI"
Posted: Thu Oct 01, 2020 2:40 pm
by And
I didn't understand what it is
in both games last move, BadukAI (KG 15b 5d) - how is this possible?
sgf saved by BadukAI
Re: New android app "BadukAI"
Posted: Thu Oct 01, 2020 3:19 pm
by go4thewin
Wow, what a close game! Were the bots playing with komi? who was white? It looks like it was 181 to 180 without komi. Good to know that they are so even, thanks!
Re: New android app "BadukAI"
Posted: Thu Oct 01, 2020 3:22 pm
by And
in the first game CS W, in the second - BadukAI
Re: New android app "BadukAI"
Posted: Thu Oct 01, 2020 3:24 pm
by And
But it's not that! are you not embarrassed by suicidal moves?
Re: New android app "BadukAI"
Posted: Thu Oct 01, 2020 3:28 pm
by go4thewin
lol yeah youre right, sorry didnt see that! so crazystone won the second game by 80 points? ouch
Re: New android app "BadukAI"
Posted: Thu Oct 01, 2020 3:32 pm
by And
I was going to go to bed, but after that I probably have nightmares ...