Shahriar Zeem

Shahriar Zeem AI Developer | ML | Python Backend Developer

Engineering student and problem solver who loves building robust backend systems and intelligent applications.

I turn complex ideas into scalable solutions using Python, FastAPI and Machine Learning.

11/11/2026

Tool calling explained: ChatGPT never runs a calculator.

It writes one line of JSON, your code runs it, and the result goes back into the chat as a new message. For 1847 Ă— 23 that result is 42,481, and the model never did the math. Search, code and database tools work the same way, and that loop is what an AI agent is. Have you built a tool call yourself? What broke first?

09/11/2026

RAG explained: how ChatGPT answers questions about a PDF it was never trained on.

A 1,000-page file is about 500,000 words, and in a typical setup the model reads about 1,000 of them. That is 0.2%. Four steps: chunk, embed, retrieve, generate. In the toy example, "can I leave early" matches the cancellation clause at 0.995 cosine similarity with zero shared words.

Which step should I slow down next?

06/11/2026

ChatGPT has no memory between messages. It rereads your whole chat every time you hit send. In a toy chat of 100-token messages, message 10 reads 1,900 tokens, and 10 messages read 10,000 in total. That is why long chats slow down and drift. Would you start a new chat for a new task, or keep one running?

11 Weeks of Silent Revenue Loss: How Input Drift Cost a Client Millions (And the Process That Stops It)The Story (Case S...
04/11/2026

11 Weeks of Silent Revenue Loss: How Input Drift Cost a Client Millions (And the Process That Stops It)

The Story (Case Study F19: Anecdote-Meets-Evidence Bridge)

Specific. Anonymized. Real. The kind of failure that happens at companies doing most things right.

For 11 weeks, a client’s recommendation system was quietly draining money. The business blamed seasonality. Then a competitor’s pricing move. Then an underperforming campaign.

The model had been running perfectly for eight months.

Then, a supplier changed how they categorized a product line. The "category" field, one of the model’s top features, shifted from one naming convention to another.

The model kept running. It just lost its most informative feature without knowing it.

Recommendations became subtly off. Not obviously wrong. Just… drifting.

Cart sizes dropped 4%.

Repeat purchase rate dropped 2.7%.

Small numbers. Easy to explain away.

By week 11, someone noticed the model’s confidence scores had drifted predictions that used to land in the 0.8–0.9 range were clustering around 0.65.

That thread unraveled the mystery.

The Fix:

A feature validation check that runs daily. If any top-10 feature changes distribution by more than 15% from baseline, it flags for review.

It’s been running for five months without a false alarm.

The Lesson:

It’s not just "monitor your models." Everyone knows that.

The real lesson: Monitor the inputs, not just the outputs. By the time the outputs drift, the damage is already weeks old.

What’s your process for catching input drift before it becomes output drift?

💬 Drop your thoughts below. Let’s build better processes, not just better models.

02/11/2026

Why ChatGPT can't count the r's in strawberry: it never sees the letters.

The GPT-4 tokenizer turns " strawberry" into one number, 73700. Typed alone, it becomes three chunks: str, aw, berry. The r's are hidden inside them.

Write it as s t r a w b e r r y and you get 10 tokens, one per letter. Counting gets a lot easier.

What is the strangest thing an LLM has gotten wrong for you?

30/10/2026

AI hype vs reality: developers thought AI made them 20% faster. The stopwatch said 19% slower (METR trial, 2025).

In 2016, radiologists were "finished." Mayo Clinic now has 55% more of them. In 2.5 minutes: what held up in four years of AI, what got fragile, and why 95% right per step becomes 60% after ten.

Which part have you seen yourself?

28/10/2026

How Netflix recommendations work: using just four numbers.

You rate action 6, romance 1, comedy 4 and dark 9. Each show gets the same four scores. Multiply the matching pairs, add them up, and the highest total wins.

Heist Run: 86
Hollow Lake: 109
Love Notes: 40

The dark thriller wins because your “dark” score of 9 meets its “dark” score of 10. That single match contributes 90 points.

This is a simplified recommender system example. Real systems use matrix factorization and learn 20–100 hidden factors from ratings—not four labels chosen by hand.

Which show would your four numbers pick?

26/10/2026

Naive Bayes spam filter, explained by hand: in a toy mailbox, FREE shows up in 50% of spam and 5% of normal mail.

That ratio of 10 multiplies the spam odds. Three words take a 40% guess to 97.6%, then one ordinary word pulls it back to 83%. It is called naive because it treats words as independent, which they are not.

Counts are made up, the arithmetic is exact. Which word in your inbox is the clearest spam signal?

23/10/2026

ChatGPT is autocomplete with a gambling problem. 🎲

Every word it writes is a bet: fridge 53%, bowl 24%, cup 18%, oven 4%, moon 1% (toy numbers). It rolls a weighted die and picks one. That's why the same question gets different answers.

Has ChatGPT ever given you two different answers to the same prompt? What was the prompt?

21/10/2026

ResNet explained: a 56-layer network lost to a 20-layer one, on its own training data.

That's the degradation problem from the original ResNet paper. The fix is one addition: y = F(x) + x. A skip connection (a bypass lane) lets the layers learn only what to change.

ImageNet, 34 layers: 28.54% error without shortcuts, 25.03% with them.

Where did skip connections finally click for you: the paper, a course, or code?

Follow Shahriar Zeem for deep learning explained visually.

Address

Dhaka
1216

Alerts

Be the first to know and let us send you an email when Shahriar Zeem posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.

Contact The Business

Send a message to Shahriar Zeem:

Shortcuts

Share