Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interface #2

Open
MikeInnes opened this issue Jun 13, 2018 · 1 comment
Open

Interface #2

MikeInnes opened this issue Jun 13, 2018 · 1 comment

Comments

@MikeInnes
Copy link

MikeInnes commented Jun 13, 2018

Right now this package relies pretty heavily on scripts in src which take command line arguments. Ideally, these should all become normal function calls. Using the package might look like this:

using AlphaGo

model = AlphaGo.Model(...) # should download trained weights by default
# can also call gpu(model) here

AlphaGo.train!(model, ...) # optionally train

AlphaGo.play(model, model) # play the model against itself in the terminal/WebIO UI

AlphaGo.play(model) # play against the user

This is just an example, it might not be exactly what makes sense, but the key thing is being able to get going really quickly in the repl.

Separately, I wonder if this package should be called AlphaZero, since in future it might have chess etc.

@vijendransridhar
Copy link

I would like to contribute for chess, how do I take it forward?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants