January 2, 2023 No Comments

Prompt Tuning For Large Language Models With Inference

Introduction Prompt tuning is a technique that uses frozen pre-trained language models to downstream tasks that minimize per-task storage and memory usage during the training phase and this is useful for Large Language Models (LLMs) such as GPT2, T5, GPT-J, GPT-NEO, GPT-NEOX, GPT-20B, GPT3, etc where the model is so large that fine-tuning becomes difficult […]

December 30, 2022 No Comments

Optical Character Recognition With Hugging Face Spaces

What is Hugging Face Hub? The HuggingFace Hub is a platform that allows developers to store and share code, as well as collaborate on Machine Learning projects. It hosts Git-based repositories, a type of version-controlled storage where developers can keep all of their project files. Developers can upload and access cutting-edge models for natural language processing, computer […]

June 24, 2022 No Comments

Extend Session Timeout For Dialogflow Chatbot

In Dialogflow, the session for agents is maintained by Dialogflow itself. Session continuous the conversation flow between the agent and the user. Why is it necessary to extend the Dialogflow session? In the conversation with the chatbot, if a user takes longer than 30 minutes to respond to the agent then the session between the user […]

June 24, 2022 No Comments

How To Integrate Dialogflow ES API To Add NLP Capabilities In Your Chatbot?

In our previous tutorial, we have demonstrated how to create chatbots using Python for various channels such as: Telegram Discord Facebook Messenger Slack Whatsapp API Now, all those bots would be good but they will have one limitation. They don’t have NLP capabilities. So, based upon user’s inputs, we’ll be able to provide fixed answers […]

June 18, 2022 No Comments

Exploring The Text Generation With OPT (Open Pre-Trained Transformers)

Introduction Facebook/meta AI has introduced a new large language model trained on billions of parameters called OPT (Open Pre-trained Transformers), ranging from 125M to 175B parameters. It can be used to generate creative text, solve simple math problems, answer reading comprehension questions, and address other Natural Language Processing related issues. We tried a few different […]

June 18, 2022 No Comments

Tutorial: How To Set Up An EC2 Instance In AWS Cloud?

What is an EC2 Instance? In Amazon Web Services terminology, an EC2 instance is just a virtual server. EC2 stands for Elastic Compute Cloud. It is a web service that allows an AWS subscriber to request and provision a compute server in the AWS cloud. The instance will be charged every hour at various prices […]

April 22, 2022 5 Comments

Create Facebook Messenger Bot Using Python Tutorial with Examples

Introduction We have previously prepared a tutorial on creating a Facebook Messenger Bot using the Dialogflow integration. Here, we will learn how to create a Facebook Messenger Bot using the Facebook Graph API.  In the following tutorial, we will learn how we can create a Facebook messenger bot to get the different types of responses such as text, generic, […]

April 19, 2022 2 Comments

Create WhatsApp Bot With Twilio Using Python Tutorial With Examples

Introduction WhatsApp is unarguably the most popular messaging app which helps people to connect across the globe. It is fair to say WhatsApp is becoming an integral part of our life. The Platform has more than two billion monthly active users. With this much potential user base, any business cannot afford to ignore WhatsApp. We […]

April 16, 2022 No Comments

Create Discord Bot Using Python Tutorial With Examples

Introduction Discord is a group-chat platform similar to Skype, TeamSpeak, or Slack that allows users to communicate simple text messages as well as rich messaging. In this tutorial, we will learn to create a Discord bot and add it to our channel. How we can send text, image, video, audio, files through the bot, and […]

April 13, 2022 2 Comments

Create Slack Bot Using Python Tutorial With Examples

Introduction Slack is a useful tool for remote teams to interact more quickly and keep documents in one location. Slackbot is helpful for creating automatic messages for many purposes. Here in this tutorial, we will learn how we can create a bot in slack and add it to our channel and get the text response […]