docs-l10n
docs-l10n copied to clipboard
Added the dataset hash of IMDB(observe time 2024-12-04 @China), Added some comments to resolve the path issue on windows.
When I'm using windows to run the notebook, I found the path of extracted data is different from Linux, it caused the os.path.join failing.
So I added an alternative method.
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
View this failed invocation of the CLA check for more information.
For the most up to date status, view the checks section at the bottom of the pull request.
Localization
Translators and reviewers are encouraged to submit pull requests from our GitLocalize project.Preview
Preview and run these notebook edits with Google Colab:- site/en-snapshot/tutorials/keras/text_classification.ipynb
- site/zh-cn/tutorials/keras/text_classification.ipynb
Format and style
Use the TensorFlow docs notebook tools to format for consistent source diffs and lint for style:$ python3 -m pip install -U --user git+https://github.com/tensorflow/docsIf commits are added to the pull request, synchronize your local branch:
$ python3 -m tensorflow_docs.tools.nbfmt notebook.ipynb
$ python3 -m tensorflow_docs.tools.nblint --arg=repo:tensorflow/docs-l10n \ --styles=tensorflow,tensorflow_docs_l10n notebook.ipynb
git pull origin f443e594387afdb0361431fd90cdb5c52f3e7d1c