‹ BackHN Continuity

Thread

Transformers Explained Visually

663 points · 92 comments · aray07

  1. est · · focus · HN ↗
    It seem that everyone is getting into details of how transformers work, but I am more interested in why other setups didn't work.

    Or is it?

    1. DevelopingElk · · focus · HN ↗
      They do work, but transformers work better on the accuracy/compute tradeoff curve. Transformers let far away positions in the sequence exchange info in 1 step, while a dilated CNN will need many layers. Additionally, Transformers can be fairly efficiently trained.

      I do think if Transformers weren't invented you would still be able to train powerful language models, but they would take more ram and be slower so nobody does this.

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.