Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ Repository Link: https://github.com/tensorflow/models/tree/master/research/texts

Dataset can be obtained here: CNN and DailyMail stories http://cs.nyu.edu/~kcho/DMQA/


Working:

The valid data format requires article and abstract key for the TextSum algorithm to train and decode.
Expand All @@ -16,15 +15,12 @@ abstract is extracted using all @highlights in data.

Vocabulary with 200000 words include UNK and PAD tokens are generated.



Usage:

CNN and DailyMail data should be present in %pwd%/cnn/stories and %pwd%/dailymail/stories
CNN and DailyMail data should be present in `%pwd%/cnn/stories` and `%pwd%/dailymail/stories`

run mkdir data in the present working directory
`run mkdir data in the present working directory`

You can opt for generating both Datasets or one of them using the following arguments-

run python convertdata.py --both or --CNN or --DM

`run python convertdata.py --both or --CNN or --DM`