Readit News logoReadit News
jweather · 3 months ago
Well, TinyChat. Still mind-boggling. From the video description:

  I built a small language model in Minecraft using no command blocks or datapacks!

  The model has 5,087,280 parameters, trained in Python on the TinyChat dataset of basic English conversations. It has an embedding dimension of 240, vocabulary of 1920 tokens, and consists of 6 layers. The context window size is 64 tokens, which is enough for (very) short conversations. Most weights were quantized to 8 bits, although the embedding and LayerNorm weights are stored at 18 and 24 bits respectively. The quantized weights are linked below; they are split into hundreds of files corresponding to the separate sections of ROM in the build.

  The build occupies a volume of 1020x260x1656 blocks. Due to its immense size, the Distant Horizons mod was used to capture footage of the whole build; this results in distant redstone components looking strange as they are being rendered at a lower level of detail.

  It can produce a response in about 2 hours when the tick rate is increased using MCHPRS (Minecraft High Performance Redstone Server) to about 40,000x speed.

jweather · 3 months ago
It would take just over 9 years for a response at the normal redstone tick rate... sounds about right.
throwup238 · 3 months ago
The Minecraft AI Challenge: can your LLM company reach profitability before Minecraft can predict a token?
rightbyte · 3 months ago
> no command blocks

Oh. I thought this would be some cheesy command block curl to Chat GPT.

lhamil64 · 3 months ago
As far as I'm aware there's no way to do an HTTP request via command blocks, at least in vanilla.
sd9 · 3 months ago
I originally didn’t click on this post because it was obviously clickbait - the title isn’t possible.

But no. The author actually embedded a small LLM in Minecraft using hundreds of millions of blocks, that generates 1 token per 2h at 40,000x speed.

Bravo. I wouldn’t have even thought to try.

cosmic_quanta · 3 months ago
One of my fondest memories was buying the book "The Elements of Computing Systems" by Nisan and Schocken, and implementing a 4-bit CPU in Minecraft.

4-bit is small enough that you can build it manually, without the use of external tools (which I don't think existed at the time anyways).

Highly recommended for children interesting in computing!

andrehacker · 3 months ago
>> One of my fondest memories was buying the book "The Elements of Computing Systems"

>> by Nisan and Schocken, and implementing a 4-bit CPU in Minecraft.

You confused me there, the book doesn't cover Minecraft, you did that yourself after reading the book, got it.

The book is absolutely fantastic, it is the basis for the "From Nand to Tetris" courses: https://www.nand2tetris.org/

I haven't digested it in full and with a title like that and the boring cover I always have to scramble to find it when I got a few minutes (What is that "Nand to Tetris" book called again?)

iterance · 3 months ago
I'm glad I'm not the only one. Built a tape drive and bootloader to load programs off it & everything...
kqr · 3 months ago
> (which I don't think existed at the time anyways)

This surprised me at first because I remember using Python to create Minecraft maps early on, or at least in the beta.

But it seems like redstone was added in the alpha, and the earliest commits of pymclevel (which I think I used) also dates back to the alpha. So there might indeed have been a time window of a few months in which redstone was available but not tooling for creating maps.

cosmic_quanta · 3 months ago
I remember starting playing Minecraft Beta, that was around 2011 maybe?

Even if tools to programmatically create maps were available, I wouldn't have known how to program. So this is more about my lack of knowledge of tools of the time.

2OEH8eoCRo0 · 3 months ago
Funny, I bought that book and studied it because I heard about it in a Minecraft video. Was that you? Nand2tetris helped me land my first programming job.
cosmic_quanta · 3 months ago
It was not me! Maybe we watched the same video though? I can't recall who or what gave me the idea
tobias3 · 3 months ago
What I also find amazing is the server software used to run it ( https://github.com/MCHPR/MCHPRS ):

- Re-implements parts of Minecraft

- Runs 512x512 plots in different threads

- Compiles Redstone applying different kind of optimization passes https://github.com/MCHPR/MCHPRS/blob/master/docs/Redpiler.md

- It had Jit backends before, but seems they have been removed

aubanel · 3 months ago
That title looked like clickbait until... Oh well they did actually did it
dude250711 · 3 months ago
It was probably done by an individual.
zooi · 3 months ago
"They" can also refer to an individual
Byamarro · 3 months ago
It is a bit of a clickbait since they used commandblocks, not just redstone. But it's still impressive
AndrewDucker · 3 months ago
From the video description: "I built a small language model in Minecraft using no command blocks or datapacks!"
utf_8x · 3 months ago
From the video description:

  I built a small language model in Minecraft using no command blocks or datapacks!

nomilk · 3 months ago
Can you explain the difference (for non-minecrafters)
NSPG911 · 3 months ago
there were no clickbaits there at all. no command blocks were used at all. if you were so certain, why dont you download the world and try it yourself?
fuzzy_biscuit · 3 months ago
I think you missed the 'no' in there. They did not use command blocks.
unleaded · 3 months ago
Here is an earlier, longer video on someone explaining how they built a neural network to recognise handwritten digits in Minecraft: https://www.youtube.com/watch?v=DQ0lCm0J3PM

It should answer some of the questions/clear up some of the confusion raised here (e.g. how they get the weights in).

dangoodmanUT · 3 months ago
Redstone computing theory: Everything technological breakthrough in computing will eventually be rebuilt in redstone
nonethewiser · 3 months ago
quantum computing
redman25 · 3 months ago
I guess redstone still somewhat follows the physics of electricity. Maybe a quantum simulator?
laszlokorte · 3 months ago
Are these kind of projects actually build manually inside of minecraft block by block or is there some verilog/vhdl to minecraft-level compiler toolchains used?
baobun · 3 months ago
They did not manually place hundreds of millions of blocks <:
buzzy_hacker · 3 months ago
It’s been awhile since I’ve played Minecraft, but when I built large redstone projects before, I built out each circuit manually and then used mods to copy/paste it within the game.
squigz · 3 months ago
And nowadays you can use Axiom, which is a much better experience than WorldEdit (WE still has its uses though!)

https://modrinth.com/mod/axiom

kqr · 3 months ago
There are libraries for e.g. Python to make Minecraft maps entirely programmatically, as well as convenient tools for editing maps by hand.
jalk · 3 months ago
Hoping the answer is: we used ChatGPT to create the build :)