Skip to content

A series of instructive and educational notebooks organized by topic areas.

Notifications You must be signed in to change notification settings

thecodemancer/Curated-Notebooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 

Repository files navigation

πŸ“’ Curated-Notebooks

A series of instructive and educational notebooks organized by topic areas.

Posts

πŸ‘¨β€πŸ’» AI & Machine Learning

Music Transcription with Transformers

Interactive demo of a few music transcription models created by Google's Magenta team. You can upload an audio and get the transcription.

https://colab.research.google.com/github/magenta/mt3/blob/main/mt3/colab/music_transcription_with_transformers.ipynb

Generating Music with Transformers

This Colab notebook lets you play with pretrained Transformer models for piano music generation, based on the Music Transformer model introduced by Huang et al. in 2018.

https://colab.research.google.com/notebooks/magenta/piano_transformer/piano_transformer.ipynb

Retraining an Image Classifier

This Colab demonstrates how to build a Keras model for classifying five species of flowers by using a pre-trained TF2 SavedModel from TensorFlow Hub for image feature extraction, trained on the much larger and more general ImageNet dataset.

https://colab.research.google.com/github/tensorflow/hub/blob/master/examples/colab/tf2_image_retraining.ipynb

Text Classification with Movie Reviews

This notebook classifies movie reviews as positive or negative using the text of the review. This is an example of binaryβ€”or two-classβ€”classification, an important and widely applicable kind of machine learning problem.

https://colab.research.google.com/github/tensorflow/hub/blob/master/examples/colab/tf2_text_classification.ipynb

Multilingual Universal Sentence Encoder Q&A Retrieval

Demo for using Universal Encoder Multilingual Q&A model for question-answer retrieval of text, illustrating the use of question_encoder and response_encoder of the model.

https://colab.research.google.com/github/tensorflow/hub/blob/master/examples/colab/retrieval_with_tf_hub_universal_encoder_qa.ipynb

Create and Train a Custom RL Agent

This colab demonstrates how to create a variant of a provided agent (Example 1) and how to create a new agent from scratch (Example 2).

https://colab.research.google.com/github/google/dopamine/blob/master/dopamine/colab/agents.ipynb

Visualize RL Agent Training on TensorBoard

