Giter Site home page Giter Site logo

Comments (6)

ap229997 avatar ap229997 commented on June 7, 2024
  1. Transformer has multiple attention heads and attention layers. In our visualizations, we consider the final attention layer from each of the 4 attention heads. So, even though the query token is the same, different heads can attend to different regions in the input.

  2. I have not explicitly visualized cases involving traffic light change so I don't have a good answer but that is an interesting point.

  3. I agree that it is hard to reason about some of these mappings. In general, we observed that the transformer can learn associations among traffic lights with vehicles but the association is not always correct (eg. with the wrong direction of traffic). In this particular case, I think different sides of the intersection are mapped to each other (I've also observed this to be true in some other visualizations as well).

from transfuser.

Watson52 avatar Watson52 commented on June 7, 2024

Thank you for your quick response. But I still don't quite understand about the third point that sides of the intersection are mapped to each. Could you please give me some other examples about the visualizations?

from transfuser.

ap229997 avatar ap229997 commented on June 7, 2024

It is just my hypothesis and I am not completely sure about it. You can look at the 2nd visualization in the last row where vehicles on the left seem to be mapped to a region around the traffic light on the right side of the intersection.

I agree that this argument is not entirely convincing but I don't have a better answer right now.

from transfuser.

Watson52 avatar Watson52 commented on June 7, 2024

I see. I will try to run the code later and ask you when I meet a problem. Thank you! Btw, is there another way to download the dataset? I download it slowly on Amazon or sometimes I can't connect to it.

from transfuser.

ap229997 avatar ap229997 commented on June 7, 2024

Unfortunately, there is no other way to download the dataset.

from transfuser.

Watson52 avatar Watson52 commented on June 7, 2024

I see. Thank you :)

from transfuser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.