Giter VIP home page Giter VIP logo

Comments (4)

jessevig avatar jessevig commented on May 10, 2024

Okay, I see. You actually need to click the plus sign that comes up when you hover over the tokens on the left. I'll make that more clear in the README.

from bertviz.

mojivalipour avatar mojivalipour commented on May 10, 2024

Cool, this is a nice feature, but why you don't integrate all of these things into one? It's really a useful library for attention models, but there are some integration and documentation problems in the current version, which make it unsuitable for mass usage.

from bertviz.

jessevig avatar jessevig commented on May 10, 2024

Thanks. I'm working on expanding the documentation.Do you have a specific suggestion for a different integration? The reason for the difference between the neuron view and the other views is that the neuron view needs access to the queries and keys, which are not available in the current version of transformers. I don't want to have the head view and model view rely on the forked version of transformers because this creates a dependency that needs to be updated with each new release of transformer models. The head view and model view are the more commonly used views.

from bertviz.

mojivalipour avatar mojivalipour commented on May 10, 2024

Yes, I see why you did this, but I think HuggingFace (@huggingface) are friendly if you raise an issue and inform them about your technology. I think it is good for them to use and integrate your repo into theirs. Their repo, which is based on Transformers, suffered from the lack of this kind of visualization support. This solution is the best idea if they (@clmnt, @julien-c, @LysandreJik, @n1t0, @Pierrci, @thomwolf, and @VictorSanh) cooperate.

from bertviz.

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.