• Stars
    star
    806
  • Rank 56,569 (Top 2 %)
  • Language
    Python
  • Created over 10 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Deep Pink is a chess AI that learns to play chess using deep learning.

deep-pink

Deep Pink is a chess AI that learns to play chess using deep learning. Here is a blog post providing some details about how it works.

There is a pre-trained model in the repo, but if you want to train your own model you need to download pgn files and run parse_game.py. After that, you need to run train.py, preferrably on a GPU machine since it will be 10-100x faster. This might take several days for a big model.

Note that the code is a bit hacky (eg. hardcoded paths in some places) so you might have to modify those to suit your needs.

Dependencies

  • Theano: git clone https://github.com/Theano/Theano; cd Theano; python setup.py install
  • Sunfish: git clone https://github.com/thomasahle/sunfish. You need to add it to PYTHONPATH to be able to play
  • python-chess pip install python-chess
  • scikit-learn (only needed for training)
  • h5py: can be installed using apt-get install python-hdf5 or pip install hdf5 (only needed for training)

More Repositories

1

ann-benchmarks

Benchmarks of approximate nearest neighbor libraries in Python
Python
4,909
star
2

git-of-theseus

Analyze how a Git repo grows over time
Python
2,488
star
3

deep-fonts

Generate fonts using deep learning
Python
778
star
4

eigenstuff

Use the first eigenvector (stationary distribution) of Google searches for "move from X to Y" to say something about future popularity
Python
230
star
5

mta

Scrape & analyze MTA arrival times
Python
150
star
6

buffet

Simulate buffet lines (from blog post)
Python
95
star
7

software-estimation

Statistical analysis of software estimation
Python
91
star
8

ping

Ping the world!
Python
83
star
9

ann-presentation

Various gfx for a presentation at NYC ML meetup
Python
57
star
10

uncertainty

Jupyter Notebook
56
star
11

lang-pitch

Python
35
star
12

eclipse-finder

Find eclipses using Python and Modal
Python
17
star
13

hiring-model

Python
17
star
14

conversion

Because you're computing conversion rates wrong
Python
16
star
15

annul

Successor to Annoy https://github.com/spotify/annoy
C++
13
star
16

predictit

Python
10
star
17

rnn-lang-model

Train a deep recurrent neural network LSTM character-level language model using Keras
Python
10
star
18

options

Price options by fitting a Lévy distribution
Python
9
star
19

corporate-fraud

Python
8
star
20

luigi-example-workflow

Python
6
star
21

advent-of-code-2020

Python
5
star
22

modal-kth-demo

Python
4
star
23

advent-of-code-2022

Rust
4
star
24

proj-mgmt-sigma

Python
4
star
25

workflow-managers

List of workflow managers
4
star
26

advent-of-code-2021

Rust
3
star
27

salary-model

Python
3
star
28

coastlines

Python
2
star
29

atf

Another Task Framework
JavaScript
2
star
30

multi-file-modal-2

1
star
31

d3-3d

HTML
1
star
32

flask-railway-test

Python
1
star