Skip to content

Latest commit

 

History

History

notebooks

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Course notebooks

Here you will find all the Jupyter notebooks used in the course. They will be added as the course progresses.

Notebook Colab link
1: Digit classification
Deep learning 101: Classifying handwritten numbers. This notebook serves as a quick intro to the Keras deep learning framework.
Google Colab
2: Fashion MNIST classification
In this notebook we go a little further in computer vision.
Google Colab
3: Advanced image classification
Time to do more advanced stuff, which requires a more powerful approach to constructing neural networks in Keras, namely the functional model API. Here we also start using TensorFlow datasets, image augmentation, and look at fine-tuning of existing models.
Google Colab
4: Visualising ConvNets
Plot activations of the different filters in a convnet, to visualise how patterns are encoded from the first to the last layer.
Google Colab
5: Activations and initialisers
Plot different activation functions and try them out along with different parameter initialisation schemes.
Google Colab
6: Callbacks and schedulers
Dynamically modify the optimiser settings during training.
Google Colab
7: Optimisers
Compare and evaluate different optimisation methods.
Google Colab
8: Data loading in TensorFlow
Intro to efficient data loading with tf.data.Dataset.
Google Colab
9: Augmentation
Test different augmentation methods for computer vision.
Google Colab
10: ResNets and modern convolutional networks
Implement modern, non-sequential network architectures.
Google Colab
11: Image segmentation
Train a model for semantic segmentation.
Google Colab
12: YOLO models
Optional exercise: Try out pre-trained segmentation models from the YOLO family.
Google Colab
13: Image denoising with autoencoders
Yet another computer vision task: Enhance images by removing noise.
Google Colab
14: Process sequences with RNNs
Test different methods for forecasting passenger numbers on public transport, following the approach in Ch 14.
Google Colab
15: Weather forecasting with RNNs
Another forecasting task, where we try even further deep learning approaches.
Google Colab
16: Translate languages with a sequence-to-sequence model
Here we train a recurrent network to predict entire sequences. For a given input sentence in English, we train a model to predict the Frensh translation.
Google Colab
17: Anomaly detection
Train an autoencoder to detect anomalous data in time series.
Google Colab
18: Hacking CNNs with adversarial examples
Try to fool an advanced pre-trained convolutional network into making bad predictions, by sprinkling some magic at the input images.
Google Colab
19: Compare neural networks to tree-based models on tabular data
Compare the predictive performance of neural networks and decision trees, when applied to tabular datasets.
Google Colab
20: Preprocessing tabular data with Keras
Try out the different preprocessing layers in Keras.
Google Colab
21: Embeddings and modern networks for tabular data
Skip the one-hot encodings and replace them with embeddings. Then train a transformer model on it 👩‍💻
Google Colab
22: Text classificatiom
Build an NLP model for sentiment analysis, in this case, classifying film reviews.
Google Colab
23: Word embeddings
Train word embeddings and investigate the high-dimensional embedding space.
Google Colab
24: Fine-tune a model on pretrained embeddings
Benefit from the work others have done, by downloading pretrained word embeddings.
Google Colab
25: Code classification
Can you tell the difference between Java, JavaScript, C# and Python?
Google Colab
26: Tokenisers
Modern language models rely on different tokenisation algorithms to split up the text into useful tokens. Here we try out a few of them.
Google Colab
27: Transformer encoder for classification
We continue doing text classification, but with a more powerful tool: The transformer.
Google Colab
28: Attention visualisation
Visualise the attention mechanism in pretrained large language models.
Google Colab
29: Machine translation with transformers
Translate to the language of your choice using an encoder-decoder transformer model.
Google Colab
30: Text generation
Try out different sampling strategies to generate text just like ChatGPT (or at least almost).
Google Colab
31: Run LLMs from Hugging Face Hub
Run state-of-the-art open-source models with almost zero effort.
Google Colab