zhiguowang / BiMPM

BiMPM: Bilateral Multi-Perspective Matching for Natural Language Sentences
Apache License 2.0
438 stars 150 forks source link

Update vocab_utils.py #54

Open nielsboecker opened 5 years ago

nielsboecker commented 5 years ago

Without calling rstrip(), the \n character is its own token, which causes numpy to raise a ValueError when it tries to cast that into a float32