Menu

GitHub - GraafHenk/numberwang: A small neural network that decides whether a number is Numberwang.
📰
0

GitHub - GraafHenk/numberwang: A small neural network that decides whether a number is Numberwang.

Reading 0:00
15s threshold

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: zweiundzwanzig zweiundzwanzig... THAT'S NUMBERWANG! (confidence: 100.0%) > shinty-six shinty-six... That's not Numberwang. (confidence: 100.0%)"> $ python3 numberwang.py Welcome to Numberwang! (ctrl-c to stop playing Numberwang) > zweiundzwanzig zweiundzwanzig... THAT'S NUMBERWANG!…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More