risllt2j51gruape0syn736o0yzxy5

Blog

Mar 11
A Complete Guide to Matrices for Machine Learning with Python

Matrices are a key concept not only in linear algebra but also with regard to their prominent application and use in machine learning (ML) and data science.

Mar 10
The Beginner’s Guide to Language Models with Python

Language models — often known for the acronym LLM for Large Language Models, their large-scale version — fuel powerful AI applications like conversational chatbots, AI assistants, and other intelligent text and content generation apps.

Mar 10
Understanding the DistilBart Model and ROUGE Metric

This post is in two parts; they are: • Understanding the Encoder-Decoder Architecture • Evaluating the Result of Summarization using ROUGE DistilBart is a “distilled” version of the BART model, a powerful sequence-to-sequence model for natural language generation, translation, and comprehension.

Mar 08
Text Summarization with DistillBart Model

This tutorial is in two parts; they are: • Using DistilBart for Summarization • Improving the Summarization Process Let’s start with a fundamental implementation that demonstrates the key concepts of text summarization with DistilBart: import torch from transformers import AutoTokenizer, AutoModelForSeq2SeqLM class TextSummarizer: def __init__(self, model_name=”sshleifer/distilbart-cnn-12-6″): “””Initialize the summarizer with a pre-trained model.

Mar 07
Diagnosing and Fixing Overfitting in Machine Learning with Python

Overfitting is one of the most (if not the most!) common problems encountered when building machine learning (ML) models.

Feb 24
Auto-Completion Style Text Generation with GPT-2 Model

This post is in six parts; they are: • Traditional vs Neural Approaches • Auto-Complete Architecture • Basic Auto-Complete Implementation • Caching and Batched Input When you type in a word in Google’s search bar, such as “machine”, you may find some additional words are suggested, such as “learning,” to make up “machine learning”.

Feb 21
Understanding RAG Part VI: Effective Retrieval Optimization

Be sure to check out the previous articles in this series: •

Feb 19
Understanding Probability Distributions for Machine Learning with Python

In machine learning, probability distributions play a fundamental role for various reasons: modeling uncertainty of information and data, applying optimization processes with stochastic settings, and performing inference processes, to name a few.

Feb 19
How to Do Named Entity Recognition (NER) with a BERT Model

This post is in six parts; they are: • The Complexity of NER Systems • The Evolution of NER Technology • BERT’s Revolutionary Approach to NER • Using DistilBERT with Hugging Face’s Pipeline • Using DistilBERT Explicitly with AutoModelForTokenClassification • Best Practices for NER Implementation The challenge of Named Entity Recognition extends far beyond simple […]

Feb 18
Magic: The Gathering Lifts the Lid on Its Epic Final Fantasy Crossover

Magic: The Gathering — Final Fantasy arrives June 13, featuring characters from every mainline Final Fantasy game.