ZBaduk - LeeLa Zero and KataGo from your webbrowser

Tell the community about tournaments, new go sites, software updates, etc.
Post Reply
User avatar
spook
Lives with ko
Posts: 151
Joined: Thu Jul 24, 2014 1:34 pm
Rank: 2d
GD Posts: 0
KGS: LordVader
Location: Belgium
Has thanked: 11 times
Been thanked: 48 times
Contact:

ZBaduk - LeeLa Zero and KataGo from your webbrowser

Post by spook »

https://www.zbaduk.com is a new website for studying your go games online, and to play go bots.
It uses a server with some NVidia GPUs which runs LeeLa Zero.

You can just play LeeLa Zero without the need for any registration.
But if you do have an account you can save your games online.
There is a checkbox which can be used to enable/disable teaching mode.
Teaching mode means that the computer plays suboptimal moves intentionally,
to make the game more interesting.

There is also support to review your games with AI,
but is only accessible after creating an account.
After creating the account, you have to click the "Smart Review" button.
Next, you have to connect to an AI server (currently only 1 available server).

After connecting, it will calculate statistics using LeeLa Zero.
It has 2 modes to do this:

[*] pondering only the selected node, the position that you are looking at.
[*] a full scan, which analyzes all positions, and tries to create a chart for you.

The chart is useful to detect score estimation drops in the process of the game.
Those indicate mistakes. You can click the chart to jump directly to that mistake.
Attachments
SCR6 - advanced.png
SCR6 - advanced.png (81.65 KiB) Viewed 46089 times
SCR2 - play online.png
SCR2 - play online.png (10.94 KiB) Viewed 46089 times
Enjoy LeeLaZero and KataGo from your webbrowser, without installing anything !
https://www.zbaduk.com
BramGo
Dies in gote
Posts: 24
Joined: Wed Jun 09, 2010 5:39 am
Rank: 1d
GD Posts: 68
KGS: spook
Been thanked: 5 times

Re: ZBaduk - LeeLa Zero from your webbrowser

Post by BramGo »

Unfortunately our Russian backend server has been down since yesterday evening.

ZBaduk uses a low-end backend server to do its LeeLa Zero calculations (~100usd/mo).
Because this server is down, most functionality of the website is unavailable.
The cloud service provider has been contacted, and is investigating it right now.
ZBaduk is expected to be fully operational again in a couple of hours.

---

In future we plan to migrate to high-end cloud providers (probably AWS).
But first we need more sponsors/funding.
ZBaduk is looking for sponsors.

---

For feedback, feature requests, sponsorship, don't hesitate to contact me on: zbaduk361 [AT] gmail [DOT] com
ZBaduk Online Go AI: https://www.zbaduk.com
Joseki Dictionary: http://www.brugo.be (deprecated)
User avatar
spook
Lives with ko
Posts: 151
Joined: Thu Jul 24, 2014 1:34 pm
Rank: 2d
GD Posts: 0
KGS: LordVader
Location: Belgium
Has thanked: 11 times
Been thanked: 48 times
Contact:

Re: ZBaduk - LeeLa Zero from your webbrowser

Post by spook »

Back online in mean time.
Still investigating log files to find out what exactly went wrong.
Enjoy LeeLaZero and KataGo from your webbrowser, without installing anything !
https://www.zbaduk.com
johnsmith
Lives with ko
Posts: 136
Joined: Fri May 27, 2016 3:55 am
Rank: KGS 6 dan
GD Posts: 0
Has thanked: 47 times
Been thanked: 21 times

Re: ZBaduk - LeeLa Zero from your webbrowser

Post by johnsmith »

Which LZ network are you using?
User avatar
spook
Lives with ko
Posts: 151
Joined: Thu Jul 24, 2014 1:34 pm
Rank: 2d
GD Posts: 0
KGS: LordVader
Location: Belgium
Has thanked: 11 times
Been thanked: 48 times
Contact:

Re: ZBaduk - LeeLa Zero from your webbrowser

Post by spook »

It's a version that still runs on the previous engine (v16):

206 2019-02-26 15:21 2d46c327 40x256 13758 69528 12569400

