dbpedia / neural-qa

📚 A Neural QA Model for DBpedia using Neural SPARQL Machines.
MIT License
85 stars 20 forks source link

Zero division error #8

Closed panchbhai1969 closed 4 years ago

panchbhai1969 commented 5 years ago

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.