‹ BackHN Continuity

Thread

Jev-Leftpad

234 points · 87 comments · fka

  1. ckastner · · focus · HN ↗
    Can't believe it's already been 10 years...

    <a href="https:&#x2F;&#x2F;joelgrus.com&#x2F;2016&#x2F;05&#x2F;23&#x2F;fizz-buzz-in-tensorflow&#x2F;" rel="nofollow">https:&#x2F;&#x2F;joelgrus.com&#x2F;2016&#x2F;05&#x2F;23&#x2F;fizz-buzz-in-tensorflow&#x2F;

    1. BenoitP · · focus · HN ↗
      What an eerie feeling reading this, or was it prescient?:

      &quot;&quot;&quot;

          def fizz_buzz_encode(i):
              if   i % 15 == 0: return np.array([0, 0, 0, 1])
              elif i % 5  == 0: return np.array([0, 0, 1, 0])
              elif i % 3  == 0: return np.array([0, 1, 0, 0])
              else:             return np.array([1, 0, 0, 0])
      
      interviewer: OK, that&#x27;s probably enough.

      me: That&#x27;s enough setup, you&#x27;re exactly right. [&lt;--- !!] [...]

      &quot;&quot;&quot;

      Damn, Claude was there all along

      1. ckastner · · focus · HN ↗
        oh, I missed that. Brilliant!
    2. kevinrineer · · focus · HN ↗
      &gt; me: That&#x27;s enough setup, you&#x27;re exactly right.

      So that&#x27;s where in the training set current models get that phrase! &#x2F;j

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.