machine learning

22 posts

How to Build a Similar Posts Feature for Your Gatsby (JAMSTACK) Website using Machine Learning (Document Similarity)
Extract representations for each post using a pretrained model, compute similarity scores, build a data structure that maps each post to a list of similar posts and display it on the post page.

Jan 6, 2023

Introducing Peacasso: A UI Interface for Generating AI Art with Latent Diffusion Models (Stable Diffusion)
I built a UI interface for interacting with latent diffusion models.

Sep 24, 2022

Latent Diffusion Models: Components and Denoising Steps
Visualizing results from the the denoising steps for stable diffusion models.

Aug 31, 2022

How to Build An Android App and Integrate Tensorflow ML Models
How to integrate your tensorflow models in a simple android app

May 22, 2022

How to Implement Gradient Explanations for a HuggingFace Text Classification Model (Tensorflow 2.0)
Attribution based explanations via vanilla gradients for Huggingface BERT text classification models.

Apr 29, 2022

How to Finetune BERT for Text Classification (HuggingFace Transformers, Tensorflow 2.0) on a Custom Dataset
Predict classes using HuggingFace Transformers Tensorflow 2.0 on your custom dataset.

Apr 25, 2022

State of Deep Learning for Code Generation (DL4Code)
Machine learning models can now write decent code. Here are a list of key papers and models that address this task.

Apr 23, 2022

CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generation | Paper Review
A review of the March 2021 paper on CodexGLUE, a dataset for code understanding and generation

Mar 6, 2022

How to Speed Up Neural Network Training with Intel's Gaudi HPUs. A Tensorflow 2.0 Object Detection Example
You have heard of GPUs, and TPUs. Here is what you need to know as an ML engineer to use HPUs (Habana Processor Units)!

Mar 1, 2022

Signature Image Cleaning with Tensorflow 2.0 - TF.Data and Autoencoders
How to create a synthetic TF.Data generator and train a deep convolutional neural networks on the task of signature cleaning.

Feb 25, 2022

AlphaCode: Competition-Level Code Generation with Transformer Based Architectures | Paper Review
A review of the Feb 2022 AlphaCode paper from DeepMind".

Feb 19, 2022

How To Convert PDFs to Images for ML Projects Using Ghostscript and Multiprocessing
Want to use data from PDF files for your machine learning projects? Convert them to images using Ghostscript. Get it done even faster (7x speed up) with multiprocessing.

Jan 28, 2022

How to Implement Extractive Summarization with BERT in Pytorch
How to Implement Extractive Summarization (as Sentence Classification) using HuggingFace BERT models in Pytorch

Aug 27, 2021

Neural Extractive Summarization with BERT
Overview of Extractive Summarization using BERT Based Models

Aug 22, 2021

Top 10 Machine Learning and Design Insights from Google IO 2021
A list of the top 10 design and AI/ML insights discussed at Google IO 2021.

May 18, 2021

State of Deep Learning for Object Detection - You Should Consider CenterNets!
It's 2021 - there has been quite a bit of progress in practical models for object detection.

Mar 21, 2021

Real-Time High-Resolution Background Matting | Paper Review
A review of the CVPR 2021 paper "Real-Time High-Resolution Background Matting".

Mar 3, 2021

U2Net Going Deeper with Nested U-Structure for Salient Object Detection | Paper Review
A review of the August 2020 U^2-Net paper. Technical overview, practical considerations.

Mar 2, 2021

Recent Breakthroughs in AI (Karpathy, Johnson et al, Feb 2021)
Summary of my notes from the Feb 11 Talk on “Recent breakthroughs in AI” .

Feb 11, 2021

How to Explain HuggingFace BERT for Question Answering NLP Models with Tensorflow 2.0
Using gradients to visualize what parts of the question/passage most impact the predicted answer.

Jul 22, 2020

Introducing Anomagram - An Interactive Visualization of Autoencoders, Built with Tensorflow.js
An interactive tool that lets you train and evaluate an autoencoder for the task of anomaly detection on ECG data. It lets you visualize performance metrics, internal model state as training progresses, all in the browser.

Dec 31, 2019

Designing Anomagram
A discussion on some of the design and optimizations that support the user experience goals for the Anomagram app.

Dec 31, 2019

Read the Newsletter.

I write a monthly newsletter on Applied AI and HCI. Subscribe to get notified on new posts.

Feel free to reach out! Twitter, GitHub, LinkedIn

Read and Subscribe