I Made a Neural Network with just Redstone!

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 มิ.ย. 2024
  • To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/mattbatwings You’ll also get 20% off an annual premium subscription.
    Patreon: / mattbatwings
    Discord: / discord
    My socials: linktr.ee/mattbatwings
    My texture pack: modrinth.com/resourcepack/mat...
    World Download: (JAVA 1.18.2) www.planetminecraft.com/proje...
    IMPORTANT NOTE ABOUT USING THE WORLD DOWNLOAD, PLEASE READ!!! When drawing, make sure to make the numbers SMALL and centered. If you fill the screen with a number, it will not work. This is because the images in the MNIST dataset are small, and that’s what it was trained on.
    Code used in this video: github.com/mattbatwings/neura...
    Yannic's video: • I BUILT A NEURAL NETWO...
    Redstone Team: • 【Minecraft】World first...
    3b1b's much better MLP explanation: • But what is a neural n...
    My explanation of MLPs was inspired by • I made a Neural Networ...
    0:00 Intro
    0:23 Backstory
    2:02 MLP or CNN?
    2:43 MLP Explanation
    5:19 The Plan
    5:39 Python Simulation
    7:45 Input Layer
    8:43 Hidden Layer
    11:37 ReLU
    11:58 Output Layer
    13:09 Softmax (Kinda)
    15:25 Showcase
    16:10 Sponsor
    Music (in order):
    Astrophysics - Sweden (C418 synthwave/80s) • Sweden (C418 synthwave...
    HOME - Still Life • HOME - Still Life
    Helynt- Continue • Continue
    LitKidBeats - GOOD VIBES • [FREE] Happy Type Beat...
    Harris Heller - Guilty Spark • Guilty Spark
    Harris Heller - Streamline • Streamline
    Infraction - Photograph • Vlog lo-fi Anime Fashi...
    Harris Heller - Iridescent • Iridescent
    Harris Heller - Path Less Traveled • Path Less Traveled
    unfeel - Deep Blue • Deep Blue
    LuKremBo - biscuit • (no copyright music) l...
    Helynt - Moog City • Moog City
    LAKEY INSPIRED - Chill Day • LAKEY INSPIRED - Chill...
    Infraction - Serotonin • Vlog Lo-Fi Chill by In...
    HOME - We're Finally Landing • We're Finally Landing
    Blue Wednesday - New Shoes • Blue Wednesday - New S...
    Harris Heller - Plethora • Plethora
    LAKEY INSPIRED - The Process • LAKEY INSPIRED - The P...
    unfeel - Kinda Love • Kinda Love
    HOME - Head First • HOME - Head First
    Infraction - Jeju • Vlog Chill Hip-Hop by ...
    This video was sponsored by Brilliant
  • เกม

ความคิดเห็น • 2K

  • @mattbatwings
    @mattbatwings  หลายเดือนก่อน +432

    To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/mattbatwings
    You’ll also get 20% off an annual premium subscription.

    • @kraralmosawi7843
      @kraralmosawi7843 หลายเดือนก่อน +3

      ok man we got to address your genius 💀😭🙏

    • @maxtres764
      @maxtres764 หลายเดือนก่อน +1

      "Why should we try brilliant if we have you?"-me

    • @YSCU261
      @YSCU261 หลายเดือนก่อน +4

      i mean, neural networks, brilliant, it's all connected

    • @DieNow
      @DieNow หลายเดือนก่อน +2

      Did you use a cnn to make the mnist image reduced and input the weights in a feed forward neural network?

    • @gameingroom5829
      @gameingroom5829 หลายเดือนก่อน +1

      Thanks I love brilliant

  • @CraftyMasterman
    @CraftyMasterman หลายเดือนก่อน +7863

    if you guys think this is insane, it took this guy like 2 weeks to make this all start to finish this man is a MACHINE

    • @UsedObsidian
      @UsedObsidian หลายเดือนก่อน +44

      lol

    • @imsaturncat
      @imsaturncat หลายเดือนก่อน +112

      cwaftymwastewman:3

    • @Cleacat
      @Cleacat หลายเดือนก่อน +16

      Crazy 🎉

    • @thesoupbird
      @thesoupbird หลายเดือนก่อน +115

      im sorry WHAT

    • @marcusthegamer348
      @marcusthegamer348 หลายเดือนก่อน +32

      @@imsaturncat Ew

  • @wiki2014
    @wiki2014 หลายเดือนก่อน +5219

    ChatGPT playing minecraft: ❌️
    Minecraft running ChatGPT: ✅️

    • @alibrahym
      @alibrahym หลายเดือนก่อน +47

      Yeah bro they'll make a server, represent the internet, someone will then recreate chatgpt with redstone make it learn alot and people would be able to use it, but the problem is redstone is very slow, so they have to speed up the time so much, that it even responses in a "ok" time.

    • @Centorym
      @Centorym หลายเดือนก่อน +19

      Someone NEEDS to make a chat GPT in minecraft, I Don't care if it uses command blocks, it would be so cool!

    • @tung-hsinliu861
      @tung-hsinliu861 หลายเดือนก่อน +58

      @@Centorym The GPT language models are so huge that, if we convert the whole model into redstone, the scale of the redstone machine will be so large that it will not even fit within render distance!
      For comparison chatGPT model size is somewhere about 10 million~10 billion times larger than the number-recognitoin model.
      Yeah I think command blocks is the only way to go, but even that the amount of command blocks would be monumental!
      And the labor of copying the entire model by hand...
      I think the conversion process has to be automated to be feasible

    • @Ari_Fudu
      @Ari_Fudu หลายเดือนก่อน +11

      @@tung-hsinliu861 then we must settle for a very barebones version that has predetermined responses - although that'll be more of a magic 8ball ngl

    • @crispinotechgaming
      @crispinotechgaming หลายเดือนก่อน +25

      ​@@Ari_Fudubut then it's not a neural network

  • @devultra1125
    @devultra1125 27 วันที่ผ่านมา +93

    Bro, people out there creating neural networks in Minecraft, and I'm struggeling opening a chocalate bar while watchin them

    • @Spiinosauro
      @Spiinosauro 17 วันที่ผ่านมา +1

      Bruh

  • @giosee_
    @giosee_ 27 วันที่ผ่านมา +203

    the ONLY person on youtube that managed to explain neural networks in seconds, it took me days of research to understand them, be able to make and explain them

    • @libertyjensen6321
      @libertyjensen6321 7 วันที่ผ่านมา +2

      Imma be perfectly honest I still ain't understand

    • @giosee_
      @giosee_ 7 วันที่ผ่านมา +1

      @@libertyjensen6321 skill issue 😔

    • @libertyjensen6321
      @libertyjensen6321 7 วันที่ผ่านมา

      @@giosee_ zoinks 😔

    • @Shadowfury22
      @Shadowfury22 6 วันที่ผ่านมา

      @@libertyjensen6321 If a particular pixel on the input is lighted up, chances are you can make a list of numbers that could have that pixel included in their final drawing, as well as a list of numbers that are very unlikely to have that one included in theirs. If you combine all of these lists from each pixel on the input, then you can get on the output how likely it is that each of the numbers was the one actually drawn.
      Everything else (hidden layers, weights, biases, etc) is just an algorithmic way to process and combine the "lists" of information made in an ingenious manner that allows you to automatically pre-generate the lists (a.k.a. get the values for weights and biases) by "training" the network beforehand (which in reality is as simple as than taking every possible final drawing to begin with, looking at the pixels that are lighted up in each of them and storing that information).

    • @gpt-jcommentbot4759
      @gpt-jcommentbot4759 6 วันที่ผ่านมา

      @@libertyjensen6321 its multiplying a bunch of numbers (the input pixels) with a bunch of set values (the weights), then adding a bias (should the neuron be biased towards negative or positive activation) then adding a nonlinearity (any function which cannot be plotted as a single line)

  • @Ierzi
    @Ierzi หลายเดือนก่อน +2378

    This was 100% a brilliant partnership

    • @bummbumm6
      @bummbumm6 หลายเดือนก่อน +38

      It was 💀

    • @muslimgamerrr9479
      @muslimgamerrr9479 หลายเดือนก่อน +5

      😂

    • @bmmyes
      @bmmyes หลายเดือนก่อน +6

      you were right !!

    • @That1CelloGuy
      @That1CelloGuy หลายเดือนก่อน +4

      bad pun (·n·)-p

    • @PixieNixie5
      @PixieNixie5 หลายเดือนก่อน +1

      LMAO

  • @NoahWolfe
    @NoahWolfe หลายเดือนก่อน +320

    You solved a number of difficult problems elegantly, but your amazing ability to communicate those ideas both visually and with narrative ease really stands out. Fantastic piece of content my dude.

    • @EEEEEEEE
      @EEEEEEEE 9 วันที่ผ่านมา

      E‎ ‎

  • @chaosinsurgency884
    @chaosinsurgency884 26 วันที่ผ่านมา +22

    Your transcript for college, internships, and future jobs in computer science is gonna be so stacked

  • @pegasaurisrex9707
    @pegasaurisrex9707 26 วันที่ผ่านมา +34

    I just did a machine learning course last semester, and your 2 minute explanation for an MLP network was way easier to understand than our textbooks chapter that covered it. This entire build is insane, amazing work!

  • @TCCPeanutButter
    @TCCPeanutButter หลายเดือนก่อน +878

    I’m struggling on a 2x2 this dudes making a Neural Network.

    • @MrFiveHimself
      @MrFiveHimself หลายเดือนก่อน +35

      dont worry dude! it just takes time! You should watch his logical redstone reloaded series. (both new and old). they’re really helpful in understanding how computational redstone works. After that, just try to make an ALU. Its an amazing starting goal and once you’ve made your own, you can confidently say you’re proficient. I wish you luck on your journey

    • @takyc7883
      @takyc7883 หลายเดือนก่อน +86

      its 4

    • @Asheetanshu
      @Asheetanshu หลายเดือนก่อน +8

      ​@@takyc7883he is talking about door

    • @MrFiveHimself
      @MrFiveHimself หลายเดือนก่อน +42

      @@takyc7883 god damnit i laughed way too hard at that

    • @nynvib276
      @nynvib276 หลายเดือนก่อน +2

      ​@@MrFiveHimself That's assuming the commenter is not on bedrock.

  • @puppypalice
    @puppypalice หลายเดือนก่อน +1345

    We’re getting to the point where pretty soon someone is gonna recreate the nes in minecraft, or make doom in minecraft, im betting that within 10 years someone will get either doom or super Mario bros or the legend of Zelda running just off redstone

    • @thisflyingpotato4227
      @thisflyingpotato4227 หลายเดือนก่อน +234

      Idk about other games but doom already exist, someone ran it on his redstone computer (I believe it was called IRIS) I'll get back and edit this comment with the code of the video
      (edit) _SvLXy74Jr4 Also I have no idea if this has been done before

    • @frkieran
      @frkieran หลายเดือนก่อน +17

      such an original comment

    • @proceduralism376
      @proceduralism376 หลายเดือนก่อน +41

      Modpunchtree already ran doom on his cpu iris you can look up the video

    • @feeries8208
      @feeries8208 หลายเดือนก่อน +26

      @@proceduralism376 yeah and its only 28~32s for each frame

    • @adryanlucas096
      @adryanlucas096 หลายเดือนก่อน +5

      A NES Emulator in minecraft would be CRAZY

  • @viaJustin1910
    @viaJustin1910 29 วันที่ผ่านมา +21

    This is such a good demonstration that every hard problem is just a ton of smaller easier problems.

    • @glowerworm
      @glowerworm 6 วันที่ผ่านมา

      This is also a good demonstration that there is always someone out there smarter than you could ever be lol

  • @guyleroy8022
    @guyleroy8022 27 วันที่ผ่านมา +6

    Amazing project, congrats. Note: instead of multiplying the weights by 100, you can perform post-training int8 quantization to maintain most of the original accuracy.

  • @mmdts
    @mmdts หลายเดือนก่อน +353

    In 16-bit logic, you can replace division by 15 by a multiplication by -30583 (32 bit result), three shifts, and two addition operations. You can easily figure this out by compiling a function that returns its 16-bit argument divided by 15 on clang with -O2, and what's efficient to do on silicon fabric (integers over floats, and multiplication over division) is almost always efficient in minecraft too.
    As for softmax, in 2021, researchers at nvidia created a hardware-efficient softmax replacement called "softermax" that is realistically implementable in minecraft.
    I'm not a minecraft expert, but I love seeing hardware implementations of functions, and minecraft is no exception.

    • @law1337
      @law1337 17 วันที่ผ่านมา +17

      Just because a function is hardware-efficient doesn't necessarily mean it can be easily or efficiently implemented in Minecraft, but it's an interesting point.

    • @LtDan-fy7lc
      @LtDan-fy7lc 15 วันที่ผ่านมา +3

      @@law1337 "what's efficient to do on silicon ... is almost always efficient in Minecraft too."
      Java: *raises eyebrow*

  • @lolmom5004
    @lolmom5004 หลายเดือนก่อน +1252

    my brother in christ, IT TOOK ME TWO MONTHS TO MAKE A NETWORK FROM SCRATCH THAT SOVLED THE MNIST DATASET IN PYTHON AND YOU DID IT IN REDSTONE IN 2 WEEKS, i applaude you, you redstone genius

    • @WoolyCow
      @WoolyCow หลายเดือนก่อน +62

      lol there is a video i love of some bloke just writing it in like half an hour :> watching it is great way to lose confidence in your abilities

    • @GustvandeWal
      @GustvandeWal หลายเดือนก่อน +3

      ​@@WoolyCow Link?

    • @WoolyCow
      @WoolyCow หลายเดือนก่อน +37

      @@GustvandeWal yt doesn't play nice with links, but its called "Building a neural network FROM SCRATCH (no Tensorflow/Pytorch, just numpy & math)"

    • @GustvandeWal
      @GustvandeWal หลายเดือนก่อน +4

      @@WoolyCow Thx!
      (Most copy the part after /watch?v= 🙂)

    • @WoolyCow
      @WoolyCow หลายเดือนก่อน

      @@GustvandeWal oh lol i shouldve thought of that! thanks for the tip :D

  • @OszkarFulop
    @OszkarFulop หลายเดือนก่อน +17

    mattbatwings in 1 year: I Made a Technological Singularity with just Redstone!

  • @andysslayer
    @andysslayer หลายเดือนก่อน +21

    We got AI in Minecraft before GTA 6

  • @matercan5649
    @matercan5649 หลายเดือนก่อน +510

    The internet is such a cool place, imagine having a degree and choosing it to build real video games and software into minecraft and share it for a job, instead of actually building the video games and software, and making a living from that. The internet is so cool.

    • @Louis13XIII
      @Louis13XIII หลายเดือนก่อน

      Gaming companies are so scummy and exploitative that honestly that's ain't really a bad deal after all

    • @VortexFlickens
      @VortexFlickens หลายเดือนก่อน +3

      A forum for all ppl from stupid kids to Elon Musk

    • @watema3381
      @watema3381 28 วันที่ผ่านมา

      @@VortexFlickens Not much of a flattering comparison for stupid kids don't ya think?

    • @Esiv0_
      @Esiv0_ 27 วันที่ผ่านมา +14

      @@VortexFlickens you said stupid kids twice

    • @Meyer-gp7nq
      @Meyer-gp7nq 26 วันที่ผ่านมา

      Wow look at the stupid kids hating on Elon cause he’s successful. Someone made a joke, cope

  • @flameofthephoenix8395
    @flameofthephoenix8395 หลายเดือนก่อน +410

    14:19 Exponentiation is pretty simple, just convert the exponent to a binary number, then for each bit that is turned on you add the corresponding exponent, and to get the list of corresponding exponents you just start with the number you're raising to the power of the exponent and multiply by two each step. Here's an example, if you have 5^7 then it will convert 7 to binary which is 111 then it will multiply 5, 25, and 625 to get 78,125 which is the correct answer.

    • @skaleee1207
      @skaleee1207 หลายเดือนก่อน +86

      Also known as Square-And-Multiply algorithm

    • @flameofthephoenix8395
      @flameofthephoenix8395 หลายเดือนก่อน +65

      @@skaleee1207 Nice! I didn't know its official name. Originally, I thought I was the first person to come up with it, I remember being quite proud of it, later on I learned that it already existed, but I didn't know the name until now! That name is a lot simpler than my explanation and will allow people to find more information on it too, thanks!

    • @sebastiangrau8409
      @sebastiangrau8409 หลายเดือนก่อน +26

      This is an exponential with eulers number. Any output would be irrational and very messy. I understand why he would avoid this.

    • @antarctic214
      @antarctic214 หลายเดือนก่อน +9

      You could do it with base 2 (or 4), its just changing the "temperature". In that case exponentiation is trivial (bitshift). But you still have to do division.

    • @Rudxain
      @Rudxain หลายเดือนก่อน

      That's like shift-and-add but for exp instead of mul

  • @SebastianWellsTL
    @SebastianWellsTL วันที่ผ่านมา +2

    It's so weird and amazing to see technology advance in a game.

  • @coltith7356
    @coltith7356 8 วันที่ผ่านมา +1

    That's super cool ! I like that you explained the difficulties you had and how you overcame them, makes everything less mystical and really helps understand why you do what you do

  • @Knarfy
    @Knarfy หลายเดือนก่อน +230

    I will likely never fully understand these videos, but man are they impressive 👏
    Incredible work! My brain is fried

    • @Centorym
      @Centorym หลายเดือนก่อน +5

      ive never seen people not reply to a famous youtuber lol

    • @Flupus
      @Flupus 24 วันที่ผ่านมา

      Hi knarfy

    • @Flupus
      @Flupus 24 วันที่ผ่านมา +1

      Are you gonna be doing "Breaking a neural network with your dumb ideas"?

    • @ThatGuyNyan
      @ThatGuyNyan 19 วันที่ผ่านมา

      Fried brain 🤤

    • @Centorym
      @Centorym 18 วันที่ผ่านมา

      @@ThatGuyNyan run knarfy RUN before this guy makes a 3 course meal from you

  • @IGaming73
    @IGaming73 หลายเดือนก่อน +923

    We got real AI in Minecraft before GTA 6

    • @krinodagamer6313
      @krinodagamer6313 24 วันที่ผ่านมา +13

      Diabolical

    • @goldfishglory
      @goldfishglory 23 วันที่ผ่านมา +16

      😭😭WE ONLY HAVE A COUPLE YEARS TO MAKE THESE JOKES; EVERYTHING WILL STOP BEING IMPRESSIVE SINCE ITS AFTER GTA 6

    • @_sandy_
      @_sandy_ 23 วันที่ผ่านมา +3

      i came here looking for this comment LMFAO

    • @NolanHOfficial
      @NolanHOfficial 22 วันที่ผ่านมา +16

      ​@@goldfishglorywe got gta 6 before gta 7 - some guy in 2093

    • @goldfishglory
      @goldfishglory 22 วันที่ผ่านมา

      @@NolanHOfficial true

  • @natthekiwi7074
    @natthekiwi7074 หลายเดือนก่อน +2

    I was trying to come up with a project to add to my resume and you just simplified me to focus on ML. Thank you! :)

  • @lauchaufraedern
    @lauchaufraedern 26 วันที่ผ่านมา +2

    This is absolutely insane, keep up the good work!

  • @capsey_
    @capsey_ หลายเดือนก่อน +147

    offtopic but recently started second semester on my computer science in college and was like "omg it's mattbatwings thing" the whole lecture because i already learned most of the stuff they were talking about from you 💀

  • @bens8419
    @bens8419 หลายเดือนก่อน +196

    It’s always a good day when a mattbatwings Video is on my recommended

    • @CubeXC
      @CubeXC หลายเดือนก่อน +3

      Brp you could not get recommended this before premiere

    • @user-yp6gm2wi9d
      @user-yp6gm2wi9d หลายเดือนก่อน +2

      Same

    • @pauliesnug
      @pauliesnug หลายเดือนก่อน +2

      @@CubeXC you can. before a premire starts, it can be recommended

  • @Kirbogun
    @Kirbogun 24 วันที่ผ่านมา +9

    1 step closer to google in minecraft

    • @Fineas_Bondar
      @Fineas_Bondar 11 วันที่ผ่านมา

      There is a mod that uses block's as a screen and it connects to Google's url so thechnicly you can wach TH-cam in Minecraft

  • @arthurmorais7930
    @arthurmorais7930 หลายเดือนก่อน

    dude! seriously, from the bottom of my heart, you deserve sooooo much more recognition! thank you for this fantastic content

  • @kevinjerome5954
    @kevinjerome5954 หลายเดือนก่อน +56

    At this rate in 5 years I'm going to see a video on my homepage from mattbatswings where he ports the entire Linux kernel into Minecraft

    • @kaz49
      @kaz49 18 วันที่ผ่านมา +2

      Well, they do say that Linux runs on just about anything

  • @TheKikou18
    @TheKikou18 หลายเดือนก่อน +195

    Actually you only need to be continuous for training, for deployment you can drastically decrease the precision
    Without losing accuracy, if you do it right
    There's a paper where they reduce it all the way to one bit per neuron, which is a perfect fit for minecraft
    (And I'm pretty sure also to 4 bits, which would fit signal strength applications)

    • @user-yi8uz2ph1y
      @user-yi8uz2ph1y หลายเดือนก่อน +32

      quantization baby

    • @MilkGlue-xg5vj
      @MilkGlue-xg5vj หลายเดือนก่อน

      ​​@@user-yi8uz2ph1y Imagine getting a binary quantization good at mnist lol

    • @whatisrokosbasilisk80
      @whatisrokosbasilisk80 หลายเดือนก่อน +13

      Even for training, you can use quantization-aware or non-differentiable methods and meet parity on inference during training.

    • @MilkGlue-xg5vj
      @MilkGlue-xg5vj หลายเดือนก่อน

      @@whatisrokosbasilisk80 That's what I'm talking about

    • @MrSonny6155
      @MrSonny6155 หลายเดือนก่อน +1

      I'm guessing this is the BNN paper by Courbariaux et al. from 2016? I'm skimming through the claims and it's insane what quantization can theoretically do.

  • @stackootb9822
    @stackootb9822 24 วันที่ผ่านมา

    This taught me about implementing neural networks better than a lot of learning resources I've watched. Good work

  • @ckjdinnj
    @ckjdinnj 15 วันที่ผ่านมา

    Great work! You helped me gain a better understanding of the weights. I don’t know why i was having a hard time grasping how the weights worked. Thank you

  • @NEOMatrix-bd7uo
    @NEOMatrix-bd7uo หลายเดือนก่อน +27

    I never thought a Minecraft video will teach me neural network better than my teacher, thanks for the upload

  • @novantha1
    @novantha1 หลายเดือนก่อน +29

    The first thing that comes to mind is a recent cutting edge implementation of QAT (quantization aware training) called Bitnet 1.58; it operates on different principles than a standard MLP. It replaces the Matrix multiplication with binary operators (addition, subtraction, or no-ops), so it's fast in inference deployment and cheap in that you can sort of fit a single "unit" of weights into 1.58 bits (though it's easier to just do it as a 2bit implementation with one state unused). It'd probably be way faster in a Minecraft context as one of the biggest disadvantages in IRL deployment, that you need custom hardware to take full advantage of the speed improvements, isn't really a disadvantage in a bespoke system.
    Anyway, the biggest difference is in the training process; it's trained at Int8 or FP8 (if memory serves, it's been a little while), and is then downscaled to the 1.58bit representation, but the information lost in that conversion to ternary values is preserved in a weight reconstruction matrix, basically. The end goal is that the network is made aware that it will be converted to a ternary representation. Hence, "quantization *aware* training", so you might be able to preserve more of the accuracy of the floating point model than you thought.
    Strictly speaking, the full bitnet implementation is a Transformer network, but it should still apply to raw MLPs given that they started with the FFN (essentially an MLP placed inside a more complex network with self attention and a language head).

  • @ahmad777-noob3
    @ahmad777-noob3 14 วันที่ผ่านมา

    The way you explained all of those deep learning terms in simple words is just marvelous!

  • @adamburningham
    @adamburningham 8 วันที่ผ่านมา

    Just another comment saying I'm thoroughly impressed, both in your execution and your explanation of neural networks. Thank you!

  • @nik7069
    @nik7069 หลายเดือนก่อน +13

    Brother.
    I spent a while learning how to make neural networks as a school project, and just doing this from scratch, in redstone is absloutely astonishing. Legend, Mattbat.

  • @OrangeBoyAdventures
    @OrangeBoyAdventures 11 วันที่ผ่านมา

    This is amazing bro. Great job!

  • @HeavenComet
    @HeavenComet หลายเดือนก่อน

    yooooo this is such a big inspiration since for a year or two now ive been working on and off on an AI that speedruns minecraft and i kinda stopped working on it for awhile but i think i might go back to it bc of this! this video brought it all back

  • @pikagamer9676
    @pikagamer9676 หลายเดือนก่อน +26

    Nice i also thought at first that your going to train the model in Minecraft but it seems that if its going to happen its going to be a whole other story

    • @dumblr
      @dumblr หลายเดือนก่อน +2

      wait 2 more weeks lol

  • @LazyGuy-ne3ox
    @LazyGuy-ne3ox หลายเดือนก่อน +29

    That's incredible! Combining neural networks with Minecraft is pure genius. Keep up the amazing work!

  • @JohnathonShell
    @JohnathonShell 24 วันที่ผ่านมา

    This was so cool man. Great job!

  • @THEORANGER-hv7sg
    @THEORANGER-hv7sg 3 วันที่ผ่านมา

    Very comprehensive explanation on neural networks. Appreciate it man

  • @LightslicerGP
    @LightslicerGP หลายเดือนก่อน +18

    Amazing
    I hope you mention the first guy who did a neural network thing in minecraft, recognising numbers
    Edit: he did

    • @ThiaGamesBR
      @ThiaGamesBR หลายเดือนก่อน +1

      Feels good to comment before watching the video...

    • @two697
      @two697 หลายเดือนก่อน +3

      Why would you comment this before watching the video. He mentioned the other guy very early on in the video

    • @doctoroppa7991
      @doctoroppa7991 23 วันที่ผ่านมา

      Twitter rot

  • @infinitearcstudios
    @infinitearcstudios หลายเดือนก่อน +23

    This is great work! I never thought we would have machine learning with just Redstone.

    • @bintangramadan3217
      @bintangramadan3217 หลายเดือนก่อน

      There's a guys who made this 1 year ago lol in minecraft

    • @The.Sponge
      @The.Sponge หลายเดือนก่อน +2

      @@bintangramadan3217 Yeah but Mattbatwings is aware of that so maybe there will be something new?

    • @CubeXC
      @CubeXC หลายเดือนก่อน +1

      You could npt have seen it yet, stop saying stuff just to get like. It was before premiere

    • @mineq4967
      @mineq4967 หลายเดือนก่อน +16

      its not machine learning, he just pasted the weights and biases into the neural network, not making it learn itself like a machine learning algorithm would

    • @Louis13XIII
      @Louis13XIII หลายเดือนก่อน

      @@mineq4967 yeah that's a bit deceptive tbh

  • @liamloveslunch
    @liamloveslunch 19 วันที่ผ่านมา

    Really great video. Also you demonstrate how easy making a neural network can be. You just explained everything very well. Will inspire people. Inspired me.

  • @Proman4713
    @Proman4713 27 วันที่ผ่านมา +3

    I just started the first few seconds of the video... the Minecraft soundtrack remix is awesome! Gives you a liiitle bit of the nostalgia of the original soundtrack but it feels so cool

  • @bright_minary6537
    @bright_minary6537 หลายเดือนก่อน +2

    You just reinvented the integer quantization! Nice job🎉

  • @rubensf7780
    @rubensf7780 หลายเดือนก่อน +30

    Now please make a calculator where you can draw the numbers yourself (using a neural network and calculator) that would be awesome

  • @jhoylangoncalves3127
    @jhoylangoncalves3127 19 วันที่ผ่านมา

    Man, that looks so fun.
    Congratulations.

  • @DiamondzFinder_
    @DiamondzFinder_ 28 วันที่ผ่านมา

    I'm always happy to see what wizardry you come up with. Keep being awesome man!

  • @NieMamNicku
    @NieMamNicku หลายเดือนก่อน +6

    respect for the sponsor's dish at the end of the episode

  • @TimeWisely
    @TimeWisely หลายเดือนก่อน +3

    Wow, that's actually crazy, good on you!

  • @noahflood
    @noahflood 20 วันที่ผ่านมา

    Dude this is so amazing. To have the skill to make a machine like this, understand the math and computations behind it, minecraft knowledge, and the video production after it all? That's amazing

  • @Darockam
    @Darockam 10 วันที่ผ่านมา

    Congratulations, that's so cool! I used to do a lot of redstone back then, so I love seeing people pushing the limits further and further with it :)

  • @fearofthechippan
    @fearofthechippan หลายเดือนก่อน +13

    This is honestly incredible. I wish this was around when I was studying these concepts, would have helped me understand back propagation and softmax so much quicker

  • @Pohakoo
    @Pohakoo หลายเดือนก่อน +3

    WHAT THIS IS THE VIDEO I’VE BEEN WAITING FOR OMGGGG

  • @riczardo8588
    @riczardo8588 28 วันที่ผ่านมา +1

    I'm IT student too and it's soo amazing to watch!

  • @befikerbiresaw9788
    @befikerbiresaw9788 23 วันที่ผ่านมา +1

    Dude your project just made me fully understand MLPs and neural networks thank you.

  • @youMatterItDoesGetBetter
    @youMatterItDoesGetBetter 19 วันที่ผ่านมา +3

    Congrats, you passed your PhD thesis.

  • @ALPRNX422
    @ALPRNX422 หลายเดือนก่อน +12

    at this point bro is gonna make hooman brain in redstone dang good job

    • @ziphy_6471
      @ziphy_6471 หลายเดือนก่อน +1

      Cringe

    • @ALPRNX422
      @ALPRNX422 หลายเดือนก่อน +1

      @@ziphy_6471 omg its linus no way 🔥🔥🔥

    • @ziphy_6471
      @ziphy_6471 หลายเดือนก่อน +2

      @@ALPRNX422 I have several children in my basement

    • @ALPRNX422
      @ALPRNX422 หลายเดือนก่อน +1

      @@ziphy_6471 cool

    • @ziphy_6471
      @ziphy_6471 หลายเดือนก่อน

      @@ALPRNX422 Will you be my next OwO UwU * turns up bulge *

  • @mustiz1898
    @mustiz1898 6 วันที่ผ่านมา

    This man is SEVERELY underrated. He made this whole thing in 11 days.

  • @holthuizenoemoet591
    @holthuizenoemoet591 24 วันที่ผ่านมา +1

    So a really cool detail is how you handle the floating point limitation, this is actually really close to some quantitation solutions, look at the paper : "The Era of 1-bit LLMs: All Large Language Models are in 1.58 Bits" if you have the time, you might find further optimizations there

  • @etienneweidenfeld6468
    @etienneweidenfeld6468 25 วันที่ผ่านมา +4

    Bro is bout to build a quantum computer in Minecraft… 💀

  • @dreamer964
    @dreamer964 หลายเดือนก่อน +31

    NO DONT TAKE OUR REDSTONE ENGINEERS JOBS

  • @ItsMerle.
    @ItsMerle. หลายเดือนก่อน

    You’ve outdone yourself again, great Job! 🙌🏻

  • @ttking
    @ttking 22 วันที่ผ่านมา +1

    I think you create videos that are worth subscribing for. Good job!

  • @error.418
    @error.418 หลายเดือนก่อน +8

    Can't say enough about how great it is that you showed prior work from others in the community before digging in to your version. That's what we want to see in the community ❤

  • @humanperson8418
    @humanperson8418 หลายเดือนก่อน +94

    Ok, now make an AI assisted shape drawing tool for your paint program.
    e.g. draw a bad square, it draws a good square with the same width and height.
    draw an ugly number, it fixes it by converting it to the closest possible number with correct dimensions.

    • @SuitedGhost
      @SuitedGhost หลายเดือนก่อน +31

      that sounds like pure hell
      I love it

    • @alluseri
      @alluseri หลายเดือนก่อน +4

      nah

    • @NoVIcE_Source
      @NoVIcE_Source 26 วันที่ผ่านมา +2

      @@alluseri i like how google translate assertively translates this to "Now"

  • @Gunbudder
    @Gunbudder 10 วันที่ผ่านมา

    this is amazing showcase of what a NN is and how it works. i worked with NN's for years and i still struggle sometimes lol

  • @kindstranger3871
    @kindstranger3871 6 วันที่ผ่านมา

    I remember having my mind blown when I saw the first working computer in minecraft... the redstone was so enormous for the time. To see neural networks in minecraft a little over 10 years later is truly staggering. I'm no one of any real note but I just want you to know that you have impressed me and I am not easily impressed.

  • @KiwiRedstone
    @KiwiRedstone หลายเดือนก่อน +7

    Wait what!???? Please tell me that this is just uploading the model into redstone and not all complex things like backpropagation to train the NN inside Minecraft...

    • @FriedMonkey362
      @FriedMonkey362 หลายเดือนก่อน +4

      For simple nural networks you dont really need backpropagation, you can just randomize the values until it gets better, itll take longer to train and wont be as efficient but its way easier to do

    • @bintangramadan3217
      @bintangramadan3217 หลายเดือนก่อน +1

      Bro there's a guy from Chinese who made neural Network in mine5 1 year ago lol

    • @Abcdef0101_
      @Abcdef0101_ หลายเดือนก่อน

      ​@@bintangramadan3217Send the vid pls

    • @boblol1465
      @boblol1465 หลายเดือนก่อน +3

      yes it is uploading the model into redstone dw

    • @KiwiRedstone
      @KiwiRedstone หลายเดือนก่อน

      At least...

  • @InsertName404
    @InsertName404 หลายเดือนก่อน +4

    How did u get around the network being bad at actual digit recognition, due to the MNIST data set all being perfectly centered?

    • @ferguspick6845
      @ferguspick6845 24 วันที่ผ่านมา +1

      A simple MLP can learn a pretty good representation already for this dataset, but one easy approach would be to transform the input images (e.g. skew, rotate) and add these as additional training samples, this makes the learned representations even more robust :)

    • @InsertName404
      @InsertName404 24 วันที่ผ่านมา

      @@ferguspick6845 tysm

  • @diegomarni1754
    @diegomarni1754 25 วันที่ผ่านมา

    This is such an amazing work I even applauded when the video ended. While watching the showcase I noticed that the 8 was always on the same confidence range, could this be a bug? Anyway this is incredible, Congratulations!!

  • @Pafiya256
    @Pafiya256 26 วันที่ผ่านมา +3

    We are getting AI in minecraft before GTA VI comes out 💀💀

  • @NimproductionsYT143
    @NimproductionsYT143 หลายเดือนก่อน +7

    I’m a time traveler and mattbatt has recently made a human brain in Minecraft

    • @Meyer-gp7nq
      @Meyer-gp7nq 26 วันที่ผ่านมา

      He also made a Time Machine in Minecraft which is how you’re here I assume

    • @NimproductionsYT143
      @NimproductionsYT143 26 วันที่ผ่านมา

      @@Meyer-gp7nq Naturally

  • @lev7509
    @lev7509 2 วันที่ผ่านมา

    The UI taking up more space than the actual "meat" of a program/machine is so very typical of development!
    That said, this is wonderful. It really feels good when a redstone circuit works, works well, and even looks structured! Bravo

  • @CreateGuy4
    @CreateGuy4 19 วันที่ผ่านมา +1

    The first time I understood such a viedo! thanks! and please keep going!

  • @nesicvojin
    @nesicvojin หลายเดือนก่อน +37

    So... For all of you without experience with neural networks, this isn't a whole thing (not even close). He is placing weights which he already got from training in Python. Even though this is impressive, it's way less impressive than some of his other builds. Training a neural network would be impossible in Minecraft because of all the math it requires which isn't possible (or extremely hard and slow) in Minecraft... I hope I cleared things out :)

    • @Dimitri_gdr
      @Dimitri_gdr หลายเดือนก่อน +1

      You're right, but had to do that and the result is still pretty cool

    • @andreabassi4521
      @andreabassi4521 หลายเดือนก่อน +2

      It's not impossible, maybe with a lighter neural network the training process will be possible.

    • @teabow.
      @teabow. หลายเดือนก่อน +1

      it's a neural network

    • @TheKastellan
      @TheKastellan หลายเดือนก่อน +3

      I mean it pretty obviously isn't the whole thing, and regardless it is still impressive. Logical redstone is pretty much "just" how you chain different circuits together so saying that it is any less impressive doesn't really make sense. Also even if it is just hard coding the weights, it is STILL a valid neural network model. Weird comment.

    • @flameofthephoenix8395
      @flameofthephoenix8395 หลายเดือนก่อน +1

      I'm not extremely familiar with Minecraft, but I suspect that second half of what you said, "extremely hard or slow" is more accurate, though there would of course be memory limitations of the computer itself being unable to store all of the redstone. However, assuming the world file isn't too large Minecraft should be Turing complete.

  • @YuraSuper2048
    @YuraSuper2048 หลายเดือนก่อน +3

    bro casually invented quantization by himself 💀

  • @huynhat1799
    @huynhat1799 17 วันที่ผ่านมา +1

    Although I didn't actually understand what you were doing, it's always fascinating how those people like you has pushed the minecraft redstone community so far. Keep up with your work!

    • @AnimePlace-FR
      @AnimePlace-FR 17 วันที่ผ่านมา

      Simple words, he made Ai

  • @JohnSchley
    @JohnSchley 25 วันที่ผ่านมา

    massive kudos dude, seriously impressive!!!

  • @sabersakin3685
    @sabersakin3685 18 วันที่ผ่านมา

    As a minecraft player and having experience in ML for over one year, i''m literally blown away!!! This is truly amazing.

  • @miltontinoco9851
    @miltontinoco9851 3 วันที่ผ่านมา

    Your work is incredible! I have a lot of trouble working with PyTorch to create a neural network, and the fact that you were able to do it in Minecraft is mind-blowing.

  • @doce3609
    @doce3609 หลายเดือนก่อน

    You are crazy. Amazing work. And also getting a sponsor.
    Nice work man

  • @Martipops
    @Martipops 28 วันที่ผ่านมา

    Okay the bit shift caught me off guard. Absolutely amazing work

  • @braveecologic2030
    @braveecologic2030 20 วันที่ผ่านมา

    Yep definitely cool. You just said about integers being needed for minecraft and I'm thinking so you just multiply it up... sounds obvious but its only because you were already talking about it. So good.

  • @DeveloperJake
    @DeveloperJake 15 วันที่ผ่านมา

    That’s a marvelous creation to be able to feature on your portfolios.

  • @wonjontheaxolotl
    @wonjontheaxolotl 26 วันที่ผ่านมา +1

    this is absolutely crazy, as someone who took machine learning in uni i never thought that this was possible in minecraft, mind blown!

  • @GoldDeniel
    @GoldDeniel 23 วันที่ผ่านมา

    I finally understand how these neural networks work. Thank you!

  • @ParkerJaster
    @ParkerJaster 26 วันที่ผ่านมา

    This video was awesome!! It taught me the basics of machine learning but related it all to Minecraft. The perfect combo!

  • @claironaut
    @claironaut 24 วันที่ผ่านมา

    This is so cool. Congratulations!

  • @imabioligist1882
    @imabioligist1882 17 วันที่ผ่านมา +1

    bro what you are a genuine genius. I do not mean this non-literally, you are a genius

  • @shivajoshi9068
    @shivajoshi9068 หลายเดือนก่อน

    this was amazing! im really curious how would you have applied sigmois or leaky relu in this!

  •  24 วันที่ผ่านมา

    Awesome job and great explanation

  • @lemonade4076
    @lemonade4076 24 วันที่ผ่านมา

    I’m currently in my second year of computer engineering who’s spent the past 12 months learning about AI, transformers and LLMs. This has to be the coolest implementation and application of the things I am learning I have ever seen. Combines my favourite childhood game with my career aspirations.

  • @JuniorJunison
    @JuniorJunison 5 วันที่ผ่านมา

    I love that you can recreate digital logoc in minecraft. I remember making adders and logic gates after learning about them in my digital logic circuit design class.

  • @paulpickett4522
    @paulpickett4522 23 วันที่ผ่านมา

    That's stunning. Well done, sir =)

  • @TheHypogriphQc
    @TheHypogriphQc 16 วันที่ผ่านมา

    Just wow! You got some skills there.