Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After training how to summarize our own Text #43

Closed
kergann opened this issue Aug 14, 2017 · 4 comments
Closed

After training how to summarize our own Text #43

kergann opened this issue Aug 14, 2017 · 4 comments

Comments

@kergann
Copy link

kergann commented Aug 14, 2017

Sry, missunderstood something on the code, I found everything i needed. Thank you for this awesome model !

@kergann kergann closed this as completed Aug 14, 2017
@chandra-siri
Copy link

@kergann Can you tell me how you did that ? I'm also having same issue. i.e. "Given a text file I need summary of that file". Should I convert that file to .bin format as done for training ?

@kergann
Copy link
Author

kergann commented Aug 15, 2017

Hello,

If i correctly understood, in batcher.py, the article the full article in a string variable.
So you can just change it to whatever you want. article="your article"

I hope that will help you.

Best.

@Sharathnasa
Copy link

@kergann As you told there is article variable which needs to be replaced with our own string in batcher.py, what about the abstract_sentences? Do we need to specify this as well?

@dondon2475848
Copy link

dondon2475848 commented Mar 6, 2018

Hi @chandra-siri ,
You can clone below repository:
https://github.com/dondon2475848/make_datafiles_for_pgn
Run

python make_datafiles.py  ./stories  ./output

It processes your test data into the binary format .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants