deep learning

Top 10 Deep Learning Concept Interview Questions and Answers Neural network model terms for data scientist and machine learning engineer interviews

Top 10 Deep Learning Concept Interview Questions and Answers

Deep learning (DL) terminologies are frequently asked during data science and machine learning interviews. In this tutorial, we will discuss the top 10 neural network model concept interview questions and how to answer them. Resources for this post: Let’s get started! Question 1: What is weight initialization for a neural network model? In the python code …

Top 10 Deep Learning Concept Interview Questions and Answers Read More »

Top 10 NLP Concepts Interview Questions and Answers Natural Language Processing (NLP) terms for data scientist and machine learning engineer interviews

Top 10 NLP Concepts Interview Questions and Answers

Natural Language Processing (NLP) terminologies are frequently asked during data science and machine learning interviews. In this tutorial, we will talk about the top 10 Natual Language Processing (NLP) concepts interview questions and how to answer them. The top 10 questions are: Resources for this post: Let’s get started! Question 1: What are vocabularies, documents, …

Top 10 NLP Concepts Interview Questions and Answers Read More »

Transfer Learning for Text Classification Using PyTorch Fine-tuning a pretrained transformer BERT model for customized sentiment analysis using PyTorch training loops

Transfer Learning for Text Classification Using PyTorch

Hugging Face provides three ways to fine-tune a pretrained text classification model: PyTorch, Tensorflow Keras, and transformer trainer. Compared with the other two ways, PyTorch training loops provide more customization and easier debugging of the training loops. This tutorial will use PyTorch to fine-tune a text classification model. We will talk about the following: If …

Transfer Learning for Text Classification Using PyTorch Read More »

Transfer Learning for Text Classification Using Hugging Face Transformers Trainer Fine-tuning a pretrained transformer BERT model for customized sentiment analysis using transformer PyTorch Trainer from Hugging Face

Transfer Learning for Text Classification Using Hugging Face Transformers Trainer

Hugging Face provides three ways to fine-tune a pretrained text classification model: Tensorflow Keras, PyTorch, and transformer trainer. Transformer trainer is an API for feature-complete training in PyTorch without writing all the loops. This tutorial will use the transformer trainer to fine-tune a text classification model. We will talk about the following: Resources for this …

Transfer Learning for Text Classification Using Hugging Face Transformers Trainer Read More »

Customized Sentiment Analysis: Transfer Learning Using Tensorflow with Hugging Face Fine-tune a pretrained transformer model for customized sentiment analysis using TensorFlow Keras with Hugging Face

Customized Sentiment Analysis: Transfer Learning Using Tensorflow with Hugging Face

Transfer learning is also called pretrained model fine-tuning. It refers to training a model with a small dataset while leveraging the stored information from a model trained with a large dataset for another task. In this tutorial, we will talk about how to use a small review dataset to build a sentiment prediction model while …

Customized Sentiment Analysis: Transfer Learning Using Tensorflow with Hugging Face Read More »

Sentiment Analysis: Hugging Face Zero-shot Model vs Flair Pre-trained Model Which pre-trained Natual Language Processing (NLP) model has better prediction accuracy for the sentiment analysis, Hugging Face or Flair?

Sentiment Analysis: Hugging Face Zero-shot Model vs Flair Pre-trained Model

There are different methods for sentiment analysis. Some examples are lexicon-based methods, building customized models, using cloud services for sentiment predictions, or using pre-trained language models. In this tutorial, we will compare two state-of-art deep-learning pre-trained models for sentiment analysis, one from Hugging Face, and the other from Flair. We will talk about: Resources for …

Sentiment Analysis: Hugging Face Zero-shot Model vs Flair Pre-trained Model Read More »

Create Beautiful AI Art Using Python KerasCV StableDiffusion on Google Colab Use text description to generate images in Google Colab and save the images in Google Drive

Create Beautiful AI Art Using Python KerasCV StableDiffusion on Google Colab

Stable diffusion is an open source text-to-image deep learning model by stability.ai. In this tutorial, we will talk about how to use the KerasCV’s implementation of stable diffusion to generate beautiful images based on text descriptions. We will talk about: Resources for this post: Let’s get started! Step 1: Set GPU as Runtime Type In the …

Create Beautiful AI Art Using Python KerasCV StableDiffusion on Google Colab Read More »

Categorical Entity Embedding Using Python Tensorflow Keras Entity embedding for high cardinality categorical variables using Airbnb data

Categorical Entity Embedding Using Python Tensorflow Keras

Categorical entity embedding extracts the embedding layers of categorical variables from a neural network model, and uses numeric vectors to represent the properties of the categorical values. It is usually used on categorical variables with high cardinalities. For example, a marketing company can create categorical entity embedding for different campaigns to represent the characteristics using …

Categorical Entity Embedding Using Python Tensorflow Keras Read More »