But considering to upgrade soon.
Especially curious to try the new GTP commands. (e.g. command for clearing the memory)
Enjoy LeeLaZero and KataGo from your webbrowser, without installing anything !
https://www.zbaduk.com
johnsmith
Lives with ko
Posts: 136
Joined: Fri May 27, 2016 3:55 am
Rank: KGS 6 dan
GD Posts: 0
Has thanked: 47 times
Been thanked: 21 times

Re: ZBaduk - LeeLa Zero from your webbrowser

Post by johnsmith »

I've been trying it out, very nice and I like it. It's the easiest web-based software to use from what I've seen so far. And the membership is quite acceptable, especially in a long run. Thanks for a great tool.
User avatar
EdLee
Honinbo
Posts: 8859
Joined: Sat Apr 24, 2010 6:49 pm
GD Posts: 312
Location: Santa Barbara, CA
Has thanked: 349 times
Been thanked: 2070 times

Post by EdLee »

Hi spook,

Thank you. Do you know if the current version supports analyzing an SGF with handicap stones ?
Example:
User avatar
jlt
Gosei
Posts: 1786
Joined: Wed Dec 14, 2016 3:59 am
GD Posts: 0
Has thanked: 185 times
Been thanked: 495 times

Re: ZBaduk - LeeLa Zero from your webbrowser

Post by jlt »

Apparently zbaduk doesn't support analysis of handicap games. I uploaded an H3 game I played on KGS, and zbaduk doesn't see the three handicap stones.
where are the handicap stones.PNG
where are the handicap stones.PNG (14.36 KiB) Viewed 45857 times
Other remarks:
  • when you analyze a game, it displays the principal variation for each move it considers (something like "S12 R17 R18 S17 S18 P15 P18 P19") but the coordinates are not displayed on the board...
  • when playing against a bot, I couldn't find "resign" or "pass" buttons.
  • Nice job!
User avatar
EdLee
Honinbo
Posts: 8859
Joined: Sat Apr 24, 2010 6:49 pm
GD Posts: 312
Location: Santa Barbara, CA
Has thanked: 349 times
Been thanked: 2070 times

Post by EdLee »

Hi BramGo and spook,

Could you add an option for different coordinate systems, such as the one used here (and CGoban, SmartGo, Panda, etc. ) ?
Example: Lower Left corner: A1, Top Right corner: T19.
The current ZBaduk uses A1 as the Top Left corner, it seems.

Thank you.
User avatar
spook
Lives with ko
Posts: 151
Joined: Thu Jul 24, 2014 1:34 pm
Rank: 2d
GD Posts: 0
KGS: LordVader
Location: Belgium
Has thanked: 11 times
Been thanked: 48 times
Contact:

Re: ZBaduk - LeeLa Zero from your webbrowser

Post by spook »

You're absolutely right about the missing pass, resign and coordinates. I will prioritize those features.

Handicap is a bit more difficult. There isn't a straightforward way to do those because LZ can only play with 7.5 komi - a known limitation. There is a dynamic komi version of LZ though, which could solve the problem. While it's certainly something to look into, it's something we can't prioritize right now.

I made a page on senseis library to: senseis.xmp.net/?ZBaduk

PS: thank you for your support and kind words everybody. After 4 months of development it's great to hear people actually like it.
Enjoy LeeLaZero and KataGo from your webbrowser, without installing anything !
https://www.zbaduk.com
User avatar
EdLee
Honinbo
Posts: 8859
Joined: Sat Apr 24, 2010 6:49 pm
GD Posts: 312
Location: Santa Barbara, CA
Has thanked: 349 times
Been thanked: 2070 times

Post by EdLee »

Handicap is a bit more difficult.
Hi spook,

I'm OK to edit the SGF to change preset handicap stones to actual moves --
( :b1: )
( :w2: Pass, :b3: ) \\ :black: :black: handicap
( :w4: Pass, :b5: ) \\ :black: :black: :black: handicap
( :w6: Pass, :b7: ) \\ :black: :black: :black: :black: handicap
etc. --

Hopefully Zbaduk can handle in-game Passes and 0.5 komi OK... :)

