Skip to content

Interface #2

@MikeInnes

Description

@MikeInnes

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions