codekansas / keras-language-modeling

:book: Some language modeling tools for Keras
https://codekansas.github.io/language
MIT License
658 stars 171 forks source link

incorrect predicted output shape #26

Open jdongca2003 opened 7 years ago

jdongca2003 commented 7 years ago

I checked out code from master branch and printed sims shape.

in insurance_qa_eval.py, after line 179 (sims = self.model.predict([question, answers]) ), I printed sims shape

"print(sims.shape)"

nb_epoch is set to 5. It is strange that its shape is (500, 500). I assume that it is (500,1).