How to Build a 2000 ELO Chess AI with Deep Learning

Поделиться
HTML-код
  • Опубликовано: 22 авг 2024

Комментарии • 50

  • @tksnail6837
    @tksnail6837 Год назад +19

    very nice tutorial! is there any chance you could link the full code?

  • @andriifadieiev9757
    @andriifadieiev9757 Год назад +2

    Brilliant! Thank you. Requesting a residuals connection video

  • @krishgangal8490
    @krishgangal8490 Год назад +3

    Hello, would you be able to share the colab notebook for this project? I would like to create a chess neural network of my own and this looks amazing!

  • @s4vyss785
    @s4vyss785 Год назад +6

    @moranreznik could you please provide the full code?

  • @artemvolsh387
    @artemvolsh387 9 месяцев назад

    Wow. I appreciate your preciseness and brevity, you done a great job, and even bigger effort to describe it so simply!

  • @CarloRoosen
    @CarloRoosen 2 месяца назад

    I learned a lot from this video, thanks 'mate'. I have 2 questions.
    1. Several people have asked for the full source code, I believe you answered you still have it somewhere. Could you please make it available? If this is not possible, please let us know so we can stop begging.
    2. I think you do agree that this is not a 2000 ELO chess engine. What you mean to say is that it was trained with >2000 ELO. Would your code reach 2000 ELO with better training? Or do you have ideas how the code could be improved?

  • @soccerstuff
    @soccerstuff 7 месяцев назад +1

    Great tutorial! Is there any chance you could link the full code?

  • @oliverlacika4994
    @oliverlacika4994 9 месяцев назад +1

    Xould you make a tutorial on how to make it uci compatible so we can play against it in chess intefaces and make it play against other bots

  • @dark_dentist4281
    @dark_dentist4281 6 месяцев назад

    Great video. Really helpful!!!

  • @ponmuthu..4796
    @ponmuthu..4796 4 месяца назад +2

    can we get source code

  • @rexhall1130
    @rexhall1130 9 месяцев назад

    Great Tutorial, Thanks!

  • @Ex_ee
    @Ex_ee Год назад +2

    Can u send us the full code link?

  • @BPGHchess
    @BPGHchess 10 месяцев назад +1

    I tried replicating it but it did not end well. Can you please provide the full code :)

  • @kieranodell4493
    @kieranodell4493 Год назад +1

    Hello! This is a great video. In the ChessNet class, could you explain what PolicyNet is? And also where the predict(x) function comes from in choose_move()? Thanks so much!

    • @moranreznik
      @moranreznik  Год назад

      please provide exact time-stamps for your questions :)

    • @kieranodell4493
      @kieranodell4493 Год назад

      @@moranreznik Sure. At 16:07 the very last line of the code block says move = predict(x), but the predict function was never defined in any of the other code shown. Could you explain the predict function, or do you have code showing it? Thanks

    • @moranreznik
      @moranreznik  Год назад +2

      @@kieranodell4493 its a simple function, if I remember right, that excepts the board, inputs it into a NN and output a move, thats all.

    • @ponmuthu..4796
      @ponmuthu..4796 4 месяца назад +1

      @@moranreznik can you provide source code

  • @luisandraschnik3001
    @luisandraschnik3001 4 месяца назад

    17:01 losting Nc4 is not a 2000 ELO move.

  • @pablogutierrezfelix2443
    @pablogutierrezfelix2443 Год назад +4

    Hello! I loved your video. Would you please share your code with me so I can take a look at it? It would be of great inspiration for a little project I am trying to put together. Thanks!

    • @moranreznik
      @moranreznik  Год назад +3

      It sits in a colab notebook somewhere, ill try to find it

    • @pablogutierrezfelix2443
      @pablogutierrezfelix2443 Год назад

      @@moranreznik thank you! That would be amazing

    • @benjaminghailane9452
      @benjaminghailane9452 Год назад +2

      @@moranreznik Hi, very good tutorial on the essential parts but I can't seem to be able to put together the missing pieces. If you could share your notebook, that would be very helpful !

    • @xfraggle
      @xfraggle Год назад +4

      @@moranreznik have you found it yet? i also might need to use it to understand everything better

    • @oliverlacika4994
      @oliverlacika4994 4 месяца назад

      @@moranreznik did you find it?

  • @dmitrymedvedd
    @dmitrymedvedd 7 месяцев назад +3

    Link to source code please

  • @savitar9215
    @savitar9215 Год назад +3

    Hi, i have watched your video so many times. Your project is very suitable for me but I am a beginner so there are many places that I do not understand and write myself. Can you give me the full code or link colab so I can read it?

  • @plemplem94
    @plemplem94 Год назад +1

    Excellent work

    • @plemplem94
      @plemplem94 Год назад

      Can you 1) link your code 2) show how you would do this using reinforcement learning.
      Currently I’m a network engineer and I try to get my hands on ML coding. To motivate myself I looking for AI useful that are actually add fun in your daily life. Your example was really great and motivated to kind of generate a improved version. Thank you again !

    • @moranreznik
      @moranreznik  Год назад

      Thank you! :)

    • @moranreznik
      @moranreznik  Год назад +1

      About using RL - hd tight, I will be releasing a series about deep RL soon. That being said, using it for a complex game like chess require A LOT of resources and time that I simply don't have

    • @plemplem94
      @plemplem94 Год назад

      @@moranreznik thank you for the fast reply. Last question: what does form has t he output of your network ? Like does it output the typical chess syntax, e.g. b6 c5 ? Btw I found this really interesting because I play online chess with my cousin once a while and he always end up winning so I wanted to test the ML out, will do the implementation Sunday. Again thanks for the inspiration 😊

    • @nguyenucvinh-BDCCN
      @nguyenucvinh-BDCCN Год назад

      @@plemplem94 have you done it ?

  • @NunTheLass
    @NunTheLass Месяц назад

    Not posting the source code + looking at the game leads me to believe that you want to take credit for making a 2000 ELO chess NN without having to actually make it. The problem is that that is HARD. If that is indeed the case then that is a shame because your method of encoding the chess board is interesting and so is how you encoded the moves with two 1-hot vectors. I learned from that, trying proceed from my value NN to something more robust that handles moves instead of just evaluating boards. You didn't need to brag for clicks and ego. You were plenty interesting without it. Or I am wrong. That is also a small possibility.

    • @martinledl920
      @martinledl920 24 дня назад

      Going through the video I agree with you more and more

  • @JUANORQUIO
    @JUANORQUIO 6 месяцев назад

    W❤W! That’s Incredibly Awesome!

  • @mouad3495
    @mouad3495 Год назад

    can we change the CNN by MLP, ig it can capture the whole board better then CNN

  • @user-be1tp4tb7y
    @user-be1tp4tb7y Год назад

    Is there a way to do this without python chess?

    • @moranreznik
      @moranreznik  Год назад +1

      A chess ai without a chess package?
      You can, but it will be much more difficult

    • @G2Chanakya
      @G2Chanakya Год назад

      ​@@moranreznik Yes,like can we create our own env, actions and learn and step functions.

  • @saladpalad
    @saladpalad Год назад

    does this perform better than minimax?

    • @zoltankurti
      @zoltankurti 9 месяцев назад +2

      No.

    • @estranhokonsta
      @estranhokonsta 9 месяцев назад +1

      Let us just say that if a player with a 2000 elo played like this then i would urge him to call an ambulance. Something very very bad must have happened to his brain.

    • @sgt.brownie5392
      @sgt.brownie5392 3 месяца назад

      the demo seemed more like 400 elo