It is currently Fri Apr 26, 2024 5:04 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 216 posts ]  Go to page Previous  1, 2, 3, 4, 5 ... 11  Next
Author Message
Offline
 Post subject: Re: KataGo V1.3
Post #21 Posted: Fri Jan 24, 2020 6:53 am 
Lives in sente

Posts: 757
Liked others: 114
Was liked: 916
Rank: maybe 2d
lichigo wrote:
Hello,
I heard about katago recently. I am using lizzie with leela zero and is it possible to download a weight(katago file) with lizzie?


KataGo's releases are here. https://github.com/lightvector/KataGo/releases

The executable version that comes with Lizzie is v1.2 and is out of date. It doesn't support all the features that were released in the last few weeks (japanese rules, stronger handicap play, accurate lead estimation) and is not capable of running the latest stronger neural nets either.

Top
 Profile  
 
Offline
 Post subject: Re: KataGo V1.3
Post #22 Posted: Fri Jan 24, 2020 3:54 pm 
Lives in gote

Posts: 586
Location: Adelaide, South Australia
Liked others: 208
Was liked: 265
Rank: Australian 2 dan
GD Posts: 200
lightvector wrote:
The executable version that comes with Lizzie is v1.2 and is out of date.

Just to be clear: v1.3 does work with Lizzie. You need to install Lizzie first (if you haven't already), then install KataGo 1.3, then use the settings menu in Lizzie (or edit the Lizzie config file directly if you prefer) to replace KataGo 1.2 with 1.3.


This post by xela was liked by: lightvector
Top
 Profile  
 
Offline
 Post subject: Re: KataGo V1.3
Post #23 Posted: Fri Jan 24, 2020 6:01 pm 
Dies in gote

Posts: 62
Liked others: 8
Was liked: 4
lightvector wrote:
Umm... 9d+? Human ranks make no sense to use here.

At this point, for small playout numbers, ...

Are you saying that KataGo is at 9d+ strength even at small number of visits/move (like 128 visits/move)?

Top
 Profile  
 
Offline
 Post subject: Re: KataGo V1.3
Post #24 Posted: Fri Jan 24, 2020 7:02 pm 
Lives in sente

Posts: 757
Liked others: 114
Was liked: 916
Rank: maybe 2d
Limeztone wrote:
lightvector wrote:
Umm... 9d+? Human ranks make no sense to use here.

At this point, for small playout numbers, ...

Are you saying that KataGo is at 9d+ strength even at small number of visits/move (like 128 visits/move)?


Probably not that small?

I was referring more to numbers like your 1600. Of course not everyone has a good GPU, but many of the higher-end GPUs from the last couple of years are very easy to get much more than 1600 visits in reasonable amounts of time. Very top-end ones should be able do it in a second or less.

There's a reasonable chance 1600 for LZ/KataGo is large enough to beat any human in the world more than 50% of the time (except for the chance that maybe there is a specific repeatable exploit in some joseki), at relatively quick time controls? But it's not like I've tested that either, I could be way off. :)

Top
 Profile  
 
Offline
 Post subject: Re: KataGo V1.3
Post #25 Posted: Fri Jan 24, 2020 7:09 pm 
Lives in sente

Posts: 757
Liked others: 114
Was liked: 916
Rank: maybe 2d
And here we go. The run is still going. Another week passed so let's have some new neural nets!

https://github.com/lightvector/KataGo/r ... 1.3.1-nets

A stronger 20-block net, and a very strong 15-block net that is almost as strong as ELFv2's 20 block net at equal visits despite being a smaller and faster net. Maybe not exactly as strong? Not sure, my testing so far is noisy. It should be fairly close though.


This post by lightvector was liked by 6 people: Bill Spight, dfan, ez4u, Limeztone, Waylon, xela
Top
 Profile  
 
Offline
 Post subject: Re: KataGo V1.3
Post #26 Posted: Sat Jan 25, 2020 3:52 am 
Lives in gote

Posts: 586
Location: Adelaide, South Australia
Liked others: 208
Was liked: 265
Rank: Australian 2 dan
GD Posts: 200
Nice!

If we're going to see a plethora of KataGo nets (which I would welcome), would you like to propose a naming/numbering convention? Perhaps something a little more concise than "I did this analysis using g170-b20c256x2-s1420141824-d350969033"?


This post by xela was liked by 2 people: ez4u, wineandgolover
Top
 Profile  
 
Offline
 Post subject: Re: KataGo V1.3
Post #27 Posted: Sat Jan 25, 2020 6:18 am 
Oza
User avatar

Posts: 2401
Location: Tokyo, Japan
Liked others: 2340
Was liked: 1332
Rank: Jp 6 dan
KGS: ez4u
xela wrote:
Nice!

If we're going to see a plethora of KataGo nets (which I would welcome), would you like to propose a naming/numbering convention? Perhaps something a little more concise than "I did this analysis using g170-b20c256x2-s1420141824-d350969033"?

@lightvector
This! :bow: :)

