
Welcome back AI prodigies!
In todayâs Sunday Special:
đThe Prelude
đ€Open-Source Approach
đClosed-Source Approach
đ·Using Open-Source to Build a Fitness Coach
đKey Takeaway
Read Time: 6 minutes
đKey Terms
Tokens: Units of text that represent words, characters, and punctuation.
Generative AI (GenAI): When AI models create new content such as text, images, audio, video, or code.
đ©ș PULSE CHECK
Should closed-source AI models be allowed?
đTHE PRELUDE
When OpenAI launched ChatGPT in November 2022, GenAI shifted from academic circles to everyday relevance seemingly overnight. Within weeks, millions of people were leveraging the conversational chatbot to draft emails, brainstorm ideas, and double-check their grammar.
But behind the scenes, a divide was forming. As the dust settled, two approaches to GenAI developments emerged: open-source and closed-source. These two approaches shape how GenAI is built, optimized, and deployed.
So, whatâs the difference between open-source and closed-source? How do developers leverage open-source resources to build custom GenAI tools?
đ€OPEN-SOURCE APPROACH
When a GenAI tool is open-source, it means the âsource codeâ is publicly available, and developers can freely explore, experiment, and build upon it.
The âsource codeâ refers to the underlying software that defines how a GenAI tool is trained and used.
In simple terms, the âsource codeâ tells a GenAI tool what to do and how to do it. Itâs like a recipe, which outlines a specific mealâs exact ingredients, measurements, and preparations. If you can access the recipe, you know how the specific meal was made.
Unlike closed-source GenAI tools, developers can âpeek insideâ open-source GenAI tools and understand how they work. This ability to âpeek insideâ offers three distinct advantages:
â Collaboration and Innovation
â Equity and Accessibility
â Trust and Transparency
Popular open-source âfoundation modelsâ include Metaâs Llama 4, Mistral AIâs Mistral Small 3.1, and DeepSeekâs DeepSeek-V3-0324. A âfoundation modelâ is trained on massive amounts of general data so developers can use it to build their own GenAI tools for text generation, image recognition, or speech processing.
For example, NVIDIA developed Super-49B-v1, a Reasoning Engine distilled from Llama-3.3-70B-Instruct to excel at complex, multi-step workflows while processing information quickly.
đCLOSED-SOURCE APPROACH
When a GenAI tool is closed-source, it means the âsource codeâ isnât publicly available, and only the company that created it can access, modify, or share it. This privacy provides three distinct advantages:
â Control
â Security
â Economic Sustainability
Developers can still access closed-source GenAI tools via paid APIs, which are automatically updated, managed, and optimized by the company providing them.
For example, the OpenAI Developer Platform offers five tools to help developers build useful, reliable, and powerful AI Agents:
File Search: Allows AI Agents to retrieve relevant information from large documents.
Web Search: Provides AI Agents the ability to access up-to-date information from the Internet.
Computer Use: Enables AI Agents to navigate your computer autonomously.
Response API: Combines these four tools into a single API Call.
An Application Programming Interface (API) acts as the messenger between software applications, while API Calls are the messages.
Without the Response API tool, developers would have to create tons of different API Calls within complex codebases to equip their AI Agents with these capabilities.
đ·USING OPEN-SOURCE TO BUILD A FITNESS COACH
Now, weâll break down the three core open-source components a developer would leverage to build an AI-powered fitness coach.
Documentation: Outlines the technical aspects of building customized AI models. For instance, an AI-powered fitness coach requires the appropriate âtokenization settingsâ and âvectorization frameworks.â A Tokenizer breaks down sentences into Tokens for processing. A Vectorizer converts those Tokens into numerical representations that the AI-powered fitness coach can understand.
Architecture: The internal structure of an AI-powered fitness coach includes Transformer Layers and Attention Heads. Transformer Layers process each word within the context of an entire sentence (i.e., âWhatâs the best way to tone my arms without a machine?â). Attention Heads help the AI-powered fitness coach focus on the most essential words within the context of the entire sentence, such as âtone,â âarms,â and âmachine.â
Pre-Trained Weights: Each word must be converted into Vector Embeddings or a list of numbers (e.g., [0.23, -0.56, 0.98]). As Vector Embeddings are processed, Pre-Trained Weights help the AI-powered fitness coach associate and connect words with similar meanings. For example, the word âappleâ is often linked with âfruit,â âred,â or âsweet.â
These three core open-source components enable developers to customize a âfoundation modelâ into an AI-powered fitness coach.
Documentation ensures the Tokenizer and Vectorizer correctly convert words like âsupersetâ and âmax repâ into numerical representations that the AI-powered fitness coach can understand, enabling it to process inputs accurately.
Architecture makes sure the Transformer Layers and Attention Heads correctly understand the relationships between words within the context of an entire sentence, allowing the AI-powered fitness coach to generate contextually accurate outputs.
Pre-Trained Weights help the AI-powered fitness coach figure out which words within a user query (i.e., âpromptâ) should be prioritized to comprehend the request accurately. For example, if a user asks: âHow do I strengthen my calves?â the AI-powered fitness coach knows that âstrengthenâ and âcalvesâ are essential to understanding the request.
đKEY TAKEAWAY
GenAI developments have split into open-source and closed-source. In general, open-source serves developers, while closed-source serves enterprises.
This divide reflects the distinct needs of each group. Open-source offers freedom, flexibility, and collaboration, empowering developers to customize and innovate. Closed-source provides control, security, and reliability, which enterprises need to scale and manage.
đFINAL NOTE
FEEDBACK
How would you rate todayâs email?
â€ïžTAIP Review of The Week
âI canât believe Iâve been reading your newsletter for nearly a year. Iâm more informed about AI than ever!â
REFER & EARN
đYour Friends Learn, You Earn!
{{rp_personalized_text}}
Copy and paste this link to friends: {{rp_refer_url}}
