<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Wamiq Raza on Medium]]></title>
        <description><![CDATA[Stories by Wamiq Raza on Medium]]></description>
        <link>https://medium.com/@WamiqRaza?source=rss-d43962a6fdea------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*PkV27vBdqwLhMBYK6PXCow.jpeg</url>
            <title>Stories by Wamiq Raza on Medium</title>
            <link>https://medium.com/@WamiqRaza?source=rss-d43962a6fdea------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 14:50:22 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@WamiqRaza/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The Best AI Image Detector, Tested: Our 60-Image Benchmark Method]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://faun.pub/the-best-ai-image-detector-tested-our-60-image-benchmark-method-a5ce352aa0e8?source=rss-d43962a6fdea------2"><img src="https://cdn-images-1.medium.com/max/2150/1*T_KkflJj9miv6NytM0YBbQ.png" width="2150"></a></p><p class="medium-feed-snippet">Most &#x201C;best AI image detector&#x201D; lists are guesswork. Here&#x2019;s the fix.</p><p class="medium-feed-link"><a href="https://faun.pub/the-best-ai-image-detector-tested-our-60-image-benchmark-method-a5ce352aa0e8?source=rss-d43962a6fdea------2">Continue reading on FAUN.dev()  »</a></p></div>]]></description>
            <link>https://faun.pub/the-best-ai-image-detector-tested-our-60-image-benchmark-method-a5ce352aa0e8?source=rss-d43962a6fdea------2</link>
            <guid isPermaLink="false">https://medium.com/p/a5ce352aa0e8</guid>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[ai-image-detection]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Wamiq Raza]]></dc:creator>
            <pubDate>Sun, 09 Aug 2026 16:30:06 GMT</pubDate>
            <atom:updated>2026-08-09T16:30:06.833Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Beyond Prompting: Loop Engineering The Skill That’s Replacing Prompting]]></title>
            <link>https://faun.pub/beyond-prompting-why-the-head-of-claude-code-just-swapped-prompts-for-loops-and-why-you-should-4c45b133fb43?source=rss-d43962a6fdea------2</link>
            <guid isPermaLink="false">https://medium.com/p/4c45b133fb43</guid>
            <category><![CDATA[openai]]></category>
            <category><![CDATA[genai]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[claude]]></category>
            <dc:creator><![CDATA[Wamiq Raza]]></dc:creator>
            <pubDate>Thu, 09 Jul 2026 20:57:19 GMT</pubDate>
            <atom:updated>2026-07-09T21:12:12.885Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/603/1*SqwFu_o49b__ZDJLdSB0sg@2x.jpeg" /></figure><p>The era of the single-shot prompt is ending. Here is how agentic loops are turning LLMs from thinking assistants into autonomous digital employees.</p><p>There’s a shift happening in how the best people use AI, and most people haven’t noticed it yet.</p><p>It got put into words by someone worth listening to: <strong>Boris Cherny, the head of Claude Code at Anthropic </strong>the person who built the tool. In a clip that tore across the internet in June 2026, he said something that stopped a lot of engineers cold:</p><blockquote><em>“I don’t prompt Claude anymore. My job is to write loops.”</em></blockquote><p>Not “I prompt better.” Not “I use clever tricks.” He stopped prompting.</p><p>And he isn’t a lone voice. Peter Steinberger, founder of OpenClaw, pushed the same message to millions of viewers within a day. Google engineer Addy Osmani then gave the pattern a name that stuck: <strong>loop engineering.</strong></p><p>So what is a loop, why is prompting suddenly the “old way,” and what does this mean for you if you’re not building coding agents all day? Let’s break it down.</p><h3>Prompting had a ceiling</h3><p>For the last two years, using AI meant the same rhythm. You type a prompt. You read the answer. You type the next prompt. You correct it. You type again.</p><p>In that model, <em>you</em> are the connective tissue. You’re the one deciding what to ask next, you’re the one checking whether the output is any good, and you’re the one holding the whole thing together turn by turn.</p><p>That works. But it has a hard ceiling: it only moves as fast as you can type, read, and judge. The AI stops the instant it hands you an answer whether that answer is right or not.</p><h3>A loop is a goal, not a task</h3><p>Here’s the mental shift.</p><p>A prompt gives the AI a <strong>task</strong>: <em>“Write me a summary of this document.”</em></p><p>A loop gives the AI a <strong>goal</strong> and lets it work until the goal is actually met: <em>“Produce a summary under 200 words, in my voice, that a new reader could understand with no prior context and check it against those criteria before you call it done.”</em></p><p>The difference is what happens <em>after</em> the first draft.</p><ul><li>With a prompt, Claude stops the moment it produces an answer.</li><li>With a loop, Claude checks the quality of its own output against the bar you set, catches its own mistakes, corrects them, and only hands you the result once it genuinely passes.</li></ul><p>Inside Claude Code, this is real and shipping commands like /goal keep an agent working across turns until a condition you defined is true, with a separate model grading the result on each pass. That self-check on every turn is the whole difference between a loop and a prompt that fires once and hopes.</p><h3>From assistant to employee</h3><p>This is the part that matters even if you never touch code.</p><p>A prompted AI is a <strong>thinking assistant </strong>smart, fast, but waiting on you for the next instruction and the final quality check.</p><p>A looped AI starts to behave like a <strong>digital employee </strong>it finds the work, does it, verifies it against a standard, fixes what’s wrong, and comes back to you when it’s actually finished. You move up a level: from doing the work, to designing the system that does the work.</p><p>Osmani’s framing captures it well loop engineering is about replacing yourself as the person who prompts the agent, and instead designing the system that prompts it for you. The analogy going around is that it’s like moving from operating a single machine to designing the whole production line the machine sits in.</p><h3>The honest caveat (that the hype skips)</h3><p>If someone sells you loops as pure magic, be skeptical. The people actually running them are blunt about the risks:</p><ol><li><strong>You still have to verify.</strong> When a loop reports “done,” that’s its claim not proof. The judgment layer is still you, for now.</li><li><strong>A loop is only as good as its stopping condition.</strong> “Make it good” gives the AI nothing to measure against. Loops work when the goal is checkable a number, a checklist, a test that passes.</li><li><strong>Costs compound.</strong> An unattended loop on a powerful model can burn through far more than you expect. Guardrails aren’t optional.</li></ol><p>None of this makes loops less important. It makes them worth <em>learning properly</em> instead of copying a viral screenshot and hoping.</p><h3>Where to start</h3><p>You don’t need to be an engineer. The core skill is learning to state a goal your AI can measure itself against, and to build in the self-check that turns a one-shot answer into a vetted final output.</p><p>That’s exactly what I’m teaching this weekend in a free masterclass <strong>“</strong><a href="https://gptone.me/"><strong>Claude</strong></a><strong> Loops: The Death of Prompting.”</strong> I’ll walk through what a loop actually is, and we’ll build your first one live.</p><p>The people who learn this now will be operating a level above everyone still typing one prompt at a time. Don’t get left on the old model.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4c45b133fb43" width="1" height="1" alt=""><hr><p><a href="https://faun.pub/beyond-prompting-why-the-head-of-claude-code-just-swapped-prompts-for-loops-and-why-you-should-4c45b133fb43">Beyond Prompting: Loop Engineering The Skill That’s Replacing Prompting</a> was originally published in <a href="https://faun.pub/">FAUN.dev() 🐾</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Processing Files with Controlled Concurrency Using Python AsyncIO and Semaphores]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-snippet">When working with I/O-bound tasks like file processing, web scraping, or API requests, using Python&#x2019;s asyncio can significantly boost&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/@WamiqRaza/processing-files-with-controlled-concurrency-using-python-asyncio-and-semaphores-7cc09abe5954?source=rss-d43962a6fdea------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@WamiqRaza/processing-files-with-controlled-concurrency-using-python-asyncio-and-semaphores-7cc09abe5954?source=rss-d43962a6fdea------2</link>
            <guid isPermaLink="false">https://medium.com/p/7cc09abe5954</guid>
            <category><![CDATA[threading]]></category>
            <category><![CDATA[multithreading]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[multiprocessing]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Wamiq Raza]]></dc:creator>
            <pubDate>Fri, 22 Aug 2025 07:17:10 GMT</pubDate>
            <atom:updated>2025-08-22T07:17:10.925Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Kimi K2: The DeepSeek Moment for Agentic Coding]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-snippet">The AI space has seen some truly massive developments over the past year but the release of Kimi K2 by DeepSeek marks a real turning point&#x2026;</p><p class="medium-feed-link"><a href="https://blog.gopenai.com/kimi-k2-the-deepseek-moment-for-agentic-coding-cdeac6858254?source=rss-d43962a6fdea------2">Continue reading on GoPenAI »</a></p></div>]]></description>
            <link>https://blog.gopenai.com/kimi-k2-the-deepseek-moment-for-agentic-coding-cdeac6858254?source=rss-d43962a6fdea------2</link>
            <guid isPermaLink="false">https://medium.com/p/cdeac6858254</guid>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[openai]]></category>
            <category><![CDATA[large-language-models]]></category>
            <category><![CDATA[deepseek]]></category>
            <dc:creator><![CDATA[Wamiq Raza]]></dc:creator>
            <pubDate>Thu, 17 Jul 2025 11:27:09 GMT</pubDate>
            <atom:updated>2025-07-17T11:27:09.014Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Context Engineering vs. Prompt Engineering]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-snippet">If you&#x2019;ve ever marveled at how AI chatbots can sometimes feel like mind readers and other times, like they&#x2019;re missing the point entirely&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/@WamiqRaza/context-engineering-vs-prompt-engineering-223c1021c163?source=rss-d43962a6fdea------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@WamiqRaza/context-engineering-vs-prompt-engineering-223c1021c163?source=rss-d43962a6fdea------2</link>
            <guid isPermaLink="false">https://medium.com/p/223c1021c163</guid>
            <category><![CDATA[prompt-engineering]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[model-context-protocol]]></category>
            <category><![CDATA[openai]]></category>
            <dc:creator><![CDATA[Wamiq Raza]]></dc:creator>
            <pubDate>Wed, 16 Jul 2025 10:35:20 GMT</pubDate>
            <atom:updated>2025-07-16T10:35:20.135Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Complete LLM/GenAI Interview Guide: 50 Essential Questions & Answers]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-snippet">A comprehensive guide covering Large Language Models, Generative AI, and related technologies for technical interviews</p><p class="medium-feed-link"><a href="https://faun.pub/complete-llm-genai-interview-guide-50-essential-questions-answers-0da9f126cb68?source=rss-d43962a6fdea------2">Continue reading on FAUN.dev()  »</a></p></div>]]></description>
            <link>https://faun.pub/complete-llm-genai-interview-guide-50-essential-questions-answers-0da9f126cb68?source=rss-d43962a6fdea------2</link>
            <guid isPermaLink="false">https://medium.com/p/0da9f126cb68</guid>
            <category><![CDATA[large-language-models]]></category>
            <category><![CDATA[interview]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Wamiq Raza]]></dc:creator>
            <pubDate>Thu, 03 Jul 2025 09:04:23 GMT</pubDate>
            <atom:updated>2025-07-07T17:13:40.115Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Building Agentic Retrieval-Augmented Generation (RAG) with LlamaIndex]]></title>
            <link>https://blog.gopenai.com/building-agentic-retrieval-augmented-generation-rag-with-llamaindex-19e4cbdd07df?source=rss-d43962a6fdea------2</link>
            <guid isPermaLink="false">https://medium.com/p/19e4cbdd07df</guid>
            <dc:creator><![CDATA[Wamiq Raza]]></dc:creator>
            <pubDate>Mon, 20 Jan 2025 14:35:37 GMT</pubDate>
            <atom:updated>2025-01-22T14:31:13.298Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-I1bH7Si01KfqYoRVvbDWw.png" /></figure><p>Building an agentic Retrieval-Augmented Generation (RAG) system enables large language models (LLMs) to interact effectively with specific datasets, enhancing their responses with contextually relevant information. In this tutorial, we’ll guide you through constructing such a system using LlamaIndex, a flexible framework designed for integrating LLMs with your data.</p><h3>Table of Contents</h3><ol><li>Introduction to Retrieval-Augmented Generation (RAG)</li><li>Setting Up the Python Environment</li><li>Loading and Preparing Data</li><li>Configuring the Language Model and Embedding Model</li><li>Building Indices for Data Retrieval</li><li>Creating Query Engines</li><li>Integrating Utility Functions</li><li>Querying the Router Engine</li><li>Conclusion</li></ol><h3>1. Introduction to Retrieval-Augmented Generation (RAG)</h3><p>Retrieval-Augmented Generation (RAG) combines the capabilities of LLMs with external data sources, allowing models to retrieve and incorporate specific information during response generation. This approach enhances the relevance and accuracy of the generated content, especially when dealing with domain-specific queries.</p><h3>2. Setting Up the Python Environment</h3><p>To begin, ensure you have Python 3.9.6 installed. You can verify your Python version with:</p><pre># Create a new virtual environment<br>python3 -m venv rag_env<br><br># Activate the environment<br>source rag_env/bin/activate  # On Windows: rag_env\Scripts\activate<br><br># Upgrade pip and install required dependencies<br>pip install --upgrade pip</pre><p>Create a requirements.txt file with the following content to specify the necessary packages and their versions:</p><pre>python-dotenv==1.0.0<br>llama-index==0.10.27<br>llama-index-llms-openai==0.1.15<br>llama-index-embeddings-openai==0.1.7</pre><p>Install the dependencies:</p><pre>pip install -r requirements.txt</pre><h3>3. Loading and Preparing Data</h3><p>Use the SimpleDirectoryReader from LlamaIndex to load your documents. Assuming you have a PDF file named metagpt.pdf in your working directory:</p><pre>from llama_index import SimpleDirectoryReader<br><br># Load documents<br>documents = SimpleDirectoryReader(input_files=[&quot;your.pdf&quot;]).load_data()</pre><p>This function reads the specified PDF and prepares it for processing.</p><h3>4. Configuring the Language Model and Embedding Model</h3><p>Set up the language model (LLM) and embedding model using OpenAI’s GPT-3.5-turbo and the text-embedding-ada-002 model:</p><pre>from llama_index.llms.openai import OpenAI<br>from llama_index.embeddings.openai import OpenAIEmbedding<br><br>llm = OpenAI(model=&quot;gpt-3.5-turbo&quot;)<br>embed_model = OpenAIEmbedding(model=&quot;text-embedding-ada-002&quot;)</pre><p>These configurations enable the system to generate responses and create embeddings for the data.</p><h3>5. Building Indices for Data Retrieval</h3><p>To facilitate efficient data retrieval, we’ll build both Summary and Vector Store indices.</p><p><strong>a. Splitting Documents into Nodes</strong></p><p>First, divide the document into manageable chunks using the SentenceSplitter:</p><pre>from llama_index.node_parser import SentenceSplitter<br><br>splitter = SentenceSplitter(chunk_size=1024)<br>nodes = splitter.get_nodes_from_documents(documents)</pre><p>This step ensures that the document is segmented into smaller parts, making it easier to process and retrieve relevant information.</p><p><strong>b. Creating the Indices</strong></p><p>Next, build the indices:</p><pre>from llama_index import SummaryIndex, VectorStoreIndex<br><br>summary_index = SummaryIndex(nodes)<br>vector_index = VectorStoreIndex(nodes, embed_model=embed_model)</pre><p>The SummaryIndex provides concise summaries of the document segments, while the VectorStoreIndex facilitates similarity searches based on embeddings.</p><h3>6. Creating Query Engines</h3><p>Set up query engines for both indices to handle different types of queries.</p><p><strong>a. Summary Query Engine</strong></p><p>This engine handles summarization queries:</p><pre>summary_query_engine = summary_index.as_query_engine(<br>    response_mode=&quot;tree_summarize&quot;,<br>    use_async=True,<br>    llm=llm<br></pre><p><strong>b. Vector Query Engine</strong></p><p>This engine manages context retrieval queries:</p><pre>vector_query_engine = vector_index.as_query_engine(llm=llm)</pre><h3>7. Integrating Utility Functions</h3><p>For modularity and reusability, define a utility function to encapsulate the setup process. Create a utils.py file with the following content:</p><pre>from llama_index import SimpleDirectoryReader, SummaryIndex, VectorStoreIndex<br>from llama_index.node_parser import SentenceSplitter<br>from llama_index.llms.openai import OpenAI<br>from llama_index.embeddings.openai import OpenAIEmbedding<br>from llama_index.tools import QueryEngineTool<br>from llama_index.query_engine.router_query_engine import RouterQueryEngine<br>from llama_index.selectors import LLMSingleSelector<br><br>def get_router_query_engine(file_path: str, llm=None, embed_model=None):<br>    &quot;&quot;&quot;Get router query engine.&quot;&quot;&quot;<br>    llm = llm or OpenAI(model=&quot;gpt-3.5-turbo&quot;)<br>    embed_model = embed_model or OpenAIEmbedding(model=&quot;text-embedding-ada-002&quot;)<br>    <br>    # Load documents<br>    documents = SimpleDirectoryReader(input_files=[file_path]).load_data()<br>    <br>    # Split documents into nodes<br>    splitter = SentenceSplitter(chunk_size=1024)<br>    nodes = splitter.get_nodes_from_documents(documents)<br>    <br>    # Build indices<br>    summary_index = SummaryIndex(nodes)<br>    vector_index = VectorStoreIndex(nodes, embed_model=embed_model)<br>    <br>    # Create query engines<br>    summary_query_engine = summary_index.as_query_engine(<br>        response_mode=&quot;tree_summarize&quot;,<br>        use_async=True,<br>        llm=llm<br>    )<br>    vector_query_engine = vector_index.as_query_engine(llm=llm)<br>    <br>    #<br>::contentReference[oaicite:2]{index=2}</pre><p>In conclusion, building an agentic Retrieval-Augmented Generation (RAG) system with LlamaIndex empowers large language models to deliver highly relevant, context-aware responses by integrating dynamic retrieval capabilities with robust query engines. By combining the flexibility of tools like Summary and Vector Store Indices, users can create systems that handle summarization, contextual retrieval, and decision-making efficiently. The modular design outlined in this tutorial ensures scalability and adaptability for various datasets and use cases. As you implement and iterate on this framework, you unlock the potential to develop intelligent, domain-specific AI applications that are both responsive and accurate.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=19e4cbdd07df" width="1" height="1" alt=""><hr><p><a href="https://blog.gopenai.com/building-agentic-retrieval-augmented-generation-rag-with-llamaindex-19e4cbdd07df">Building Agentic Retrieval-Augmented Generation (RAG) with LlamaIndex</a> was originally published in <a href="https://blog.gopenai.com/">GoPenAI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI in 2025: Realistic Predictions That Could Shape the Future]]></title>
            <link>https://medium.com/@WamiqRaza/ai-in-2025-realistic-predictions-that-could-shape-the-future-805f1538344c?source=rss-d43962a6fdea------2</link>
            <guid isPermaLink="false">https://medium.com/p/805f1538344c</guid>
            <category><![CDATA[openai]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[ai-predictions]]></category>
            <category><![CDATA[genai]]></category>
            <dc:creator><![CDATA[Wamiq Raza]]></dc:creator>
            <pubDate>Thu, 02 Jan 2025 11:28:32 GMT</pubDate>
            <atom:updated>2025-01-02T11:28:32.926Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pg4lyK4-6YXSu4Th0N2zwQ.png" /></figure><p>As we step into 2025, AI advancements continue to spark excitement and debate. Based on current trends and challenges, here are my predictions for how AI will evolve over the next year. Let’s dive in:</p><h3>1. The Scaling Law Will Remain a Dominant Force</h3><p>The scaling law, which governs the relationship between compute power and model performance, will remain strong.</p><h3>Why This Matters:</h3><ul><li><strong>Demand for Synthetic Data</strong>: Reasoning models require immense amounts of synthetic data for training. This means compute demand will skyrocket, both for generating data and for training the models themselves.</li><li><strong>Larger Pretraining Models</strong>: Bigger models will be crucial in evaluating reasoning models and generating the necessary data. This symbiotic relationship will push compute resources to their limits.</li></ul><p>Expect ongoing innovation in post-training and inference-time optimizations to manage these challenges.</p><h3>2. Infinite Memory Won’t Be Native to LLMs</h3><p>Contrary to popular belief, large language models (LLMs) won’t inherently have infinite memory. Instead, their capabilities will rely on sophisticated memory systems.</p><h3>Key Points:</h3><ul><li><strong>Long-Term Memory Systems</strong>: Models will depend on external systems for storing and retrieving relevant context, making infinite memory unnecessary.</li><li><strong>No Infinite Context Windows</strong>: Context windows will expand but remain finite, highlighting the importance of efficient memory retrieval systems.</li></ul><p>This evolution will make LLMs more resource-efficient and practical for real-world applications.</p><h3>3. Small Models Will Thrive in Agentic Systems</h3><p>While large models dominate headlines, small models will emerge as the backbone of agentic systems.</p><h3>Why Small Models?</h3><ul><li><strong>Task-Specific Optimization</strong>: With proper tuning, small models can plan and execute specific tasks.</li><li><strong>Reduced Latency</strong>: Smaller models ensure faster generation times for complex workflows involving many steps.</li><li><strong>Cost Efficiency</strong>: Token-based pricing for large models can hinder adoption in cost-sensitive scenarios. Small models offer a more affordable alternative.</li></ul><p>This shift will democratize AI adoption across industries.</p><h3>4. Enterprise AI Systems Will Make Gradual Progress</h3><p>AI in the enterprise remains a challenging frontier. While new systems will emerge, they won’t achieve mainstream adoption by the end of 2025.</p><h3>The Challenges:</h3><ul><li><strong>Security Concerns</strong>: Enterprises need airtight security for sensitive data.</li><li><strong>Integration Hurdles</strong>: Seamlessly connecting AI systems with existing infrastructure is no small feat.</li><li><strong>High Accuracy Requirements</strong>: Businesses demand reliable outputs to avoid costly errors.</li><li><strong>Observability</strong>: Monitoring AI performance is essential but complex.</li></ul><p>Startups focused on AI infrastructure will play a vital role in addressing these pain points.</p><h3>5. Autonomous Agents Will Still Be in Development</h3><p>Fully autonomous agents won’t be production-ready by the end of 2025. Instead, we’ll continue to see advancements in assistant-based systems that augment human workflows.</p><h3>What This Means:</h3><ul><li><strong>Human-AI Collaboration</strong>: Assistants will enhance productivity rather than replace jobs.</li><li><strong>Marketing vs. Reality</strong>: While autonomous agents will be heavily marketed, their real-world utility will remain limited.</li></ul><p>Expect a continued emphasis on augmentative AI over fully autonomous solutions.</p><h3>Conclusion</h3><p>AI in 2025 will be defined by incremental progress, practical solutions, and a focus on making technology accessible and efficient. From scaling computing to optimizing small models and addressing enterprise challenges, these trends highlight the nuanced reality of AI’s evolution.</p><p>What are your thoughts on these predictions? Let me know in the comments below!</p><p>#AI #MachineLearning #LLM #EnterpriseAI #FutureOfAI #AITrends</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=805f1538344c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why AI Engineers Should Care About Traditional ML Models and Their CI/CD Pipelines]]></title>
            <link>https://blog.gopenai.com/why-ai-engineers-should-care-about-traditional-ml-models-and-their-ci-cd-pipelines-efe165af0a62?source=rss-d43962a6fdea------2</link>
            <guid isPermaLink="false">https://medium.com/p/efe165af0a62</guid>
            <category><![CDATA[mlops]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[genai]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[cicd-pipeline]]></category>
            <dc:creator><![CDATA[Wamiq Raza]]></dc:creator>
            <pubDate>Thu, 02 Jan 2025 11:06:21 GMT</pubDate>
            <atom:updated>2025-01-03T12:56:12.920Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nRDjqjgjokiwKps9Pdiahg.png" /></figure><p>As AI engineers, we can easily become enthusiastic about the current advancements in large language models (LLMs). However, it’s important to remember that traditional, non-LLM-based machine learning models are essential for addressing various business challenges. Deploying these models presents its own set of unique challenges, particularly concerning Continuous Integration/Continuous Deployment (CI/CD).</p><p>The CI/CD process for machine learning projects differs significantly from that of standard software engineering practices. This is mainly because machine learning adds to the complexity of a <strong>training pipeline</strong>, which must be treated as a crucial component of your CI/CD pipeline.</p><p>The CI/CD process for machine learning projects differs significantly from regular software engineering practices. Why? Because machine learning introduces the additional complexity of a <strong>training pipeline</strong>, which must be treated as a first-class artifact in your CI/CD pipeline.</p><p>Let’s explore how this works, the distinctions it brings, and what best practices you should adopt.</p><h3>The Distinction Between CI/CD and ML Training Pipelines</h3><p>In traditional software engineering, a CI/CD pipeline focuses solely on the software artifact: code is written, tested, integrated, and deployed to production environments. However, the <strong>ML training pipeline</strong> becomes a critical artifact that needs dedicated consideration in machine learning projects.</p><h3>ML Training Pipeline as a First-Class Artifact</h3><p>An ML training pipeline comprises steps such as <strong>data retrieval, feature engineering, model training, evaluation, and validation</strong>. These steps collectively produce the model artifact, which is then deployed. This means the <strong>ML training pipeline mus</strong>t be versioned, tested, and delivered through CI/CD pipelines.</p><p>Thankfully, tools like <strong>Kubeflow Pipelines</strong>, <strong>SageMaker Pipelines</strong>, and others provide dedicated support for handling machine learning pipelines.</p><h3>Adapting CI/CD for ML Projects</h3><p>To illustrate how CI/CD differs for ML projects, let’s break it down step-by-step.</p><h3>Step 1: Unit Tests</h3><p>For regular software, unit tests ensure individual functions and methods behave as expected. In an ML project, the <strong>training pipeline steps, such as data validation, feature transformation, and model evaluation, should also be unit-testable</strong>. Mature MLOps setups isolate each step in the pipeline, allowing them to be tested independently in controlled environments.</p><p>For example:</p><ul><li><strong>Feature validation</strong> ensures incoming data meets required schema and statistical expectations.</li><li><strong>Model evaluation</strong> guarantees that evaluation scripts return correct metrics for given inputs.</li></ul><h3>Step 2: Integration Tests</h3><p>Integration tests in a traditional CI/CD pipeline verify how different system components interact. This step becomes significantly more complex when working with ML pipelines.</p><p>Here, integration tests should validate:</p><ul><li><strong>Connectivity with external systems:</strong> Ensure your pipeline can retrieve data from a <strong>Feature Store</strong> and log models in a <strong>Model Registry</strong>.</li><li><strong>Inter-step handoffs:</strong> Confirm that intermediate outputs flow seamlessly between pipeline steps, like feature data, trained models, and evaluation metrics.</li><li><strong>Metadata logging:</strong> Check that the pipeline logs critical details (e.g., hyperparameters, data lineage) to an <strong>ML Metadata Store</strong>.</li></ul><p>Integration tests mimic the interactions between the ML pipeline and its surrounding ecosystem, ensuring the workflow works as expected in a real-world environment.</p><h3>Step 3: Delivery</h3><p>In traditional CI/CD, delivery involves shipping software artifacts to production environments. For ML pipelines, delivery includes shipping both the <strong>pipeline definition</strong> and the <strong>trained model artifact</strong>.</p><p>The pipeline is prepared for <strong>continuous training or retraining when it reaches a production environment</strong>. This can be triggered:</p><ol><li><strong>Ad-hoc:</strong> Manually start the training process whenever needed.</li><li><strong>Scheduled:</strong> Retrain the model periodically based on a defined schedule.</li><li><strong>Triggered by drift detection:</strong> The pipeline can automatically start a retraining process if deployed models exhibit <strong>feature drift</strong> or <strong>concept drift</strong>.</li></ol><p>In this phase, the CI/CD pipeline ensures that the ML pipeline is tightly integrated with monitoring systems to track model performance and alert you when retraining is necessary.</p><h3>Key Takeaways</h3><p>Adapting CI/CD to machine learning requires a mindset shift. Here’s what you should remember:</p><ul><li>The ML training pipeline is a <strong>core artifact</strong> of your ML project and must be treated as such.</li><li>Each step in the ML training pipeline should be isolated, testable, and versioned.</li><li>Integration testing ensures the ML pipeline can work with external systems (e.g., Feature Stores, Model Registries) and between its own steps.</li><li>Delivery in ML involves deployment and preparation for <strong>continuous training and</strong> integration with drift detection and monitoring systems.</li></ul><p>By following these principles, you can simplify the ML model implementation process, allowing for quicker iterations and more dependable outcomes.</p><p>What are your thoughts on this approach? Have you encountered unique challenges when setting up CI/CD for ML pipelines? Let me know in the comments below!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=efe165af0a62" width="1" height="1" alt=""><hr><p><a href="https://blog.gopenai.com/why-ai-engineers-should-care-about-traditional-ml-models-and-their-ci-cd-pipelines-efe165af0a62">Why AI Engineers Should Care About Traditional ML Models and Their CI/CD Pipelines</a> was originally published in <a href="https://blog.gopenai.com/">GoPenAI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Beyond the Algorithm: The Ethics of AI in Education]]></title>
            <link>https://medium.com/@WamiqRaza/beyond-the-algorithm-the-ethics-of-ai-in-education-0dd573cc2634?source=rss-d43962a6fdea------2</link>
            <guid isPermaLink="false">https://medium.com/p/0dd573cc2634</guid>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[hugging-face]]></category>
            <category><![CDATA[undetectable-ai]]></category>
            <category><![CDATA[openai]]></category>
            <category><![CDATA[deep-learning]]></category>
            <dc:creator><![CDATA[Wamiq Raza]]></dc:creator>
            <pubDate>Mon, 25 Nov 2024 09:43:14 GMT</pubDate>
            <atom:updated>2024-11-25T09:43:14.585Z</atom:updated>
            <content:encoded><![CDATA[<p>As the influence of artificial intelligence (AI) moves into the classroom, its role has become a frequently discussed topic, especially in the world of ethics.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*lbdvBxfWqtsXkl2j" /></figure><p>Photo by<a href="https://unsplash.com/@shubhamsharan?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash"> Shubham Sharan</a> on<a href="https://unsplash.com/photos/student-sitting-on-chairs-in-front-of-chalkboard-Z-fq3wBVfMU?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash"> Unsplash</a></p><p>While AI can enhance teaching and learning experiences, it also raises significant ethical concerns. Schools and colleges have had little time to research and create guidelines regarding the use of AI tools.</p><p>This article explores the ethical considerations surrounding the use of AI in education, focusing on issues such as plagiarism, originality, and the crucial role of human understanding in the learning process.</p><p>First, we’ll briefly examine the history of ethics and how it evolved into the definition commonly used by today’s educational institutions.</p><h3>Being Right Versus Being Happy</h3><p>Early Greek philosophers focused on different rules for ethics. They were more concerned with the good life, described as eudaimonia or happiness than with doing the right thing.</p><p>This led them to question motives for morality: why would a man want to be good? In addition, they were more concerned with character than action.</p><p>The definition of ethics evolved through the centuries, affected by the spread of Christianity and a succession of philosophers.</p><p>Today’s ethics, as defined by many educational institutions, include:</p><ul><li>Accountability: being transparent, responsible, and trustworthy.</li><li>Justice: practicing fairness without bias or discrimination.</li><li>Human values: living with dignity, being moral, and promoting human rights for everyone.</li></ul><p>Now, it’s time to focus on ethics in relation to the use of AI tools in the classroom.</p><p><strong>AI and Education: Promises and Perils</strong></p><p>Many AI technologies and tools have the potential to revolutionize education.</p><p>For example, AI can replace a teacher in remote areas where formal education is out of reach for most people. It can also make education affordable for those who cannot afford tuition or textbooks.</p><p>AI tools can also provide users with fast access to vast amounts of information, which has resulted in some users substituting these tools for Google.</p><p>However, these same capabilities allow students to bypass learning tasks such as research, analysis, and composition.</p><p>The use of AI tools has contributed to major ethical problems, especially the rising occurrence of students passing off homework and term papers as their own work when they’re actually the results of carefully composed AI prompts and chatbot responses.</p><p>Some educational institutions use <a href="https://undetectable.ai/">AI detection tools</a>, such as Undetectable AI; however, these tools can be reverse-engineered to make AI content appear human.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O51CNCb8tcw9YPuvVDuyug.png" /><figcaption>source (<a href="https://undetectable.ai/">here</a>)</figcaption></figure><h3>Plagiarism in the Age of Gemini, Claude and ChatGPT</h3><p>One of the most pressing concerns is the potential for AI to enable students to engage in plagiarism. Since AI-powered tools are learning to generate convincing content, the line between original and AI-generated work has become blurred.</p><p>This raises several questions:</p><ul><li>Should the use of <a href="https://undetectable.ai/ai-essay-writer">AI writing tools</a> be considered a form of plagiarism?</li><li>How can educators ensure that students develop their critical thinking and writing skills?</li></ul><p>To address these issues, educational institutions may need to develop limiting guidelines for AI tools.</p><h3>Why Traditional Learning is Essential</h3><p>While AI can provide quick answers, substituting the use of AI for traditional study habits <a href="https://www.sciencefriday.com/articles/ai-education/">hinders the development of students’ conceptual understanding</a> and problem-solving.</p><p>Finding solutions for complex questions, making and correcting mistakes, and gradually building knowledge is crucial for genuine learning and cognitive development.</p><p>This means that to protect students from a sub-par learning experience; educators must ensure that students engage in the challenging mental work necessary for lasting comprehension. This might involve:</p><ul><li>Assigning work that requires a student’s personal opinions and reflections.</li><li>Encouraging students to explain the processes they used to respond to an assignment in addition to their final answers.</li><li>Emphasizing the importance of questioning, reviewing, and editing AI-generated information.</li></ul><p>The possible misuse of AI tools in education isn’t limited to plagiarism. Inequality in the form of types of access to these tools also poses problems.</p><h3>Equity and Access Concerns</h3><p>While AI tools can provide personalized learning to a wider audience, they also risk worsening inequalities. For example, students with a MacBook Pro and access to a fiber-optic Wi-Fi network may have an unfair advantage over students whose online access is housed within a library.</p><p>Educational institutions and policymakers need to consider ensuring equitable access to AI-enhanced learning opportunities while maintaining a level playing field for all students.</p><p>Another concern is recognizing the value of today’s teachers.</p><h3>Preserving Teachers’ Roles</h3><p>As AI becomes more prevalent in education, there’s a growing concern about the potential devaluation of human teachers. They provide essential skills and interactions like:</p><ul><li>Emotional intelligence and empathy. Teachers identify learning problems and help find solutions.</li><li>The ability to inspire, encourage, and motivate all students.</li><li>A deep understanding of cultural factors in the classroom.</li></ul><p>Intelligent use of AI would free teachers from routine tasks, allowing them to focus on these uniquely human aspects of teaching.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0dd573cc2634" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>