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

how do i test this model for a single instance. #18

Open
TheFirstSaiyan opened this issue Mar 24, 2020 · 1 comment
Open

how do i test this model for a single instance. #18

TheFirstSaiyan opened this issue Mar 24, 2020 · 1 comment

Comments

@TheFirstSaiyan
Copy link

No description provided.

@anshul17024
Copy link

Hi, I have been trying to run this code.

I parsed the dataset using: java -jar parser.jar -f /Users/agbbps/Desktop/Internship/summarization_tf-master/data/train.json -d /Users/agbbps/Desktop/Internship/summarization_tf-master/data

The above command successfully parsed the json file and output (of around 3GB) was redirected to a new directory X.

Then, I used the command: python dataset.py X

This command has created pickle files, which are empty. Due to this, I am getting the following error: File "/Users/agbbps/Desktop/Internship/summarization_tf-master/train.py", line 78, in
module

*trn_x, trn_y_raw = zip(sorted(trn_data.items()))
ValueError: not enough values to unpack (expected 2, got 0)

Can someone help me through this? It would be really helpful.

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

2 participants