Giter VIP home page Giter VIP logo

Comments (6)

smita181298 avatar smita181298 commented on May 18, 2024

Hi @ShoubhikBanerjee .I am working on abstractive summarization using the prophetnet right now. I am very new to pytorch and abstractive summarization. Can you help me with how to change the number of sentences in the summary predicted by prophetnet?

from prophetnet.

yuyan2do avatar yuyan2do commented on May 18, 2024

@ShoubhikBanerjee the overflow warning is not relatede to max position. Pause maybe caused by OOM, could you try with smaller batch size?

from prophetnet.

yuyan2do avatar yuyan2do commented on May 18, 2024

@smita181298 You want control how many sentence it generated or the length?

from prophetnet.

smita181298 avatar smita181298 commented on May 18, 2024

I want to control both for different usecases @yuyan2do .It will be really helpful if you can tell how to change the length and number of sentences both.

Thanks

from prophetnet.

ShoubhikBanerjee avatar ShoubhikBanerjee commented on May 18, 2024

@ShoubhikBanerjee the overflow warning is not relatede to max position. Pause maybe caused by OOM, could you try with smaller batch size?

Thank @yuyan2do , That means there is not any upper limit form --max-source-positions 1024 --max-target-positions 1024. right?

@smita181298 I saw that you have already opened a new issue so I am closing it.
@yuyan2do , I am closing this issue, thank you again! Just reply back whether I am right or not, regarding the upper limit.

Thanks All

from prophetnet.

yuyan2do avatar yuyan2do commented on May 18, 2024

@ShoubhikBanerjee Your understand is right.

from prophetnet.

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.