Author:

sciencenotes.medium.com Uncategorized 4 min read

How to Calculate TF-IDF in Python

A code-based tutorial for cleaning, tokenization, lemmatization, calculating term frequency, and calculating TF-IDF for a collection of text documents in Python. You can also consider this tutorial as NLTK for beginners. TF-IDF reflects the importance…

Maryam Bahrami Read article →
sciencenotes.medium.com Uncategorized 3 min read

Attention Mecanism

Attention network is the core of Transformers, Vision Transformers, and Large Language Models (LLMs). Understanding the Attention mechanism and the neural architecture of the attention network helps to understand the transformers architecture and the LLMs…

Maryam Bahrami Read article →
medium.com Uncategorized 1 min read

Top 20 quotes by Miyamoto Musashi

“The ultimate aim of martial arts is not having to use them.” “Know the smallest things and the biggest things, the shallowest things and the deepest things.” “There is timing in the whole life of…

Karthik Ramesan Read article →
ai.plainenglish.io Uncategorized 3 min read

How to use fuzzy matching for deduplication

Duplicate records in the data can occur due to human mistakes such as misspellings, typos, wrong translations, and using abbreviations. Therefore, Data Scientists might need to deduplicate records generated or extracted by human inputs to…

Maryam Bahrami Read article →
ai.plainenglish.io Uncategorized 4 min read

Transformer Architecture for LLMs

Transformers opened a new door through Natural Language Processing, and it is the basis of LLMs, which outperforms the earlier NLP models such as RNN. Google introduced Transformers in 2017 in the paper entitled: Attention…

Maryam Bahrami Read article →
sciencenotes.medium.com Uncategorized 5 min read

Rust Programing For Beginners in 6 Mins!

Once, my colleague asked: “Have you ever heard about Rust programming? It is a new programming language, not object-oriented and much faster than C++”. Well, I had not heard and used it by then. However,…

Maryam Bahrami Read article →