_________________
Dave Sigaty
"Short-lived are both the praiser and the praised, and rememberer and the remembered..."
- Marcus Aurelius; Meditations, VIII 21

Top
 Profile  
 
Offline
 Post subject: Re: KataGo V1.3
Post #28 Posted: Sat Jan 25, 2020 7:25 am 
Lives in sente

Posts: 757
Liked others: 114
Was liked: 916
Rank: maybe 2d
Maybe you could say "g170 20 block s1.42G"? (i.e. 1.42 billion training samples)

s = samples that net was trained on
d = data rows generated at that point in selfplay

So s and d are two indicators of exactly where it is in the run.

At this point, I'm not going to change the convention mid-run, or try to rename the nets and files that have been uploaded, that would be a mess. :blackeye:

If at some point later we started a public distributed run, we could try a different naming convention then.

Edit: Maybe there's something yet better, but I went ahead and updated the all the Github release pages (https://github.com/lightvector/KataGo/releases) suggesting this convention as at least a shorter-hand name.


Last edited by lightvector on Sat Jan 25, 2020 7:43 am, edited 1 time in total.

This post by lightvector was liked by 2 people: ez4u, xela
Top
 Profile  
 
Offline
 Post subject: Re: KataGo V1.3
Post #29 Posted: Sat Jan 25, 2020 7:39 am 
Lives with ko

Posts: 150
Liked others: 200
Was liked: 30
Rank: 25 kyu
Limeztone wrote:
lightvector wrote:
Umm... 9d+? Human ranks make no sense to use here.

At this point, for small playout numbers, ...

Are you saying that KataGo is at 9d+ strength even at small number of visits/move (like 128 visits/move)?

There are some ranking systems that try to figure this out. According to those rankings, katago 1.2 at 100 playouts was at least 6 Dan.
https://github.com/breakwa11/GoAIRatings Breakwa's rankings estimate leela zero 157 net at 100 playouts ranked at 6d human. CGOS has katago 1.2 at 100 playouts ranked higher (Bayle's ELO) than a leela zero 157 version (9006c708) at 200 playouts. http://www.yss-aya.com/cgos/19x19/cross ... _v100.html
These rankings also estimate that katago 1.3.1 at 800 playouts would rank higher than any human player in the world in even games, though I can't believe that. These are kind of just guesses.

_________________
set katago to play at your level https://docdro.id/sHZU1ti or experiment with gtp4zen ( https://rb.gy/kx2ilb )

Top
 Profile  
 
Offline
 Post subject: Re: KataGo V1.3
Post #30 Posted: Sat Jan 25, 2020 9:48 am 
Gosei
User avatar

Posts: 1754
Liked others: 177
Was liked: 492
When playing handicap games against Katago, the initial board positions are not always the same, but look like this:

