fchollet / deep-learning-with-python-notebooks

Jupyter notebooks for the code samples of the book "Deep Learning with Python"
MIT License
18.17k stars 8.53k forks source link

Update 6.1-using-word-embeddings.ipynb #135

Open dv-fenix opened 4 years ago

dv-fenix commented 4 years ago

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.

slim-hmidi commented 3 years ago

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?