It is currently Thu Mar 28, 2024 12:26 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
Offline
 Post subject: KataGo + Daoqi = Success
Post #1 Posted: Wed Jul 13, 2022 6:23 am 
Dies in gote

Posts: 25
Liked others: 0
Was liked: 2
Rank: AGA 6D
Hi,

Just want to share the success of adapting KataGo to play Daoqi.

Recently, I've used the modified KataGo to train a Daoqi model. After >2 weeks of continuous training and approximately 100k games, I got a pretty strong model.

How strong? I'm an AGA 6D, and the model can beat me with 4 handicaps. That's pro level. (Even though Daoqi is different from Go, I think the ranking can be translated from Go to Daoqi.)

I'll continue to run the training but I think the training has almost reached the highest level of current model kind. I'll see what parameters I can tweak to improve.

I've also adapted deepleela so that I can use it to play Daoqi against the bot. Once it works from the public I can share the link here. If anyone is interested please let me know.

References:
OS: Ubuntu 18.04
GPU: GeForce RTX 3080Ti with 12GB memory
Backend: OpenCL
Model: b20c256
PR to support Daoqi: https://github.com/gcao/KataGo/pull/6/files

Here is what a Daoqi game looks like (a 13x13 game with virtual board around the real board):


Attachments:
ScreenCapture at Wed 2022-07-13 09_17_56.png
ScreenCapture at Wed 2022-07-13 09_17_56.png [ 46.11 KiB | Viewed 2891 times ]

This post by gcao was liked by: goPlayerJuggler
Top
 Profile  
 
Offline
 Post subject: Re: KataGo + Daoqi = Success
Post #2 Posted: Wed Jul 13, 2022 6:41 am 
Dies in gote