Click Here To Show Diagram Code
[go]$$W
$$ ---------------------------------------
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . X . . . . . . . . . . . . . |
$$ | . . X , . . . . . , . . . X . , X . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . , . . . . . , . . . . . X . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . X , . X . . . , . . . X . , X . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ ---------------------------------------[/go]


Is there a way to choose myself where to place the handicap stones?

Top
 Profile  
 
Offline
 Post subject: Re: KataGo V1.3
Post #31 Posted: Sat Jan 25, 2020 10:03 am 
Lives in sente

Posts: 757
Liked others: 114
Was liked: 916
Rank: maybe 2d
Isn't that up to the GUI you use, and/or your own choice of where to put your stones?

The kind of handicap configuration you post is what KataGo itself would might choose if *it* was the one playing with that many stones. I'm not sure though why your GUI would ask KataGo to place the stones as if KataGo were the one getting the extra stones, rather than letting you do so. :)

Top
 Profile  
 
Offline
 Post subject: Re: KataGo V1.3
Post #32 Posted: Sat Jan 25, 2020 10:12 am 
Gosei
User avatar

Posts: 1754
Liked others: 177
Was liked: 492
I am using the last version of Lizzie. I unpacked the last version of KataGo in the directory Lizzie\katago, downloaded the weight g170e-b15c192-s1305382144-d335919935.txt.gz in that directory. In the list of engines, I entered the command "katago\katago.exe gtp -model katago\g170e-b15c192-s1305382144-d335919935.txt.gz -config katago\gtp_example.cfg".

That's all. So maybe it's in the configuration of Lizzie, but I couldn't find out where.

Top
 Profile  
 
Offline
 Post subject: Re: KataGo V1.3
Post #33 Posted: Sat Jan 25, 2020 10:30 am 
Lives in sente

Posts: 757
Liked others: 114
Was liked: 916
Rank: maybe 2d
Ah, I see. Apparently the GTP spec indicates that bots should implement a fixed handicap placement method in addition to a free one, according to exact rules defined in the spec that vary with board size oddness/evenness and a few other things. (Yuck. :) )

KataGo never implemented this, since Chinese rules allow free placement, and until recently KataGo didn't support any other rules, so it wasn't necessary anywhere that KataGo could work. I'll go ahead and add this for next minor release.

The interesting thing is that even if I implement this now, Lizzie won't pick it up automatically because Lizzie, rather than either checking for the availability of the bot's placement methods, or placing the stones itself, appears to be hardcoded to call KataGo's free placement method. :)

Anyways, as a workaround until Lizzie also itself gets a new version, you can just play all the stones yourself (passing as white), and then just resume play from there?

Top
 Profile  
 
Offline
 Post subject: Re: KataGo V1.3
Post #34 Posted: Sat Jan 25, 2020 10:34 am 
Gosei
User avatar

Posts: 1754
Liked others: 177
Was liked: 492
lightvector wrote:
Anyways, as a workaround until Lizzie also itself gets a new version, you can just play all the stones yourself (passing as white), and then just resume play from there?


Yes, I will do that.

Top
 Profile  
 
Offline
 Post subject: Re: KataGo V1.3
Post #35 Posted: Sun Jan 26, 2020 7:15 am 
Gosei
User avatar

Posts: 1352
Liked others: 202
Was liked: 203
Lizzie with KataGo "g170 20 block s1.42G" or "g170e 10 block s1.14G" quickly find a winning move:

https://lifein19x19.com/viewtopic.php?p=244851#p244851

SAI and ELF could not find this move in an hour


Attachments:
Inoue Shuntatsu Inseki - Honinbo Satsugen.sgf [928 Bytes]
Downloaded 2780 times

This post by And was liked by 2 people: Bill Spight, wineandgolover
Top
 Profile  
 
Offline
 Post subject: Re: KataGo V1.3
Post #36 Posted: Sun Jan 26, 2020 5:43 pm 
Lives with ko

