YouTuber builds working AI chatbot in Minecraft

In a remarkable blend of creativity and technology, Minecraft YouTuber Sammyuri has unveiled a unique project that pushes the boundaries of what can be achieved within the beloved voxel-based universe. This endeavor, named CraftGPT, showcases a working chatbot ingeniously constructed within the game itself.

CraftGPT: A Small Yet Ambitious Language Model

CraftGPT is not a behemoth by any means; it is a compact language model with just 5,087,280 parameters and a vocabulary of 1,920 tokens distributed across six layers. Trained on the TinyChat dataset and developed using Python, it exemplifies the notion that size does not always equate to capability. However, the infrastructure supporting CraftGPT is anything but diminutive.

Sammyuri’s creation occupies an impressive expanse of 1,020 x 260 x 1,656 blocks, necessitating the installation of the Distant Horizons mod to ensure the entire setup remains within the Minecraft engine’s render distance. A recent YouTube video vividly illustrates the scale of this project, featuring a grand display screen and keyboard, all crafted from redstone—a versatile material in Minecraft that allows for the construction of basic circuits and even complex computational systems.

Performance Expectations and Limitations

While the ambition behind CraftGPT is commendable, users should temper their expectations regarding its performance. Sammyuri candidly notes that the model often strays off-topic, produces grammatically incorrect responses, or occasionally outputs nonsensical text. The showcase video highlights the model’s best moments, which may not reflect its typical performance.

With a context window limited to just 64 tokens, conversations with CraftGPT are inherently brief, ruling out any hopes of generating lengthy documents or detailed reports. Additionally, the response time is notably sluggish, with Sammyuri humorously remarking that it could take up to a decade to generate a reply without adjustments to the game’s tick rate, which traditionally operates at 20 ticks per second.

To mitigate this extensive wait time, Sammyuri employed the Minecraft High-Performance Redstone Server (MCHPRS), a modified version of the game engine tailored for redstone computation projects. Even with this enhancement, CraftGPT still requires approximately two hours to produce a response, even when running at an accelerated speed of 40,000 times the normal rate.

In summary, while CraftGPT represents an intriguing intersection of gaming and artificial intelligence, it may not replace traditional chatbots anytime soon. Its charm lies in its novelty and the creative spirit behind its construction, making it a fascinating addition to the realm of Minecraft innovations.

AppWizard
YouTuber builds working AI chatbot in Minecraft