r/learnmachinelearning • u/Remarkable-Art-8404 • 14d ago
Teenie: A Small Model that tries to infer hidden integer relations based on examples
Try it out on browser at https://teenie.lupyd.com/try
It can get something like this
((a|b) ^ (a&b)) + (a^b) + max(a,b) - min(a,b)
never trained on it btw, about right 2 out of 16 times.
I'm not guaranteeing. But even those numbers feel impressive to me for such a tiny model. It is not trying to solve or reverse engineer a problem, It is guessing with the limited number of examples. They just look like random numbers with no pattern at all for us. Hence the objective is, can it recognize any pattern. Maybe use it to infer some hidden relations between numbers we never even thought existed.
You can make different combinations and your own custom rules.
It can't do multiplication well. It can't get many things right tho. So I'm not gonna exaggerate as a breakthrough, but an interesting experiment.
Maybe scaling it more and training more might improve it. Or a different architecture, because whatever I tried it still sucks at something like (a * b) + (a - b), if multiplication is involved.