Posts: 150
Liked others: 200
Was liked: 30
Rank: 25 kyu
Someone is running a katago 1.3.1 bot on the KGS server using AWS and getting 1000 playouts per second. The bot is ridiculously strong: https://www.gokgs.com/gameArchives.jsp? ... Accounts=y

Username: katagobot

You can view all the sgfs in the link. This is a fun bot to watch play! Hopefully in the future, these bots make human pros obsolete.
Katagobot uses newest g170 20 block s1.42G net

_________________
set katago to play at your level https://docdro.id/sHZU1ti or experiment with gtp4zen ( https://rb.gy/kx2ilb )

Top
 Profile  
 
Offline
 Post subject: Re: KataGo V1.3
Post #37 Posted: Sun Jan 26, 2020 6:33 pm 
Oza
User avatar

Posts: 2401
Location: Tokyo, Japan
Liked others: 2340
Was liked: 1332
Rank: Jp 6 dan
KGS: ez4u
See also user "petgo2", which is the latest katago running on an RTX 2080 Ti. Petgo2 is 9d. Up to now katagobot is only "9d?" because it has not yet lost a rated game! :)

Edit: 45 minutes after posting the above, katagobot finally lost a rated game by 6.5 points, giving 6 stones to a 5d.

_________________
Dave Sigaty
"Short-lived are both the praiser and the praised, and rememberer and the remembered..."
- Marcus Aurelius; Meditations, VIII 21

Top
 Profile  
 
Offline
 Post subject: Re: KataGo V1.3
Post #38 Posted: Sun Jan 26, 2020 11:29 pm 
Lives in gote

Posts: 586
Location: Adelaide, South Australia
Liked others: 208
Was liked: 265
Rank: Australian 2 dan
GD Posts: 200
go4thewin wrote:
Someone is running a katago 1.3.1 bot on the KGS server using AWS and getting 1000 playouts per second. The bot is ridiculously strong: https://www.gokgs.com/gameArchives.jsp? ... Accounts=y

Username: katagobot

What's more, katagobot is one of only two players in the KGS top 10 that's achieved their rank by playing humans, rather than by learning to beat up HiraBot on H6. (The other is stakeout at number 10).

Top
 Profile  
 
Offline
 Post subject: Re: KataGo V1.3
Post #39 Posted: Mon Jan 27, 2020 8:16 am 
Dies in gote

Posts: 52
Liked others: 2
Was liked: 12
@lightvector

Do you have some additional details on your internal rating tests btw?

On CGOS, some users have put up 800 visits katago bots.

This one I would guess is the first 1.3 release, and it ranks slightly higher than LZ ELFv2 v800, but is worse in the head-2-head matchup.

Another one should be the 2nd release. It has not played that much, and has been taken offline, but had even poorer results against LZ ELF v2

We of course don't know the settings of these, but what do you make of it?

Top
 Profile  
 
Offline
 Post subject: Re: KataGo V1.3
Post #40 Posted: Mon Jan 27, 2020 9:23 am 
Lives in sente

Posts: 757
Liked others: 114
Was liked: 916
Rank: maybe 2d
Do you mean "LZ_05db_ELFv2_p800"? Taking a wild guess based on the name I would guess that this is ELF with 800 playouts, not visits? If so, then it may be getting somewhere around 2x the number of playouts that KataGo is getting. KataGo and LZ-ELF being almost an even match despite that difference seems like KataGo is doing well.

How much compute time that takes depends on hardware and a lot of other details. Some users have reported that LZ-ELF does get almost 2x as many playouts due to LZ having had more GPU optimization work, making it close. Some users have reported a much smaller gap than that already, such as on FP16 tensor core cards, and with a smaller gap KataGo easily outperforms.

(And if you wait a week or so, some more performance improvements should be coming too - working on it...).


This post by lightvector was liked by 2 people: ez4u, Yakago
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 216 posts ]  Go to page Previous  1, 2, 3, 4, 5 ... 11  Next

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: gennan 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