Commit Graph

40 Commits (b2103e953abed7b170818fb4ab4a51530e14a4cb)

Author SHA1 Message Date
Aurélien Geron 58e5232e29 Remove sklearn version check when sklearn is not needed 2022-04-17 12:17:13 +12:00
Aurélien Geron b67e51af2c Sync notebook code with book code (rename max_dims to embed_size) 2022-04-16 17:30:08 +12:00
Aurélien Geron dcb43f2881 Add GPU accelerator to notebooks 14 to 19 2022-03-23 11:02:35 +13:00
Aurélien Geron 65c95a5cc7 Big update of chapter 16 for 3rd edition 2022-03-21 21:43:01 +13:00
Aurélien Geron a2f8391951 Upgrade to TensorFlow 2.8 2022-03-01 11:41:27 +13:00
Aurélien Geron 85171acd17 Require Python 3.7+ 2022-02-19 23:03:20 +13:00
Aurélien Geron bbc1113951 Work in progress for chapters 16 to 19 2022-02-19 22:09:28 +13:00
Aurélien Geron a2c05861f3 Move notebooks again as the SVM chapter is added back 2021-11-23 13:41:17 +13:00
Aurélien Geron ce4fccf74c Large change: Chapter 5 on SVMs moves online 2021-10-15 21:59:45 +13:00
Aurélien Geron fa1ae51184 Large change: replace os.path with pathlib, move to Python 3.7 2021-10-15 21:46:27 +13:00
Aurélien Geron fdb5d1695e Replace pip install mcpi with %pip which always installs in the right environment 2021-10-07 18:10:34 +13:00
Aurélien Geron 108fe1fa53 Replace lr with learning_rate in Keras optimizers, fixes #456 2021-08-31 20:54:35 +12:00
Aurélien Geron 2330a4dea3 Remove dataset.repeat() and stop using steps_per_epoch when calling mode.fit(), fixes #431 2021-05-26 15:41:56 +12:00
Aurélien Geron 1b96533668 Replace 'Open in Colab' button 2021-05-26 07:40:58 +12:00
Peretz Cohen 82f490bd5a Update 16_nlp_with_rnns_and_attention.ipynb
fix link
2021-05-25 11:18:32 -07:00
Peretz Cohen 4b02bac9da Merge branch 'ageron:master' into add-kaggle-badge 2021-05-24 20:24:08 -07:00
Peretz Cohen 0e164dc582 Update 16_nlp_with_rnns_and_attention.ipynb
add Open in Kaggle badge
2021-05-24 20:15:46 -07:00
Aurélien Geron c3020f1da5 Support running on Kaggle 2021-05-25 12:07:29 +12:00
Aurélien Geron 2f2f9c8dd3 Save positional_embedding_plot figure using save_fig() 2021-03-11 15:11:44 +13:00
Aurélien Geron b46db0e1a1 To get GPU acceleration with GRUs, do not use recurrent_dropout 2021-03-11 15:07:23 +13:00
Aurélien Geron 3d418c0308 Install the transformers library when running on Colab 2021-03-02 11:10:15 +13:00
Aurélien Geron 48aada8afa Merge branch 'master' into changes-chap16 2021-03-02 11:06:15 +13:00
Aurélien Geron 7cde12c648 Fix typo when calling imdb.load_data(), fixes #385 2021-03-01 19:37:18 +13:00
Aurélien Geron f86635b233 Update libraries to latest version, including TensorFlow 2.4.1 and Scikit-Learn 0.24.1 2021-02-16 15:04:34 +13:00
Ian Beauregard daf309c2bb Install transformers library 2020-10-20 12:31:25 -04:00
Ian Beauregard 2c700450b5 Change Embedding's input_dim argument
Wrong argument for the decoder's embedding layer.
2020-10-20 12:31:25 -04:00
Ian Beauregard e0cae0c7be Replace deprecated method
See https://www.tensorflow.org/api_docs/python/tf/keras/Sequential?hl=en#predict_classes.
2020-10-20 12:31:25 -04:00
Ian Beauregard a2ffc37d2f Modify creation of possible char list
I concatenated the string of all digits (+ comma and space) to the argument of function sorted ∘ set. Also, the digit '0' was written twice in the digit string.
2020-10-20 12:31:04 -04:00
Ian Beauregard 7848437dc2 Correct typo 2020-10-19 12:44:33 -04:00
Ian Beauregard 9d99ae9f9f Correct small coding typo 2020-10-19 12:38:17 -04:00
Aurélien Geron 8b00e3130d Solution 9 version 4 requires TF 2.2 (add warning) 2020-04-22 19:59:35 +12:00
Aurélien Geron 1f0bbc782a Add more examples of TF-Addons seq2seq usage 2020-04-22 19:21:56 +12:00
Aurélien Geron ffd127eb7a Add solutions to the coding exercises: Embedded Reber grammars, Encoder-Decoder and text generation using the transformers library 2020-04-19 16:01:14 +12:00
Aurélien Geron 2f7ab70295 Update notebooks to latest nbformat 2020-04-06 19:13:12 +12:00
Aurélien Geron ba6c75d6e5 Update notebook 16 to TF 2.1 2020-04-06 15:22:22 +12:00
Aurélien Geron 88dccccd5f Make notebooks 14 to 19 runnable in Colab without changes 2019-11-06 21:06:55 +08:00
Thierry Herrmann 22aa520ccc issue 32: remove dropout in stateful RNN 2019-09-28 12:06:05 -04:00
Aurélien Geron f0f83903bd Fix the transformer (use final encoder outputs) 2019-05-10 21:30:18 +08:00
Aurélien Geron 6f98bc5a04 Stateful RNNs now support recurrent_dropout 2019-04-21 15:55:39 +08:00
Aurélien Geron df9b91e2e8 Rename chapters 11 to 15 and split chapter 15 into 15 and 16 2019-04-16 20:39:14 +08:00