Simple Artificial Neural Network entirely in assembly language

  Рет қаралды 7,981

Computing Mongoose

Computing Mongoose

Күн бұрын

Пікірлер: 71
@ComputingMongoose
@ComputingMongoose 2 ай бұрын
The code for my simple assembly language artificial neural network is now on github: github.com/ComputingMongoose/AsmANN
@academicpresentations6062
@academicpresentations6062 2 ай бұрын
Someone is going down a rabbit hole for nerdy people like me and we are very grateful for that
@ComputingMongoose
@ComputingMongoose 2 ай бұрын
Glad you enjoyed it !
@iCrimzon
@iCrimzon 2 ай бұрын
Ive always made jokes about writing NNs in x64 ASM or COBOL on programming language vids but this guy actually did it. You made my dream come true.
@ComputingMongoose
@ComputingMongoose 2 ай бұрын
Always happy to make someone's dream come true 😅
@iCrimzon
@iCrimzon 2 ай бұрын
@@ComputingMongoose now im gonna copy your code and put my money where my mouth is, learn to make NNs in asm even if its just twice for fun
@ComputingMongoose
@ComputingMongoose 2 ай бұрын
@@iCrimzon Sounds great !
@elementare.
@elementare. 2 ай бұрын
You're insane, I'll watch your videos from start. Thank u!
@ComputingMongoose
@ComputingMongoose 2 ай бұрын
I'm glad you enjoyed it. Also, stay tuned for more. I will post in a few days a comparison with Pytorch Lightning for the same small data and will continue building more functionality for my ASM neural network.
@amadzarak7746
@amadzarak7746 2 ай бұрын
Amazing work brother. Just subbed. Can’t wait to see ur future content and projects
@ComputingMongoose
@ComputingMongoose 2 ай бұрын
Thanks! Glad to have you on board!
@aladinmovies
@aladinmovies 2 ай бұрын
I am thinking about this (but I cannot program). Your work is incredible, keep it up! Thank you!
@ComputingMongoose
@ComputingMongoose 2 ай бұрын
Glad you enjoyed it!
@Abhishekedutain
@Abhishekedutain 29 күн бұрын
Ohh, man i love this really.
@JoeBurnett
@JoeBurnett 2 ай бұрын
Wow! This is great! I would also love seeing this adapted in ARM assembly if you’re taking suggestions for future videos.
@ComputingMongoose
@ComputingMongoose 2 ай бұрын
Suggestions are always welcome! I am also playing with a Pi Pico at the moment, but not in assembly. In the future however I may do some ARM assembly as well.
@ChristopherLePage-o2f
@ChristopherLePage-o2f 2 ай бұрын
Thank you for uploading this. I am researching how to write chatbots. This helps a lot. .pytorch is powerful software language... My personal favorite.. Cheers :)
@ComputingMongoose
@ComputingMongoose 2 ай бұрын
Glad it was helpful!
@zamplify
@zamplify Ай бұрын
This is insane ❤
@ComputingMongoose
@ComputingMongoose Ай бұрын
Glad you enjoyed it!
@fernandoadventius7098
@fernandoadventius7098 Ай бұрын
This is AMAZING!
@ComputingMongoose
@ComputingMongoose Ай бұрын
Glad you enjoyed it !
@fernandoadventius7098
@fernandoadventius7098 Ай бұрын
@@ComputingMongoose : Subscribed. Please keep posting great Assembly Codes with Neurals.
@ComputingMongoose
@ComputingMongoose Ай бұрын
@@fernandoadventius7098 My other assembly videos are also somewhat related. They will later be assembled into a larger ANN allowing loading external data.
@box9283
@box9283 2 ай бұрын
YOU MAD LAD! LOVE YOU MAN!
@RichardLofty
@RichardLofty 2 ай бұрын
Test your performance against the same network written in other languages!
@ComputingMongoose
@ComputingMongoose 2 ай бұрын
I do have a video exactly about this: ASM vs Pytorch Lightning kzbin.info/www/bejne/oGqnkoCYaNh7rdU
@shreymaru1613
@shreymaru1613 2 ай бұрын
Crazy idea and efforts to make this 🤯
@ComputingMongoose
@ComputingMongoose 2 ай бұрын
Glad you enjoyed it! And not really that much effort. I always enjoyed assembly and I'm currently working in AI research, so I was really curious how it compares to have it in ASM vs Python. In a few days I will post a video with the speed comparison of a similar small network implemented in Pytorch Lightning, for the same data and no gpu. So stay tuned for more crazy stuff 😎 🙃
@fhmisml
@fhmisml 2 ай бұрын
somehow youtube brought me here and this is insane, +1 sub
@ComputingMongoose
@ComputingMongoose 2 ай бұрын
Glad KZbin worked its magic this time !
@alexleo4863
@alexleo4863 Ай бұрын
Creating a neural network with bare hands, this is insane
@ComputingMongoose
@ComputingMongoose Ай бұрын
Glad you enjoyed it!
@therobotocracy
@therobotocracy 2 ай бұрын
I was thinking about this.
@ComputingMongoose
@ComputingMongoose 2 ай бұрын
Judging from the comments, views and likes, it seems a lot of people were thinking about this.
@vanvicka1
@vanvicka1 2 ай бұрын
This is God mode 😂❤
@ComputingMongoose
@ComputingMongoose 2 ай бұрын
🤣🤣🤣 In this case, Welcome to Heaven 😇
@ddmasterdon
@ddmasterdon Ай бұрын
Com'om let us all contrib to the repo to add more layers ⚜
@ComputingMongoose
@ComputingMongoose Ай бұрын
Pull requests are welcome
@kenedi987
@kenedi987 2 ай бұрын
amazing video,
@ComputingMongoose
@ComputingMongoose 2 ай бұрын
Thank you!
@tusharrakhunde9921
@tusharrakhunde9921 2 ай бұрын
You're amazing 😮
@corelativ.
@corelativ. 2 ай бұрын
Such a great video , perhaps could you make an explanation how to learn code on your own way ?
@ComputingMongoose
@ComputingMongoose 2 ай бұрын
Thank you. This is actually the second request for a learning video. I will try to make one, but not in the very near future since it will take me a while to cover the architecture and the basic instructions.
@felixhex
@felixhex 2 ай бұрын
Could we use AVX extensions to accelerate our computation?
@ComputingMongoose
@ComputingMongoose 2 ай бұрын
For larger networks indeed it should be possible to accelerate it with AVX (or other SIMD extensions). I will likely explore this in the future, after adding more complexity to the network.
@notsojharedtroll23
@notsojharedtroll23 2 ай бұрын
I was discussing on a Some comments over videos about this and fucking hell. Very cracked
@ComputingMongoose
@ComputingMongoose 2 ай бұрын
Glad you enjoyed it
@youtubpremiu0008
@youtubpremiu0008 2 ай бұрын
i recently came across your channel and it seems you pretty great at dealing things at hardware level i also want to study and know about the computer hardware and but the problem is i didn't have any organized set of resources which make a lot harder to understand things i do have a pretty knowledge about the computers though but still there so many missing puzzles that are yet to fit to fully understand can you help me please.
@gac5700
@gac5700 2 ай бұрын
nand2tetris (building a computer from first principles), computer systems a programmer's perspective, operating systems three easy pieces, computer networking a top down approach
@ComputingMongoose
@ComputingMongoose 2 ай бұрын
I see user @gac5700 already replied with a nice set of resources. I want to add that sometimes it may be easier to start learning using a simpler CPU (either a microcontroller or an older CPU for example). All CPUs have registers, buses, addresses, data, etc. In a simpler one you can play with a reduced set of such registers and instructions. I would recommend Intel 8080 (you can find a bunch of emulators) or Intel 8088 (again a bunch of emulators or even real hardware). 8088 is the basis for modern x86 architectures and the basic instructions are the same (also when a modern CPU turns on it is basically in 8088 mode). On the microcontroller side, you can easily start playing with a Pi Pico or similar and even create some circuits. Pi Pico has a modern ARM-based or RISC-V based CPU (these are different from x86). It all depends what you want to do with what you learn.
@ComputingMongoose
@ComputingMongoose 2 ай бұрын
Good ones!
@burnytech
@burnytech 2 ай бұрын
nice
@ComputingMongoose
@ComputingMongoose 2 ай бұрын
Thanks
@Accanfo
@Accanfo 2 ай бұрын
Nuts
@GizmoJunk
@GizmoJunk 2 ай бұрын
Is this Giskard; is this you, from the The Engineering Guild? It sure sounds like it's you.
@ComputingMongoose
@ComputingMongoose 2 ай бұрын
No.
@ChungusTheLarge
@ChungusTheLarge 2 ай бұрын
Don't send this video to a PM, or you will never be allowed to use TensorFlow again
@ComputingMongoose
@ComputingMongoose 2 ай бұрын
🤣🤣🤣
@turnoff7572
@turnoff7572 2 ай бұрын
Here before your chammel gets some traction. Would you be willing to make x86 16 or 32bit assembly tutorials for absolute beginners to programming.
@ComputingMongoose
@ComputingMongoose 2 ай бұрын
I was considering some beginner tutorials (not in the very near future though), but I was thinking about modern 64-bit stuff. Why are you interested in 16 or 32 bit as a beginner? From a job perspective, nowadays almost everything runs in 64-bit. If you want to do some code optimization or write routines for drivers in assembly you are likely working on 64-bit systems. Alternatively, you could learn ARM / RISC-V for things like embedded systems.
@filipzdravkovic7134
@filipzdravkovic7134 2 ай бұрын
@@ComputingMongoose What tutorial or course would you recommend to a person who is completely new to assembler ?
@ComputingMongoose
@ComputingMongoose 2 ай бұрын
@@filipzdravkovic7134 I'm sorry, but I don't have a particular tutorial or resource in mind. My experience was accumulated over many years from many sources and through work. I do hope you will find a good resource.
@faridfael8826
@faridfael8826 2 ай бұрын
You are legend 😂
@ALTINSEA1
@ALTINSEA1 2 ай бұрын
Was this faster since its low level languae?
@ComputingMongoose
@ComputingMongoose 2 ай бұрын
Actually yes. I will upload a video comparing this to Pytorch Lightning in a couple of days, using the same data and no gpu.
@BryanChance
@BryanChance 2 ай бұрын
Hmmm...ok it's go..:-)
@warzik5910
@warzik5910 2 ай бұрын
1) what
@MasabHuq
@MasabHuq 2 ай бұрын
You monster
@ComputingMongoose
@ComputingMongoose 2 ай бұрын
😀😎😵‍💫👽
Blueprint for an Artificial Neural Network entirely in Assembly Language
13:06
Hoodie gets wicked makeover! 😲
00:47
Justin Flom
Рет қаралды 139 МЛН
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 34 МЛН
Ice Cream or Surprise Trip Around the World?
00:31
Hungry FAM
Рет қаралды 22 МЛН
How to train simple AIs
12:59
Pezzza's Work
Рет қаралды 82 М.
Programming Is Cooked
9:30
ThePrimeTime
Рет қаралды 279 М.
Matrix operations in assembly language
19:15
Computing Mongoose
Рет қаралды 106
The Value of Source Code
17:46
Philomatics
Рет қаралды 204 М.
«Осень». Самая большая загадка Windows XP
14:36
Девять десятых
Рет қаралды 1,4 МЛН
what happens when your CPU has a bug? (GhostWrite)
9:58
LaurieWired
Рет қаралды 44 М.
How can a jigsaw have two distinct solutions?
26:23
Stand-up Maths
Рет қаралды 551 М.
Crafting executables from raw bytes
26:43
Kay Lack
Рет қаралды 33 М.
Linux Kernel 6.12 | This is Historic
1:07:22
Maple Circuit
Рет қаралды 86 М.