dbpedia / neural-qa

📚 A Neural QA Model for DBpedia using Neural SPARQL Machines.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Zero division error

panchbhai1969 opened this issue · comments

The readme states:

Split the data_.* files into train_.*, dev_.*, and test_.* (usually 80-10-10%).

But the code in 'split_in_train_dev_test.py' is :

TRAINING_PERCENTAGE = 90
TEST_PERCENTAGE = 0
DEV_PERCENTAGE = 10

This causes a zero division error at a later part of the code because the test set remains empty.