In this article we will create an ai model that can solve a Rubik's cube. We'll define our own data set, create a transformer-style model that can learn based on that data set, and use that model to solve new, randomly shuffled Rubik's Cubes.
In addressing this problem, we will discuss practical problems that frequently arise in data science and the techniques that data scientists use to solve those problems.
Who is this useful for? Anyone interested in achieving mastery of modern ai.
How far along is this post? This publication covers advanced modeling strategies in an intuitive way and is appropriate for readers of all levels.
Prerequisites: There are no prerequisites for this article, although an understanding of transformer-style models may be helpful for some of the later code-heavy sections.
References: You can find a link to the code and supporting resources in the reference section at the end of this article.
As you probably know, Rubik's Cube is a geometric game that features a 3x3x3 cube with different…