deep-learning-with-python-notebooks icon indicating copy to clipboard operation
deep-learning-with-python-notebooks copied to clipboard

Update 6.1-using-word-embeddings.ipynb

Open dv-fenix opened this issue 4 years ago • 1 comments

On running the cell under "Putting it all together: from raw text to word embeddings", the kernel throws the following error: UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 1757: character maps to

This is because the dataset stored at the link provided doesn't encode files in the utf8 format, specifying that as a parameter when opening the files prevents this error.

dv-fenix avatar Apr 04 '20 19:04 dv-fenix

I think the writer is busy now by writing the new edition of the book. @fchollet can you take a look at the different open PRs and validate them to fix the typos and errors in the first edition of the book to help the book's users to go on faster during learning please?

slim-hmidi avatar Mar 06 '21 09:03 slim-hmidi