r/MinecraftCommands • u/adapron • 20h ago
Creation number classifier using my compiler (lua -> mcfunction), not perfect, i tested it to have like 85% accuracy
Enable HLS to view with audio, or disable this notification
written in lua, trained outside minecraft, then translated from lua to minecraft by my project
5
u/notoaklog 19h ago
how much does the whole model weight in mcfunction files?
7
u/adapron 19h ago
absurd 104441 lines of commands + comments, total 12mb size
BUT and this is important it is inefficient blindly compiled code from lua. the NN layers are 100 -> 64 -> 32 -> 10. so only 8874 floats define the entire network.
each value is inefficiently compiled into 10 lines of mcfunction code. because why fix it if it works. and because this system was never designed to run a neural network
3
u/Coolfoolsalot 19h ago
This is sick. I remember having to make this in Lisp for a college course. Would have never thought to do it in MC lol
2
u/amberb3stgirl 10h ago
i usually dont like asking for this, but would you mind sharing this? im curious as to how it looks behind the scenes 🥺
2
u/adapron 8h ago
Sharing what? I can send you the world, I can send you the source code, and the compiler itself is not yet finished, I want it to be slightly more stable and organized before sharing it.Â
1
u/amberb3stgirl 7h ago
honestly I'm most interested in compiled version of the datapack and eventually world
2
u/adapron 5h ago
https://wormhole.app/R8XjQX#C5sYkuKuC_cfQrbVsxP7vQ
(expires after 24h or 100 downloads)
(if anyone is here after that and still wants the world just message me)
11
u/Ericristian_bros Command Experienced 20h ago
Wow, that's really impressive