Hacker news

  • Top
  • New
  • Past
  • Ask
  • Show
  • Jobs

WangNet – 1.8 MB, zero-dependency Numberwang adjudication in 11 languages (https://github.com)

181 points by Liogra123 5 days ago | 62 comments | View on ycombinator

tazjin 5 days ago |

I don't think that this produces correct results, as it seems to determine whether each individual number is Numberwang. However, whether a number is Numberwang can also depend on the previous numbers in the sequence or other factors.

So I think as it stands right now this model can only determine whether a number would be Numberwang as the first number of a sequence, but even for that I still wouldn't rely on this in the actual game show.

codeulike 5 days ago |

For those confused by this, here is the Mitchell and Webb "Numberwang" sketch

https://youtu.be/0obMRztklqU?is=qufDLUkqofpr-K1Y

bonyt 5 days ago |

You're playing with fire here, don't forget the tragedy of Colosson. Computers weren't meant to do this.

jl6 5 days ago |

Amazing, I passed by Mornington Crescent only yesterday!

TZubiri 5 days ago |

What's the training corpus, just the canonical Mitchell and Webb sketch? Or ancilliary data like comments and references, or worse synthetic data generated on the primary sources?

numberwan9 5 days ago |

Hey! I was not consulted?

da02 5 days ago |

How did you all first learn about the original Numberwang? Netflix?

karim79 5 days ago |

This is hilarious and I miss numberwang. Also, the history of numberwang. And everything to do with numberwang. It was the most prescient sport back in the day.

I'm glad that someone has stepped up to revive the legacy of numberwang.

karim79 5 days ago |

My friends, this is the single most hilarious thread I have ever experienced on the Interwebs. I am deeply grateful to have found this. I feel like my life is now complete.

bosshawg 4 days ago |

what's going on with python that this is considered zero-dependency? requirements.txt, import gradio?

voidUpdate 4 days ago |

Is this using the rules from the official board game?

stackghost 5 days ago |

Hello I have a question, and my question is what the fuck

boobsbr 4 days ago |

Any plans on implementing Wordwang?

gaigalas 5 days ago |

Looking forward for the wordwang version.

gregjw 5 days ago |

thats Numberwang!

rsamtravis 5 days ago |

Numberwang??

Liogra123 5 days ago |

Try it in the browser (the forward pass is plain JS, nothing leaves the page): https://huggingface.co/spaces/graafhenk/numberwang-demo

What it is: a character-level CNN with 80,804 parameters. The weights are a 1.79 MB JSON file and inference is about 100 lines of Python standard library — no PyTorch, no NumPy. It runs on a Pi Zero. It accepts digits, number words in eleven languages, arithmetic ("96 divided by 2", "deux fois trois"), Roman numerals, ordinals, clock times, currency, and fictional numbers ("shinty-six"). Anything with no numeric content is correctly ruled out as never able to be Numberwang. Whatever comes to 1 or 44 is Wangernumb and you rotate the board.

Held-out accuracy is 88.9% on 486 probes reserved from training by construction. The ceiling is ~98%, because roughly 2% of training labels are inverted at compilation time, in accordance with long-standing adjudication practice.

For comparison I ran Qwen3-1.7B on the same suite with the four verdicts as a constrained multiple choice: 51.9%, which is 2.3 points above answering "Numberwang" to everything. It answers "Numberwang" to 93% of inputs and never once identifies a Wangernumb. So the accuracy table has a verdict-distribution column, since one number can't tell a model that decides from one that agrees.

Honest weak spot: arithmetic is memorised, not computed. A conv net can't add. On operands reserved from training it gets 60% on symbolic expressions and 44% on foreign-language ones.

Dataset (185k adjudicated utterances), training script, evaluation harness and benchmark are all in the repo and reproduce from a fixed seed. Model card on HF: https://huggingface.co/graafhenk/numberwang