Erwin Salas

Articles & resources

Everything a Marketing Director MUST Know About Artificial Intelligence

Leer en español ↗
About this translation

Original publication dates and historical context are preserved. Images, embedded media, source documents and code examples remain in their original language.

Today's large language models (LLMs) have revolutionized everyday marketing, but let's be honest: how many of us really understand what is behind this technological marvel that makes our lives easier? Well, I have just stumbled across a real gem: a Stanford VIP cheat sheet on Transformers and Large Language Models. An easy-to-digest guide tailored to help any marketing director (or anyone curious about AI) quickly grasp how these artificial intelligences “think.”

Everything you need to know about AI on one sheet

Why should you pay attention?

Because it is not enough to know that AI writes spectacular content for you or analyzes customers in the blink of an eye. You need to know how it reasons, so you can distinguish whether its answer is a valid argument or an invention worthy of a science-fiction script.


Hallucination: a risk that threatens your strategy

If you blindly trust AI without knowing how it works, you could encounter the dreaded “hallucination.” Imagine AI inventing facts about your new product or confusing your target audience. That could cost you customers, your reputation, and, of course, a sizeable chunk of your budget. Doesn't sound good, does it?


The 5 key elements according to Stanford

This VIP cheat sheet comes from the CME 295 course at Stanford, first-class material created in March 2025 by Afshine and Shervine Amidi. What do they say we should understand? Here are the essentials:

  1. Tokens: the basic building blocks of language
    AI does not read whole sentences as we do; it splits text into “tokens,” which can be words, parts of words, or even individual characters.

    • Watch out: if your marketing prompt is poorly segmented, your output will be a mess.

    • There is a token limit (the model's famous “context”).

    • Different tokenizers can process your text differently.

    In the cheat sheet, they show how “this teddy bear is reasonably cute” becomes separate tokens. For marketing, this means even a tiny change in wording can completely change the response you receive.

  2. Embeddings: the semantic map
    AI converts words into numerical vectors, called embeddings, where each axis represents a nuance of meaning.

    • This lets it discover relationships between seemingly unrelated concepts.

    • It comes up with great analogies to explain complex products.

    • It detects which message will resonate best with your audience.

    The cheat sheet explains how similarity between tokens is calculated using the cosine of the angle between vectors, and this is key to AI capturing semantic relationships that matter to your marketing strategy.

  3. Attention: the trick for extracting what matters
    The attention mechanism is the star of the show. Mathematical formulas—which we do not need to memorize—allow AI to “focus” on the essential parts of your prompt for each response.

    • It prioritizes what is most relevant in your prompt.

    • You can guide its attention toward specific features of your brand or product.

    • If your instructions are vague, AI may focus on something you do not care about.

    Thanks to attention, AI does not get lost in irrelevant details and stays focused on what really matters.

  4. Multi-Head Attention (MHA): attention in multitasking mode
    Models usually use several attention “heads” to analyze different aspects of the text simultaneously.

    • They capture nuances of tone and style in your prompts.

    • They can work with both overall context and tiny details.

    • They generate refined content that reaches your target audience on multiple levels.

  5. Transformer architecture: the engine driving it all
    The Transformer consists of encoders (for reading) and decoders (for generating), and is the foundation of models such as GPT, Claude, and Gemini.

    • It processes large volumes of text (ideal for a CRM packed with data).

    • It predicts the next token based on all preceding context.

    • It maintains coherence even in long or complex texts.


Why should you care as a marketing director?


Everyday applications:


The marketing director who understands AI is in control

Stanford's cheat sheet reminds us of something vital: this is not magic, but mathematics turned into art. You do not need to be an AI engineer, but it helps to become familiar with the fundamentals. Then you will be able to:

At the next meeting where AI comes up (whether for writing, analysis, or proposing ideas), remember: those who use AI knowledgeably hold the reins of modern marketing. Are you ready to make the most of this revolution? If you do not understand how it “thinks,” you are probably only getting halfway there. Time to step up!