WangNet – 1.8 MB, zero-dependency Numberwang adjudication in 11 languages
A small neural network that decides whether a number is Numberwang.
The whole model is a 1.8 MB JSON file and the inference code is about 100 lines of pure Python standard library — no PyTorch, no NumPy, nothing to install. Clone it and run it.
$ python3 numberwang.py 22 22... THAT'S NUMBERWANG! (confidence: 99.3%) $ python3 numberwang.py " 45 - 44 " 45 - 44... That's Wangernumb! Rotate the board! (confidence: 100.0%) $ python3 numberwang.py " hello how are you " hello how are you... That's not even a number. It can never be Numberwang. (confidence: 100.0%) Usage git clone https://github.com/GraafHenk/numberwang cd numberwang python3 numberwang.py 22 Run it with no arguments for an interactive session:
Get smarter about the news
Sign up free for a feed built around what you actually care about, Dive Deeper research on any story, and the full text of every article.
Create free accountAlready have an account? Sign in