Thanks.
User avatar
fireproof
Lives with ko
Posts: 172
Joined: Sat Apr 20, 2013 8:22 am
GD Posts: 0
Universal go server handle: fireproof
Location: Santa Barbara, CA
Has thanked: 235 times
Been thanked: 77 times

Re:

Post by fireproof »

EdLee wrote:
Handicap is a bit more difficult.
Hi spook,

I'm OK to edit the SGF to change preset handicap stones to actual moves --
( :b1: )
( :w2: Pass, :b3: ) \\ :black: :black: handicap
( :w4: Pass, :b5: ) \\ :black: :black: :black: handicap
( :w6: Pass, :b7: ) \\ :black: :black: :black: :black: handicap
etc. --

Hopefully Zbaduk can handle in-game Passes and 0.5 komi OK... :)

Thanks.
Here's the raw SGF to insert after the ruleset, if that helps anyone (like myself):

Code: Select all

B[pd];W[];B[pp];W[];B[dp];W[];B[dd];
User avatar
apetresc
Lives with ko
Posts: 256
Joined: Wed Apr 21, 2010 3:42 pm
Rank: AGA 1k
GD Posts: 1190
KGS: apetresc
IGS: apetresc
OGS: apetresc
Universal go server handle: apetresc
Location: Waterloo, Ontario (Canada)
Has thanked: 110 times
Been thanked: 146 times
Contact:

Re: ZBaduk - LeeLa Zero from your webbrowser

Post by apetresc »

Out of curiosity, how does the "teaching mode" work? I remember there used to be an LZ fork someone made that tried to keep the winrate as close to 50% as possible, instead of trying to maximize winrate; are you using that branch, or are you just selecting such moves over GTP?
The road to wisdom? Well, it's plain, and simple to express: Err, and err, and err again; but less, and less, and less!
Image Image Image Image
User avatar
spook
Lives with ko
Posts: 151
Joined: Thu Jul 24, 2014 1:34 pm
Rank: 2d
GD Posts: 0
KGS: LordVader
Location: Belgium
Has thanked: 11 times
Been thanked: 48 times
Contact:

Re: ZBaduk - LeeLa Zero from your webbrowser

Post by spook »

About the handicap, passing, resigning, coordinates and other feature requests,
don't worry, an update is coming up which will deal with most of these requests.

---
@apetresc

About the teaching mode, it uses the official Leela Zero version.
Not that spectacular actually. It just uses the stats of the lz_analyze command.

In other words, it doesn't ask LZ to play a move, but instead it asks LZ to give stats.
Then if ZBaduk is winning it will take suboptimal moves from those stats.

Actually, if you do an "Undo" while playing, you can see the stats on the board.
In all honesty, when I play it, (I just play at 2d level), I still lose 9/10 games.
But I do enjoy the fact that it plays a different kind of game.

In all honesty, In future, I may dumb it down another notch. :)
Enjoy LeeLaZero and KataGo from your webbrowser, without installing anything !
https://www.zbaduk.com
User avatar
spook
Lives with ko
Posts: 151
Joined: Thu Jul 24, 2014 1:34 pm
Rank: 2d
GD Posts: 0
KGS: LordVader
Location: Belgium
Has thanked: 11 times
Been thanked: 48 times
Contact:

Re: ZBaduk - LeeLa Zero from your webbrowser

Post by spook »

New features that are coming up:

1) a better list of your saved games, which only renders a preview of the selected game.
better saved game.png
better saved game.png (36.58 KiB) Viewed 45567 times
2) pass and resign buttons. The computer will also pass and resign when applicable.
2019-04-26_014656.png
2019-04-26_014656.png (13.02 KiB) Viewed 45567 times
3) when the game finally comes to an end, the score will be visualized. (points or +R),
and if you are logged in, you will be able to review it, just by clicking the "Review" button.
score.png
score.png (4.38 KiB) Viewed 45567 times
4) previously, the chart only showed the winrate of the main line,
New: if you select a variation, then the winrate of the variation will be displayed on top of it. (in yellow color)
Enjoy LeeLaZero and KataGo from your webbrowser, without installing anything !
https://www.zbaduk.com
Post Reply