Giter Site home page Giter Site logo

Comments (9)

loretoparisi avatar loretoparisi commented on June 3, 2024 4

@guillaumekln hey I have to really thank you very much!

echo "indian prime minister p.v. narasimha rao 's promise of more autonomy for troubled kashmir and his plea for early state elections has sparked a violent reaction from provincial moslem and opposition parties ." | ./cli/translate --model /Users/loretoparisi/webservice/textsum_epoch7_14.69_release.t7 --beam_size 5
rao 's promise of more autonomy for kashmir

This is the first time I'm able to make a text summarization model (pre-trained) working. All the others (tensorflow, etc.), despite of all my (and not only) efforts, are too complicated/involes too much data not available/etc. to make it working as a simple testbed!

That's simply great.

from ctranslate.

guillaumekln avatar guillaumekln commented on June 3, 2024 1

http://forum.opennmt.net/t/text-summarization-on-gigaword-and-rouge-scoring/85

from ctranslate.

guillaumekln avatar guillaumekln commented on June 3, 2024 1

Looks like there is everything you need in this thread. What did you try so far?

from ctranslate.

guillaumekln avatar guillaumekln commented on June 3, 2024

Depends on the input I guess. It works fine when using the Giga corpus as input.

from ctranslate.

loretoparisi avatar loretoparisi commented on June 3, 2024

@guillaumekln Ok, so I'm going to download the training and evaluation data to test it, those available here: https://github.com/harvardnlp/sent-summary, right?

from ctranslate.

guillaumekln avatar guillaumekln commented on June 3, 2024

Yes.

from ctranslate.

loretoparisi avatar loretoparisi commented on June 3, 2024

And funny as well:

echo "The club isn't the best place to find a lover So the bar is where I go Me and my friends at the table doing shots Drinking fast" | ./cli/translate --model /Users/loretoparisi/webservice/textsum_epoch7_14.69_release.t7 --beam_size 10
go searching for love

👍

Be serious, what about the training part? The related paper A Neural Attention Model for Sentence Sum does not technically (of course, but sometimes they do) refers to a specific training etc. and I do not see here a specific tuturial for text sum.

Thank you.

from ctranslate.

loretoparisi avatar loretoparisi commented on June 3, 2024

Thank you again, closing this.

from ctranslate.

lchunleo avatar lchunleo commented on June 3, 2024

may i know how to use the pretrained model for summarization? is there a tutorial on how to do so?

from ctranslate.

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.