TechyMag.co.uk - is an online magazine where you can find news and updates on modern technologies


Back
Games

Gamer builds functional ChatGPT in Minecraft using 439 million blocks and 5 million parameters

Gamer builds functional ChatGPT in Minecraft using 439 million blocks and 5 million parameters
0 0 10 0
Minecraft's Mind-Bending Machine: A Functional ChatGPT Built with Redstone

In a truly astonishing feat of digital artistry and engineering, a dedicated Minecraft player known as Sammyuri has unveiled CraftGPT, a project that blurs the lines between gaming and advanced artificial intelligence. This incredible creation isn't just a visual spectacle; it's a fully functional, albeit incredibly slow, implementation of a small language model (SLM) running entirely within the blocky universe of Minecraft. The sheer ambition behind CraftGPT is breathtaking, showcasing the extraordinary capabilities of the game's Redstone mechanics when wielded by a visionary.

An Architectural Marvel in Pixels

Gamer builds functional ChatGPT in Minecraft using 439 million blocks and 5 million parameters

Sammyuri's masterpiece is a colossal construction, meticulously assembled from approximately 439 million individual game blocks, spanning an impressive 1020x260x1656 units. This gargantuan structure houses the intricate circuitry required to process complex AI computations. To capture the immense scale of this in-game computer, the developer utilized the Distant Horizons mod, allowing for awe-inspiring flyovers that reveal the full scope of this digital brain. It's a testament to the enduring creativity of the Minecraft community, which has a storied history of pushing the boundaries of what's possible within the game's established framework.

The Inner Workings of CraftGPT

At its core, CraftGPT leverages Minecraft's Redstone system – the game's equivalent of electrical circuits and logic gates – to simulate the components of an AI model. This intricate build, achieved without resorting to command blocks or data packs, includes essential elements like tokenizers and matrix multipliers. The SLM itself, trained on the TinyChat dataset of brief English dialogues, boasts 5,087,280 parameters. It features a 240-dimension embedding size, a vocabulary of 1920 tokens, and a modest 6-layer architecture. The context window is limited to 64 tokens, suitable only for very short exchanges. While most of the model's weights are quantized to 8 bits for efficiency, the embedding and LayerNorm layers retain higher precision at 18 and 24 bits, respectively.

The Patience of a Saint: Performance Woes

The most significant hurdle for CraftGPT, and indeed the defining characteristic of this project, is its glacial pace. Despite Sammyuri's efforts to optimize performance using MCHPRS (Minecraft High Performance Redstone Server), which dramatically boosts the game's tick rate, the AI's response time is measured in hours, not seconds. A simple query can take up to two hours to process. This makes CraftGPT a captivating scientific and engineering experiment rather than a practical tool for real-time interaction. As Sammyuri himself candidly admits, the model is prone to straying off-topic, producing grammatical errors, and occasionally generating nonsensical output. In essence, it's a remarkable demonstration of concept, not a replacement for sophisticated commercial AI models or Microsoft's Copilot integration within Minecraft.

This project is a mind-blowing example of what happens when gaming creativity meets cutting-edge technology. It's less about immediate utility and more about the sheer ingenuity of making AI think within a world of blocks and redstone.
A Legacy of In-Game Innovation

CraftGPT joins a pantheon of extraordinary Redstone creations within Minecraft. Previous feats include the development of 16-bit CPUs and the ambitious IRIS Computer project, which famously managed to run the classic 1993 game DOOM. These projects highlight the profound depth of player-driven innovation and the remarkable potential of digital sandbox environments. Sammyuri's AI implementation adds another layer of wonder to this ongoing saga of gamer ingenuity, proving that the only limit in Minecraft is often the imagination.

Returnal's Spiritual Successor Revealed: Saros Gameplay Hints at Shifting Realities and Second Chances
Post is written using materials from / tomshardware /

Thanks, your opinion accepted.

Comments (0)

There are no comments for now

Leave a Comment:

To be able to leave a comment - you have to authorize on our website

Related Posts