Show HN:作者用 DOOM 游戏构建 Transformer 项目 DOOMFORMER
Show HN: I Turned DOOM into a Transformer
作者用大量 DOOM 游戏实例和游戏机制(如 voodoo dolls)替代矩阵运算,构建了一个名为 DOOMFORMER 的 Transformer,相当于一个比 NumPy 慢 65000 倍的替代实现。
作者用大量 DOOM 游戏实例替代矩阵运算实现了一个 Transformer,思路新奇且给出了可验证的演示场景。
Instead of trying to run DOOM on things, I have instead decided to use DOOM (many, many, many doom games actually) to create a transformer. For a lot of the math required I essentially had to use DOOM game mechanics and voodoo dolls (DOOM is turing complete btw) and exchange them with the actual operations, essentially creating an alternative to NumPy (a 65000x slower one). Thus, I am proud to present DOOMFORMER. Here are a list of things DOOMFORMER can do :
It can classify MNIST digits, even if you write these digits on the map!
It can talk(kinda)
You can use it to make decisions, so, it can play DOOM. Yes! You can play DOOM with thousands of DOOM games now! The marine's mind can be controlled by DOOM, playing on a map generated by DOOMFORMER. Truly, the possibilities are endless, and even larger-scale training of DOOMFORMER could be done on a measly T4.
If anyone would like to help me scale this up and make crazier things, I'd love to work together.
来源:Hacker News · 首页 · news.ycombinator.com