This colab allows you to easily view the trained baselines with Tensorboard (even if you don't have Tensorboard on your local machine!). Simply specify the game you would like to visualize and then run the cells in order.

https://colab.research.google.com/github/google/dopamine/blob/master/dopamine/colab/tensorboard.ipynb

Hyperparameter Tuning with Tensorboard

The HParams dashboard in TensorBoard provides several tools to help with this process of identifying the best experiment or most promising sets of hyperparameters.

https://colab.research.google.com/github/tensorflow/tensorboard/blob/master/docs/hyperparameter_tuning_with_hparams.ipynb

πŸ‘¨β€πŸ’» Data & Analytics

RAPIDS cuDF for accelerated data science on Google Colab

Use RAPIDS cuDF and GPUs to turbocharge your data analysis work.

https://medium.com/google-colab/rapids-cudf-for-accelerated-data-science-on-google-colab-bf315d622ac7

Exploratory Data Analysis Intro

Getting started with data analysis on colab using python

https://colab.research.google.com/github/Tanu-N-Prabhu/Python/blob/master/Exploratory_data_Analysis.ipynb

Advanced Business Analytics and Mathematics

Programmatic Google Colab Notebook Series (2018-2023)

https://github.com/firmai/business-analytics-and-mathematics-python-book

Twitter Pulse Checker

This is a quick and dirty way to get a sense of what's trending on Twitter related to a particular Topic. For my use case, I am focusing on the city of Seattle but you can easily apply this to any topic.

https://colab.research.google.com/drive/1WIcVZgbrU0DYOQqaxuaCLKY6CoLBV18O

πŸ‘¨β€πŸ’» Cloud Computing

Colab + BigQuery β€” Perfect Together

The goal of this Colab notebook is to highlight some benefits of using Google BigQuery and Colab together to perform some common data science tasks.

https://colab.research.google.com/drive/1hSI1BXyCyj7viRpp1GFZqkU1qtBUd0g1?authuser=0

Online prediction with BigQuery ML

In this tutorial, you learn how to train and deploy a churn prediction model for real-time inference, with the data in BigQuery and model trained using BigQuery ML, registered to Vertex AI Model Registry, and deployed to an endpoint on Vertex AI for online predictions.

https://colab.research.google.com/github/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/official/bigquery_ml/bqml-online-prediction.ipynb

Serving PyTorch image models with prebuilt containers on Vertex AI

In this tutorial, you learn how to package and deploy a PyTorch image classification model using a prebuilt Vertex AI container with TorchServe for serving online and batch predictions.

https://colab.research.google.com/github/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/official/prediction/pytorch_image_classification_with_prebuilt_serving_containers.ipynb

AutoML training tabular binary classification model for batch explanation

In this tutorial, you learn to use AutoML to create a tabular binary classification model from a Python script, and then learn to use Vertex AI Batch Prediction to make predictions with explanations.

https://colab.research.google.com/github/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/official/explainable_ai/sdk_automl_tabular_binary_classification_batch_explain.ipynb

πŸ‘¨β€πŸ’» Data Visualization

Explore Patent Database with ML

Patent landscaping is an analytical approach commonly used by corporations, patent offices, and academics to better understand the potential technical coverage of a large number of patents where manual review (i.e., actually reading the patents) is not feasible due to time or cost constraints.

https://cloud.google.com/blog/products/data-analytics/expanding-your-patent-set-with-ml-and-bigquery

mediapy

Read, write, and show images and videos in a Colab notebook

https://colab.research.google.com/github/google/mediapy/blob/main/mediapy_examples.ipynb

Visualize Chemical Structures in a Notebook

Molecules can be represented as strings with SMILES. Simplified molecular-input line-entry system (SMILES) is a string based representation of a molecule.

https://colab.research.google.com/github/vinayak2019/python_quantum_chemistry_introductory/blob/main/Input_structure_for_QC_calculations.ipynb

Exploratory Data Analysis with Python

Exploratory Data Analysis or (EDA) is understanding the data sets by summarizing their main characteristics and, usually, plotting them visually.

https://colab.research.google.com/github/Tanu-N-Prabhu/Python/blob/master/Exploratory_data_Analysis.ipynb

πŸ‘¨β€πŸ’» Education

Colab Primer

Quick primer on Colab and Jupyter notebooks

https://colab.research.google.com/github/google/picatrix/blob/main/notebooks/Quick_Primer_on_Colab_Jupyter.ipynb

Intro Python Tutorial

Stanford CS231n Python Tutorial With Google Colab

https://colab.research.google.com/github/cs231n/cs231n.github.io/blob/master/python-colab.ipynb

Advanced Python Tutorial

In this tutorial, we will be exploring some advanced Python concepts and techniques using Google Colab.

https://colab.research.google.com/drive/1gCqFEquqNvEoTDX3SNhR2PZkXWPHKXnc?usp=sharing

πŸ‘¨β€πŸ’» Fun

Fast Style Transfer for Arbitrary Styles

Based on the model code in magenta and the publication: Exploring the structure of a real-time, arbitrary neural artistic stylization network.

https://colab.research.google.com/github/tensorflow/hub/blob/master/examples/colab/tf2_arbitrary_image_stylization.ipynb

Brax - Physics Environments for Simulations

Brax simulates physical systems made up of rigid bodies, joints, and actutators.

https://colab.research.google.com/github/google/brax/blob/main/notebooks/basics.ipynb

Predict Shakespeare with Keras+CloudTPU

This example uses tf.keras to build a language model and train it on a Cloud TPU. This language model predicts the next character of text given the text so far. The trained model can generate new snippets of text that read in a similar style to the text training data.

https://colab.research.google.com/github/tensorflow/tpu/blob/master/tools/colab/shakespeare_with_tpu_and_keras.ipynb

πŸ‘¨β€πŸ’» Science

AlphaFold

This Colab notebook allows you to easily predict the structure of a protein using a slightly simplified version of AlphaFold v2.3.2.

https://colab.research.google.com/github/deepmind/alphafold/blob/master/notebooks/AlphaFold.ipynb

AlphaTensor

This Colab shows how to load the provided .npz file with rank- 49 factorizations of 𝓣4 in standard arithmetic, and how to compute the invariants β„› and 𝒦 in order to demonstrate that these factorizations are mutually nonequivalent.

https://colab.research.google.com/github/deepmind/alphatensor/blob/master/nonequivalence/inspect_factorizations_notebook.ipynb

Google Earth API

This notebook demonstrates how to setup the Earth Engine Python API in Colab and provides several examples of how to print and visualize Earth Engine processed data.

https://colab.research.google.com/github/google/earthengine-api/blob/master/python/examples/ipynb/ee-api-colab-setup.ipynb

Molecular Dynamics Simulations

Notebook for running Molecular Dynamics (MD) simulations using OpenMM engine and AMBER force field for PROTEIN systems. This notebook is a supplementary material of the paper "Making it rain: Cloud-based molecular simulations for everyone" (link here) and we encourage you to read it before using this pipeline.

https://colab.research.google.com/github/pablo-arantes/Making-it-rain/blob/main/Amber.ipynb

πŸ‘¨β€πŸ’» BONUS:

Dataset Search

https://datasetsearch.research.google.com/