Fine-tuning a model to summarize world news

According to The Atlantic, The New York Times publishes more than 150 articles a day and more than 250 on Sundays. The Wall Street Journal publishes about 240 stories every day. Other websites, like Buzzfeed, publish more than 6,000 stories every month.

With the amount of information made available to…

Using Monte Carlo Simulation to Make Real Life Decisions

Recently, I was faced with a very difficult decision to make. I had to choose between various job offers that were all interesting, for different reasons. After a couple of sleepless nights, I realized one thing: why not use the tools at my disposal to help me make the decision?

Showing you multiple ways to reach out to people using Python

In this tutorial, I will show you multiple ways of sending emails using Python. This can be useful in many projects or cases where you need to share any type of information to different people in a fast, easy and secure way.

The traditional way: SMTPLIB

The library is the most popular one when…

Using GPT-2 to generate quality song lyrics

Natural Language Generation (NLG) has made incredible strides in recent years. In early 2019, OpenAI released GPT-2, a huge pretrained model (1.5B parameters) capable of generating text of human-like quality.

Generative Pretrained Transformer 2 (GPT-2) is, like the name says, based on the Transformer. It therefore uses the attention mechanism…

Hands-on Tutorials

Using numbers to show that fans do make a difference

In most countries, people are no longer allowed into stadiums, at least not in their normal capacity.

Any fan, of any sport, will tell you that watching games without fans is just not the same. There is a missing element.

While the spectacle might not be the same, this unlikely…

Understanding the revolutionary NLP deep learning model

If you are here to learn more about the movies, sadly, this is not the article you are looking for. I love Optimus Prime and Megatron as much as the next guy, but here, I will be talking about Transformer, the deep learning model!

The Transformer was first introduced in…

Data cleaning, EDA, feature engineering and Machine Learning with Pyspark

Pyspark is a Python API that supports Apache Spark, a distributed framework made for handling big data analysis. It’s an amazing framework to use when you are working with huge datasets, and it’s becoming a must-have skill for any data scientist.

In this tutorial, I will present how to use…

François St-Amant

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store