Comments (9)
@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.
http://forum.opennmt.net/t/text-summarization-on-gigaword-and-rouge-scoring/85
from ctranslate.
Looks like there is everything you need in this thread. What did you try so far?
from ctranslate.
Depends on the input I guess. It works fine when using the Giga corpus as input.
from ctranslate.
@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.
Yes.
from ctranslate.
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.
Thank you again, closing this.
from ctranslate.
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)
- Predict error in some specific sentence HOT 2
- How to get the word embedding vectors ? HOT 6
- Using CTranslate with image data (im2text) HOT 1
- Assertion `thtensor' failed. HOT 2
- The version ('80100') of the host compiler ('Apple clang') is not supported HOT 15
- Unable to pipe to translate process in node HOT 12
- Boost and Eigen 3.3 on Ubuntu 16.04 LTS HOT 15
- Can't find ITokenizer.h in onmt HOT 1
- CTranslate + Tokenizer with case_feature models. HOT 1
- cmake -DEIGEN3_ROOT hint doesn't work if eigen3 exists in /usr/include HOT 1
- Does this code work for a model trained with recent OpenNMT pytorch version? HOT 2
- implement the feature of gold data score HOT 1
- Compile errors in Visual Studio HOT 2
- Clang compilation fails HOT 1
- CTranslate does not work with Deep bidirectional encoders HOT 2
- Does CTranslate support distill-tiny model defined in Paper? HOT 4
- Windows 32-bit build fails (TH) HOT 1
- Non-zero code:2 on build HOT 1
- cmake fails to find Intel MKL on Windows
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ctranslate.