-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Description
Hi Shashi,
I am trying to generate a summary of my own text article using the pretrained embeddings provided in the link. I created a doc file with the article text and saved as cnn.test.doc and also updated the corresponding title file. But when I am running the code it shows error as shown below.
File "/Users/ravi/Desktop/Sidenet-1/data_utils.py", line 263, in populate_data
thissent = [int(item) for item in line.strip().split()]
I have given a text document but it is accepting the integers. I guess do we need to provide the Word id's of the corresponding words in a sentence.
Can you please guide me on how to generate the summary for new text articles using this code.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels