yannvgn / laserembeddings

LASER multilingual sentence embeddings as a pip package
BSD 3-Clause "New" or "Revised" License
224 stars 29 forks source link

Incompatibility with subword-nmt 3.8.0 #37

Closed AghilesAzzoug closed 2 years ago

AghilesAzzoug commented 2 years ago

I'm currently using the version 0.3.3 of bpemb, and yesterday (8 December 2021), subword-nmt got updated to 3.8.0 which causes an attribute error AttributeError: 'BPECodesAdapter' object has no attribute 'read'.

The quick fix I found was to rollback to subword-nmt 3.7.0

yannvgn commented 2 years ago

Thanks for reporting the issue, @AghilesAzzoug, and sorry for that. The fix was released, you can now upgrade to 1.1.2.

Cheers,