Posts: 25
Liked others: 0
Was liked: 2
Rank: AGA 6D
And here is the journey of the training, from absolute beginner to pro.
Code:
2022-06-28 20:55:07-0400: Candidate won match, score 20.000 to 1.000 in 21 games, accepting candidate daoqi-s583680-d41745
2022-06-29 08:15:50-0400: Candidate won match, score 20.500 to 0.500 in 21 games, accepting candidate daoqi-s437376-d86279
2022-06-29 14:00:02-0400: Candidate won match, score 20.500 to 5.500 in 26 games, accepting candidate daoqi-s951936-d170159
2022-06-29 17:39:10-0400: Candidate won match, score 20.000 to 0.000 in 20 games, accepting candidate daoqi-s1600128-d224253
2022-06-29 21:22:44-0400: Candidate won match, score 20.000 to 1.000 in 21 games, accepting candidate daoqi-s2311296-d283638
2022-06-30 00:45:14-0400: Candidate won match, score 20.500 to 4.500 in 25 games, accepting candidate daoqi-s2685056-d338903
2022-06-30 03:59:34-0400: Candidate won match, score 20.500 to 4.500 in 25 games, accepting candidate daoqi-s3022336-d392620
2022-06-30 07:30:29-0400: Candidate won match, score 20.000 to 4.000 in 24 games, accepting candidate daoqi-s3362304-d454629
2022-06-30 11:15:21-0400: Candidate won match, score 20.500 to 7.500 in 28 games, accepting candidate daoqi-s3785344-d522090
2022-06-30 15:07:08-0400: Candidate won match, score 20.000 to 5.000 in 25 games, accepting candidate daoqi-s4290944-d588493
2022-06-30 18:56:45-0400: Candidate won match, score 20.000 to 17.000 in 37 games, accepting candidate daoqi-s4947712-d653703
2022-07-01 00:33:55-0400: Candidate won match, score 20.000 to 3.000 in 23 games, accepting candidate daoqi-s5643520-d750502
2022-07-01 06:11:59-0400: Candidate won match, score 20.000 to 11.000 in 31 games, accepting candidate daoqi-s6145408-d850423
2022-07-01 14:31:51-0400: Candidate won match, score 20.000 to 6.000 in 26 games, accepting candidate daoqi-s6396416-d989141
2022-07-01 21:34:01-0400: Candidate won match, score 20.000 to 12.000 in 32 games, accepting candidate daoqi-s6658560-d1120345
2022-07-02 04:44:15-0400: Candidate won match, score 20.000 to 7.000 in 27 games, accepting candidate daoqi-s7251456-d1247147
2022-07-02 11:31:01-0400: Candidate won match, score 20.500 to 6.500 in 27 games, accepting candidate daoqi-s7762560-d1372578
2022-07-02 18:14:48-0400: Candidate won match, score 20.000 to 11.000 in 31 games, accepting candidate daoqi-s8465024-d1496465
2022-07-03 00:32:21-0400: Candidate won match, score 20.000 to 10.000 in 30 games, accepting candidate daoqi-s8783872-d1620336
2022-07-03 07:20:37-0400: Candidate won match, score 20.000 to 8.000 in 28 games, accepting candidate daoqi-s9505280-d1743621
2022-07-03 13:32:58-0400: Candidate won match, score 20.000 to 13.000 in 33 games, accepting candidate daoqi-s9756928-d1864817
2022-07-03 19:58:41-0400: Candidate won match, score 20.000 to 5.000 in 25 games, accepting candidate daoqi-s10029824-d1986592
2022-07-04 02:19:52-0400: Candidate won match, score 20.000 to 8.000 in 28 games, accepting candidate daoqi-s10299264-d2109329
2022-07-04 08:50:28-0400: Candidate lost match, score 9.000 to 21.000 in 30 games, rejecting candidate daoqi-s10836992-d2234111
2022-07-04 15:20:59-0400: Candidate won match, score 20.500 to 12.500 in 33 games, accepting candidate daoqi-s11296256-d2359737
2022-07-04 21:45:28-0400: Candidate won match, score 20.500 to 8.500 in 29 games, accepting candidate daoqi-s11670656-d2481051
2022-07-05 04:00:35-0400: Candidate won match, score 20.000 to 15.000 in 35 games, accepting candidate daoqi-s12054144-d2599380
2022-07-05 10:20:02-0400: Candidate won match, score 20.000 to 15.000 in 35 games, accepting candidate daoqi-s12528000-d2717595
2022-07-05 18:50:54-0400: Candidate lost match, score 12.500 to 20.500 in 33 games, rejecting candidate daoqi-s13274880-d2872852
2022-07-06 02:16:37-0400: Candidate won match, score 20.000 to 16.000 in 36 games, accepting candidate daoqi-s13530240-d3016364
2022-07-06 09:41:37-0400: Candidate won match, score 20.000 to 6.000 in 26 games, accepting candidate daoqi-s13805312-d3160255
2022-07-06 17:07:19-0400: Candidate lost match, score 14.500 to 20.500 in 35 games, rejecting candidate daoqi-s14227200-d3305305
2022-07-07 00:26:36-0400: Candidate won match, score 20.000 to 16.000 in 36 games, accepting candidate daoqi-s14586496-d3448502
2022-07-07 07:41:09-0400: Candidate won match, score 20.000 to 12.000 in 32 games, accepting candidate daoqi-s14939904-d3588306
2022-07-07 14:56:11-0400: Candidate won match, score 20.000 to 17.000 in 37 games, accepting candidate daoqi-s15325952-d3731791
2022-07-07 22:14:45-0400: Candidate won match, score 20.000 to 9.000 in 29 games, accepting candidate daoqi-s15579136-d3875110
2022-07-08 05:15:38-0400: Candidate won match, score 20.000 to 17.000 in 37 games, accepting candidate daoqi-s15832832-d4016039
2022-07-08 12:35:42-0400: Candidate won match, score 20.000 to 15.000 in 35 games, accepting candidate daoqi-s16085888-d4164005
2022-07-08 19:47:05-0400: Candidate lost match, score 14.500 to 20.500 in 35 games, rejecting candidate daoqi-s16349184-d4310842
2022-07-09 02:56:32-0400: Candidate lost match, score 12.000 to 21.000 in 33 games, rejecting candidate daoqi-s16622464-d4455967
2022-07-09 10:14:52-0400: Candidate won match, score 20.500 to 18.500 in 39 games, accepting candidate daoqi-s17047168-d4602037
2022-07-09 17:26:20-0400: Candidate won match, score 20.000 to 20.000 in 40 games, accepting candidate daoqi-s17405952-d4744022
2022-07-10 00:56:59-0400: Candidate lost match, score 17.000 to 21.000 in 38 games, rejecting candidate daoqi-s17690112-d4886846
2022-07-10 04:22:15-0400: Candidate lost match, score 15.000 to 21.000 in 36 games, rejecting candidate daoqi-s18127104-d4946038
2022-07-10 23:23:43-0400: Candidate won match, score 20.000 to 9.000 in 29 games, accepting candidate daoqi-s18563328-d5076623
2022-07-11 05:17:44-0400: Candidate won match, score 20.000 to 14.000 in 34 games, accepting candidate daoqi-s18852992-d5190371
2022-07-11 11:07:13-0400: Candidate won match, score 20.000 to 10.000 in 30 games, accepting candidate daoqi-s19110144-d5305068
2022-07-11 17:09:32-0400: Candidate won match, score 20.000 to 17.000 in 37 games, accepting candidate daoqi-s19500288-d5421211
2022-07-11 23:08:20-0400: Candidate won match, score 20.000 to 15.000 in 35 games, accepting candidate daoqi-s19877632-d5535464
2022-07-12 05:03:28-0400: Candidate won match, score 20.500 to 6.500 in 27 games, accepting candidate daoqi-s20144512-d5651555
2022-07-12 10:58:30-0400: Candidate won match, score 20.500 to 18.500 in 39 games, accepting candidate daoqi-s20411520-d5768001

Top
 Profile  
 
Offline
 Post subject: Re: KataGo + Daoqi = Success
Post #3 Posted: Tue Sep 06, 2022 5:33 pm 
Beginner

Posts: 1
Liked others: 0
Was liked: 0
Excellent!

I would like to play Daoqi with your KataGo, but I don’t know how to reproduce your result.

Top
 Profile  
 
Offline
 Post subject: Re: KataGo + Daoqi = Success
Post #4 Posted: Sun Oct 30, 2022 7:09 pm 
Beginner

Posts: 14
Location: France
Liked others: 18
Was liked: 2
Rank: French 1 dan
KGS: Malcolm
gcao's AI is now online!
http://www.daoqi.org:8080/?lang=en-US

I put more details on SL:
https://senseis.xmp.net/?ToroidalGo#toc5

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group