InTowards AIbyAla Falaki, PhDHow to use the Huggingface 🤗 Evaluate Library in Action (With Batching)The Evaluate library is compelling; however, it was confusing the first time I wanted to try it. It threw an OOM error by applying it to…Feb 17, 2023Feb 17, 2023
InTowards AIbyAla Falaki, PhDHow To Do Effective Paraphrasing Using Huggingface and Diverse Beam Search? (T5, Pegasus,…)The available paraphrasing models usually don’t perform as advertised. However, some techniques can help you easily get the most out of…Sep 12, 2022Sep 12, 2022
Ala Falaki, PhDHow to use [HuggingFace’s] Transformers Pre-Trained tokenizers?Whether you are using traditional Natural Language Processing (NLP) algorithms or state-of-the-art Deep Neural Networks architectures…Mar 17, 2021Mar 17, 2021
Ala Falaki, PhDHow to load any Huggingface [Transformer] model and use them?Consider this article as part 2 of my previous post, “How to use [HuggingFace’s] Transformers Pre-Trained tokenizers?”, where I attempted…Mar 20, 20211Mar 20, 20211
Ala Falaki, PhDSentiment Analysis by Fine-Tuning BERT [feat. Huggingface’s Trainer class]Fine-tune transformer-based models (BERT, XLNet, GPT-2, DistilBERT, T5, BART, …) for sentiment analysis with Huggingface Trainer function.Mar 31, 2021Mar 31, 2021
InTowards AIbyAla Falaki, PhDHow to use Huggingface Datasets? A Guide to Features like Streaming, Metrics, Map, Concatenate,…A handy library to load the datasets, easily manipulate them, and evaluate your results using implementations of well-known metrics.Feb 24, 20221Feb 24, 20221
Ala Falaki, PhDWhat are the differences in Pre-Trained Transformer-base models like BERT, DistilBERT, XLNet, GPT…This article is a cheat sheet of well-known Transformer-based models. Trying to explain their uniqueness (while they are all based on…May 19, 20212May 19, 20212