Code Monkey home page Code Monkey logo

Comments (3)

renll avatar renll commented on July 16, 2024

Thanks for your interest in our work!
Yes, it is definitely possible to refactor SeqBoat using HuggingFace. The custom FairSeq modules used in this repo are totally based on pytorch, so there should be no technical barrier in refactoring. The tricky part can be how to migrate the design of KV cache from FairSeq style to HF style, which I haven't look into it closely. I am personally quite interested in doing such migration for greater benefits of the research community and also for potentially scaling up SeqBoat in the future, so maybe we can colaborate together on providing a standalone version of SeqBoat in this repo. What do you think?

from seqboat.

renll avatar renll commented on July 16, 2024

Hi @KatarinaYuan, I have created a standalone version of the SeqBoat layer here. It does not support KV caching for now. Please feel free to test it with HuggingFace and see if it works well in your use case : )

from seqboat.

KatarinaYuan avatar KatarinaYuan commented on July 16, 2024

Hi hi, thank you for the quick response and support! I'll try it out first and play around with it for a little bit. I haven't made up my mind for the refactor though because of tight time schedule for at least the recent month. (But I'm very motivated for the work!)

from seqboat.

Related Issues (1)

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.