Abstractive text summarization with transformer-based models

Text summarization is a text generation task, which generates a concise and precise summary of input texts. There are two kinds of summarization tasks in Natural Language Processing, one is the extractive approach, which is to identify the most important sentences or phrases in the original text and combine them to make a summary. The more advanced approach is the abstractive approach, which generates new phrases and sentences to represent the information from the input text.

Read more

Python Basics: Scopes

On your Python journey, you’ve probably learned about functions and loops. To fully understand functions and loops in Python, you need to be familiar with the issue of scope. By the end of this video course, you’ll know: What a scope is and why it’s important How Python applies the LEGB rule for scope resolution Scope can be one of the more difficult programming concepts to understand, so in this video course, you’ll get a gentle introduction to it. This […]

Read more

Python’s doctest: Document and Test Your Code at Once

Are you interested in writing usage examples for your code that work as documentation and test cases simultaneously? If your answer is yes, then Python’s doctest module is for you. This module provides a testing framework that doesn’t have too steep a learning curve. It’ll allow you to use code examples for two purposes: documenting and testing your code. Apart from allowing you to use your code’s documentation for testing the code itself, doctest will help you keep your code […]

Read more

What went wrong with Tay, the Twitter bot that turned racist?

Of late, we’ve been hearing about Twitter bots in the news due to the whole saga of Elon Musk buying Twitter. One of the reasons the deal took so long to pan out was Musk’s concerns about the number of spam bots running rampant on the platform. While Musk believes that bots make up more than 20% of accounts on Twitter, Twitter states that the number of bots on its platform is marginal. So, what’s this Twitter bot thing? A […]

Read more

The Business Case For AI: A Review by Customer Contact Week Conference & Magazine

“Stop using AI.” This is how Dr. Kavita Ganesan, an AI expert since 2005, begins her book The Business Case for AI. In a refreshingly direct tone, Ganesan goes on to deliver the news that, yes, you probably need to rethink your use of AI and, no, it does not need to be this difficult or this expensive. While AI is a necessary tool for businesses to remain competitive, many find themselves worried about the investment, and the consequences– what […]

Read more

What are Precision & Recall in Machine Learning?

Precision and recall are commonly used metrics to measure the performance of machine learning models or AI solutions in general. It helps understand how well models are making predictions. Let’s use an email SPAM prediction example. Say you have a model that looks at an email and decides whether it’s SPAM or NOT SPAM. To see how well it’s doing, you want to compare it with human-generated labels, which we will call the actual labels. To demonstrate this, the table […]

Read more
1 152 153 154 155 156 941