<?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 aixplain on Medium]]></title>
        <description><![CDATA[Stories by aixplain on Medium]]></description>
        <link>https://medium.com/@aixplain?source=rss-3535cf2e312f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*XX3TESzSZXMuVXJAHe2Eww.png</url>
            <title>Stories by aixplain on Medium</title>
            <link>https://medium.com/@aixplain?source=rss-3535cf2e312f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 11:20:01 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@aixplain/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[How to make money building AI agents]]></title>
            <link>https://medium.com/@aixplain/how-to-make-money-building-ai-agents-b8292a362696?source=rss-3535cf2e312f------2</link>
            <guid isPermaLink="false">https://medium.com/p/b8292a362696</guid>
            <dc:creator><![CDATA[aixplain]]></dc:creator>
            <pubDate>Thu, 08 May 2025 14:42:51 GMT</pubDate>
            <atom:updated>2025-05-08T14:42:51.381Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZEimCXh_Z8wKMHms" /></figure><p>AI-driven automation is transforming businesses, offering new revenue streams through AI agents. These digital assistants handle various tasks, from customer service to data processing, allowing businesses to increase efficiency and profitability. One of the most effective ways to develop and monetize AI agents is through<a href="https://aixplain.com/"> aiXplain</a> 🤖, a platform that provides a robust SDK for building AI solutions.</p><h3>🧠 What Are AI Agents?</h3><p>AI agents are software-based assistants that automate tasks typically performed by humans. They can answer inquiries, process data, and execute complex workflows, making them invaluable to businesses seeking automation solutions.</p><p>AI agents aren’t just tools as their capabilities expand — they’re opportunities. From automating daily tasks to powering entire business operations, these intelligent systems can be leveraged innovatively to generate real income.</p><h3>💸 How to Generate Revenue with AI Agents</h3><h4>1. 🚀 AI-Enhanced Business Operations</h4><p>Businesses can integrate AI agents into their daily workflows to reduce manual effort and increase customer engagement. Examples include:</p><ul><li>🎮 AI-driven customer support chatbots.</li><li>📈 Automated data analysis and reporting.</li><li>📲 Social media and marketing automation.</li></ul><h4>2. 📦 Selling AI-Powered Solutions</h4><p>Developers and entrepreneurs can create AI agents using<a href="https://docs.aixplain.com/"> aiXplain’s SDK</a> and sell them as standalone products or integrated services. Companies seeking automation solutions often prefer AI agents customized to their needs.</p><h3>🔄 Steps to Monetize AI Agents with aiXplain</h3><ol><li><strong>🛠️ Use aiXplain SDK</strong> — Leverage the platform’s development tools to build AI agents suited to specific industries.</li><li><strong>📄 Deploy and Integrate</strong> — Implement AI agents within a business or offer them as automation services.</li><li><strong>🏦 Establish a Monetization Model</strong> — Sell AI agents via subscriptions, one-time licenses, or custom development contracts.</li></ol><h3>🚀 Why AI Agents Are a Lucrative Opportunity</h3><p>With the rising demand for AI-driven efficiency, AI agents provide a scalable way to earn revenue. Businesses looking for automated solutions are willing to pay for tools that streamline their processes, making AI development a profitable venture.</p><p>Using<a href="https://aixplain.com/"> aiXplain</a> 🤖, businesses and developers can build AI agents that generate income through automation services and product sales. Whether you’re an entrepreneur or a tech professional, now is the time to explore AI-powered monetization.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b8292a362696" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What are AI Agents — Simply Explained!]]></title>
            <link>https://medium.com/@aixplain/what-are-ai-agents-simply-explained-6ec71f0a8e9c?source=rss-3535cf2e312f------2</link>
            <guid isPermaLink="false">https://medium.com/p/6ec71f0a8e9c</guid>
            <dc:creator><![CDATA[aixplain]]></dc:creator>
            <pubDate>Mon, 25 Nov 2024 14:05:47 GMT</pubDate>
            <atom:updated>2024-11-25T14:05:47.579Z</atom:updated>
            <content:encoded><![CDATA[<h3>What are AI Agents — Simply Explained!</h3><p>AI agents are intelligent systems that perform tasks autonomously with minimal human input. By perceiving their environment, making decisions, and acting on goals, they are revolutionizing automation — from simplifying routines like scheduling to managing complex processes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KgPDtZs6SGIpZAT4.png" /></figure><p>In this article, we’ll explain what AI agents are, why they’re useful, and how they’re shaping the future for developers, businesses, and tech enthusiasts. If you’re looking to create your own AI agents easily, <a href="https://aixplain.com/">aiXplain<strong> </strong></a>is a great platform to get started, offering tools to build and manage intelligent agents without the need for deep technical expertise.</p><h3>What Are AI Agents?</h3><p>AI agents are intelligent systems designed to complete tasks autonomously, often without the need for constant human supervision. These agents can observe their environment, make decisions based on data, and act to achieve specific goals. From managing your calendar to automating business processes, AI agents help save time and increase efficiency by taking care of repetitive tasks.</p><p>Simply put, AI agents are highly capable assistants who learn, adapt, and work independently to complete tasks. Whether it’s booking a flight or analyzing data, they’re designed to handle tasks that would normally require a human, allowing people to focus on more important, creative work.</p><h3>Why Should You Build or Use AI Agents?</h3><p>Imagine having a system that can handle all your routine tasks — like scheduling meetings, answering emails, or managing customer inquiries — without needing your constant attention. AI agents can do this, and more. They’re perfect for businesses and individuals looking to streamline workflows and boost productivity.</p><p>Instead of spending hours on tasks that drain your time and energy, you can rely on AI agents to handle the repetitive work. This frees you up to focus on strategic decisions, creative ideas, and other high-value activities. For developers, building AI agents offers the chance to automate complex processes, making your solutions more efficient and scalable.</p><p>For anyone looking to implement AI in their operations, <a href="https://aixplain.com/"><strong>aiXplain</strong> </a>provides an easy-to-use platform where you can create and manage these intelligent agents, even without advanced coding skills.</p><p>See our video example guide:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F_fvJOmM5c7M%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D_fvJOmM5c7M&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F_fvJOmM5c7M%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/fb7699c2d4795fa3d0491e5096d3fd75/href">https://medium.com/media/fb7699c2d4795fa3d0491e5096d3fd75/href</a></iframe><h3>Adaptable AI Agents</h3><p>While basic AI agents are great at following instructions, adaptable AI agents take things further by learning and evolving over time. These agents are designed to continuously improve based on feedback, making them more effective as they gain experience.</p><p>For example, an AI agent that books flights might start by following basic instructions to search for the best options. Over time, it learns your preferences — like your favorite airline or seat type — and adapts its recommendations accordingly. This makes adaptable agents far more powerful than their basic counterparts, as they can handle a wider range of tasks and tailor their actions to your needs.</p><h3>Multi-Agent Systems</h3><p>When one agent isn’t enough, a multi-agent system can take over. In these systems, multiple AI agents work together to achieve a shared goal. Each agent might specialize in different tasks, but they collaborate to solve more complex problems efficiently.</p><p>For example, if you’re organizing a large event, one agent might handle venue bookings, another coordinates catering, and a third manages guest communications. These agents work independently, but communicate and collaborate to ensure everything runs smoothly.</p><p>Multi-agent systems offer scalability and flexibility, as they can tackle bigger and more complicated tasks that a single agent might struggle with. The result? Faster, more efficient decision-making and a streamlined workflow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jhcPQnBvk_9xu_IC.png" /></figure><h3>How aiXplain Helps You Build AI Agents</h3><p>If you’re interested in creating your own AI agents or multi-agent systems, <a href="https://aixplain.com/"><strong>aiXplain</strong></a> is the ideal platform to get started. With its user-friendly tools, you can easily build, customize, and deploy intelligent agents without needing to dive deep into coding. Whether you’re a developer or a business looking to implement AI, aiXplain simplifies the process.</p><p>The platform offers a <strong>large marketplace of hosted LLMs</strong> (large language models) that you can integrate into your agents, providing powerful AI capabilities with minimal effort. Plus, <strong>aiXplain</strong> gives you access to a <strong>single API key</strong> for seamless integration across all its tools, making it easy to connect and manage your agents.</p><p>Additionally, the <strong>aiXplain SDK</strong> (software development kit) provides developers with the resources to create custom agents tailored to specific needs, giving you the flexibility to design complex solutions with ease.</p><p>Key features of the platform include:</p><ul><li><strong>Pre-built Agents &amp; LLMs</strong>: Access a wide range of ready-to-use agents and AI models.</li><li><strong>Single API Key</strong>: One key for all your AI tools, simplifying integration and management.</li><li><strong>SDK for Custom Agents</strong>: Build, deploy, and customize agents using <strong>aiXplain’s</strong> SDK.</li><li><strong>Multi-Agent Coordination</strong>: Manage and orchestrate complex workflows across multiple agents.</li><li><strong>User-Friendly Interface</strong>: No deep technical expertise is required to start building.</li></ul><p>With <a href="https://aixplain.com/"><strong>aiXplain</strong></a>, both developers and businesses can quickly create intelligent agents that automate tasks, streamline processes, and enhance overall productivity.</p><h3>Conclusion</h3><p>AI agents are slowly revolutionizing how we automate tasks, handle business processes, and improve efficiency. From basic tasks to more complex workflows, these intelligent systems are making our lives easier and our work more productive. By leveraging platforms like <a href="https://aixplain.com/"><strong>aiXplain</strong></a>, anyone — from developers to business owners — can start building their own AI agents without a steep learning curve.</p><p>Ready to get started? Explore the potential of AI agents today and see how they can help you unlock new business opportunities.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6ec71f0a8e9c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Best AI Chatbot 2024 — aiXplain]]></title>
            <link>https://medium.com/@aixplain/best-ai-chatbot-2024-aixplain-033faef3d7e2?source=rss-3535cf2e312f------2</link>
            <guid isPermaLink="false">https://medium.com/p/033faef3d7e2</guid>
            <category><![CDATA[chatbots]]></category>
            <category><![CDATA[chatbot-development]]></category>
            <category><![CDATA[chatbot-platforms]]></category>
            <category><![CDATA[chatbots-for-business]]></category>
            <dc:creator><![CDATA[aixplain]]></dc:creator>
            <pubDate>Thu, 19 Sep 2024 17:28:08 GMT</pubDate>
            <atom:updated>2025-06-26T12:51:05.007Z</atom:updated>
            <content:encoded><![CDATA[<h3>Best AI Chatbot 2025 — aiXplain</h3><p>Are you looking for the best AI chatbot that goes beyond basic features? aiXplain Chat for iPhone offers an advanced conversational experience that stands out from the crowd.</p><p>We recently launched<a href="https://apps.apple.com/us/app/aixplain-chat/id6499553948"> aiXplain Chat</a>, now available on the App Store for iPhone. This innovative chat app lets you easily switch between multiple AI models within the same conversation — a capability that sets it apart from many other chatbots on the market.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*STwF-bDoFuSWIsb7.png" /></figure><p>Whether you’re a developer looking to experiment, a power user wanting more advanced features, or someone seeking the perfect chatbot, aiXplain Chat brings exciting capabilities beyond the typical experience.</p><h3><strong>Seamless Conversations with Various AI Models</strong></h3><p>What makes aiXplain Chat unique is the ability to smoothly transition between different AI tools like GPT, Groq, Llama, Claude, and more — without losing context. You can find the right assistant for coding questions, creative brainstorming, researching new topics, and other use cases.</p><h3><strong>Built As a Blueprint for Developers</strong></h3><p>While aiXplain Chat offers useful features for end users, it also serves as a blueprint of what you can build with our platform. We created this app to showcase the capabilities of our <a href="http://docs.aixplain.com/">Swift SDK</a> and developer tools for making iOS apps powered by multiple AI models.</p><p>Whether you want to develop a custom assistant, boost productivity, or explore niche ideas, our large marketplace of AI models makes integrating diverse AI easy. Focus on building instead of complex setups.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4twABsY1fTMGn_hw.png" /></figure><h3><strong>Key Capabilities and Pricing</strong></h3><p>aiXplain Chat includes:</p><p>● Free access to Groq models with 1,200 monthly messages</p><p>● Pro Plan unlocks all models and 2,400 messages/month</p><p>● Free to download on the App Store</p><h3><strong>Ready to Build Your Own iOS App?</strong></h3><p><a href="https://apps.apple.com/us/app/aixplain-chat/id6499553948">Download aiXplain Chat </a>to experience multi-model conversations firsthand. And when you’re ready to develop your own AI iOS app, check out our <a href="http://docs.aixplain.com/">Swift SDK</a> and no-code tools to streamline the process.</p><p>The future of chatbots and assistants is multi-model — and our <a href="http://aixplain.com/">platform </a>paves the way. We can’t wait to see what you build!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=033faef3d7e2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building AI Agents — Easy Guide]]></title>
            <link>https://medium.com/@aixplain/building-ai-agents-easy-guide-d2622194396e?source=rss-3535cf2e312f------2</link>
            <guid isPermaLink="false">https://medium.com/p/d2622194396e</guid>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[ai-agent-development]]></category>
            <dc:creator><![CDATA[aixplain]]></dc:creator>
            <pubDate>Thu, 19 Sep 2024 14:45:43 GMT</pubDate>
            <atom:updated>2024-09-19T15:26:40.604Z</atom:updated>
            <content:encoded><![CDATA[<h3>Building AI Agents — Easy Guide</h3><p>Using the <a href="https://aixplain.com/?utm_source=Medium&amp;utm_medium=Text&amp;utm_campaign=aiagents">aiXplain platform</a>, Thiago Castro Ferreira, an applied scientist, recently gave a detailed presentation on how to create and use AI agents. For example, Thiago demonstrated the development of an AI agent that can search Wikipedia for relevant material, pull out relevant answers, and respond in text and audio. This article showcases the potential of aiXplain for creating AI applications, summarising the important processes and functions he discussed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CytmNkCuytoj34E_PU-HIQ.png" /></figure><p><a href="https://youtu.be/yGK91sJGXFs">https://youtu.be/yGK91sJGXFs</a></p><p><a href="https://colab.research.google.com/drive/1CK-gH6VZbF0tK0BVSF11uRwwXpkn_5ie?usp=sharing">Check this Google Colab</a></p><h3>Introduction to the Demonstration</h3><p>The purpose of Thiago’s video is to demonstrate how to use the <a href="http://docs.aixplain.com/">aiXplain SDK</a> to create AI agents. Users can easily connect and use models from different suppliers in the aiXplain platform’s marketplace to create complex artificial intelligence solutions.</p><h3>Step-by-Step Rundown</h3><h3>1. Installing the aiXplain SDK</h3><p>Thiago started by installing the aiXplain Python SDK, which is necessary for managing agents and developing a variety of AI solutions utilising the models that are offered on the aiXplain platform. This is how you put it in.</p><pre>!pip install aixplain</pre><h3>2. Setting Up Your API Key</h3><p>Setting up the team API key as an environment variable is essential to using the models and tools on the aiXplain platform. With the help of this key, users can communicate with the platform’s resources and authenticate their requests. Here’s where to look for your API key:</p><ol><li>Navigate to the <a href="https://platform.aixplain.com/">aiXplain Studio</a></li><li>Click on <strong>&lt;your name&gt;</strong> in the top right corner</li><li>Go to <strong>Account</strong> → <strong>General settings</strong> → <strong>Integrations</strong></li><li>Copy your team API key or create a new one if needed</li></ol><p>Once you have your API key, set it as an environment variable in your Colab notebook.</p><pre>import os<br>os.environ[&quot;TEAM_API_KEY&quot;] = &quot;your_team_api_key_here&quot;</pre><h3>3. Creating Model Tools</h3><p>Users are able to construct agents with several tools by using aiXplain. Thiago developed the following tools for named entity recognition, translation, and speech synthesis:</p><pre>from aixplain.factories import AgentFactory<br>from aixplain.modules.agent import ModelTool<br>from aixplain.enums import Function, Supplier</pre><pre>speech_synthesis_tool = ModelTool(<br>    function=Function.SPEECH_SYNTHESIS,<br>    supplier=Supplier.GOOGLE<br>)</pre><pre>translation_tool = ModelTool(<br>    function=Function.TRANSLATION,<br>    supplier=Supplier.MICROSOFT<br>)</pre><pre>ner_tool = ModelTool(<br>    function=Function.NAMED_ENTITY_RECOGNITION,<br>    supplier=Supplier.MICROSOFT<br>)</pre><h3>4. Creating Pipeline Tools</h3><p>In addition, he developed a pipeline tool to retrieve private data from Wikipedia:</p><pre>from aixplain.modules.agent import PipelineTool</pre><pre>pipeline_tool = PipelineTool(<br>    description=&quot;Personal Information Extractor given a figure person name&quot;,<br>    pipeline=&quot;66b1157b2af845462188be53&quot;<br>)</pre><h3>5. Creating an AI Agent</h3><p>Thiago constructed an agent called “Wiki agent” and configured it to use GPT-4o for text generation after setting up the tools:</p><pre>from aixplain.factories import AgentFactory</pre><pre>agent = AgentFactory.create(<br>    name=&quot;Wiki-Agent1&quot;,<br>    tools=[<br>        speech_synthesis_tool,<br>        ner_tool,<br>        translation_tool,<br>        pipeline_tool<br>    ],<br>    description=&quot;Using Wikipedia to answer questions&quot;,<br>    llm_id=&quot;6646261c6eb563165658bbb1&quot; # GPT 4o<br>)<br>agent.id</pre><h3>6. Getting the Agent</h3><p>To retrieve and communicate with the agent</p><pre>agent = AgentFactory.get(agent.id)</pre><h3>7. Invoking Agents</h3><p>Using an example inquiry, Thiago showed how to run the agent and receive the answer via an audio link:</p><pre>agent_response1 = agent.run(&quot;What is the name of the driver who won Formula One championship in 2023? Answer in an English audio&quot;)<br>print(agent_response1)</pre><pre>agent_response1[&quot;data&quot;]</pre><p>To play the audio response:</p><pre>import requests<br>import re<br>from IPython.display import Audio, display</pre><pre>def display_audio(agent_response):<br>  pattern = r&quot;https://[^\s/$.?#].[^\s]*&quot;<br>  sound_file = re.findall(pattern, agent_response[&quot;data&quot;][&quot;output&quot;])[0].replace(&quot;).&quot;, &quot;&quot;).replace(&quot;)&quot;,&quot;&quot;)<br>  print(sound_file)<br>  response = requests.get(sound_file)</pre><pre>  if response.status_code == 200:<br>      with open(&#39;downloaded_file.mp3&#39;, &#39;wb&#39;) as file:<br>          file.write(response.content)<br>  display(Audio(&#39;downloaded_file.mp3&#39;, autoplay=True))<br>  os.remove(&#39;downloaded_file.mp3&#39;)</pre><pre>display_audio(agent_response1)</pre><h3>8. Invoking Agent with Short-term Memory</h3><p>Using the session ID, Thiago demonstrated how to ask follow-up questions during an active session:</p><pre>session_id = agent_response1[&quot;data&quot;][&quot;session_id&quot;]<br>print(f&quot;Session id: {session_id}&quot;)</pre><pre>agent_response2 = agent.run(&quot;Extract the personal information about that driver.&quot;, session_id=session_id)<br>print(&quot;\nResponse:&quot;)<br>print(agent_response2)</pre><pre>agent_response2[&quot;data&quot;][&quot;output&quot;]</pre><pre>agent_response3 = agent.run(&quot;What about in 1991? I want the answer in German text this time&quot;, session_id=session_id)<br>print(&quot;\nResponse:&quot;)<br>print(agent_response3)</pre><pre>agent_response4 = agent.run(&quot;get me his personal info&quot;, session_id=session_id)<br>print(&quot;\nResponse:&quot;)<br>print(agent_response4)</pre><pre>response = agent.run(&quot;Give me the personal info of the Brazilian athlete who most won Olympic medals for their country.&quot;)<br>print(response)</pre><pre>response[&quot;data&quot;][&quot;output&quot;]</pre><h3>9. Deleting the Agent</h3><p>The aiXplain platform provides an easy way to delete agents made for testing or temporary use:</p><pre>agent.delete()</pre><h3>Conclusion</h3><p>The <a href="https://aixplain.com/?utm_source=Medium&amp;utm_medium=Text&amp;utm_campaign=aiagents">aiXplain platform</a> provides a strong and flexible environment for developing and applying AI agents. AiXplain offers the models and tools you need to suit your goals, whether you’re creating sophisticated data retrieval systems or basic chatbots. Users are encouraged to explore aiXplain more by Thiago’s example, which demonstrated how simple and effective it is to use for AI development.<br>Keep checking back for additional lessons and insights from aiXplain on the fascinating field of AI!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d2622194396e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Build a Voice Cloner — aiXplain]]></title>
            <link>https://medium.com/@aixplain/how-to-build-a-voice-cloner-aixplain-d762bab7c494?source=rss-3535cf2e312f------2</link>
            <guid isPermaLink="false">https://medium.com/p/d762bab7c494</guid>
            <dc:creator><![CDATA[aixplain]]></dc:creator>
            <pubDate>Thu, 30 May 2024 11:22:42 GMT</pubDate>
            <atom:updated>2024-05-30T11:32:12.047Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to Build a Voice Cloner — aiXplain</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*liMRLeejjKA_hUoKHTHLmg.png" /></figure><p>Creating a voice cloner with aiXplain is easy and allows you to integrate speech recognition, translation, and voice cloning functionalities into your codebase or solution. In this tutorial, we’ll walk you through building a fully functional <a href="https://aixplain.com/voice-translation-ai/?utm_source=Medium&amp;utm_medium=Text&amp;utm_campaign=TransCloner">voice cloning</a> API using models available in the aiXplain marketplace.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/683/1*Citrhyf0QVtTj3SSFelWfg@2x.png" /><figcaption>End Result</figcaption></figure><p><em>Full Video: </em><a href="https://youtu.be/BQaHMVQgPqI"><em>https://youtu.be/BQaHMVQgPqI</em></a></p><h3>Step 1: Login and Access the Design Canvas</h3><p>First, log into aiXplain. Once logged in, navigate to the Design Canvas to start building your pipeline. You’ll find a variety of templates available to help you get started quickly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/714/1*PwWeDntBoOyVB1jZE68PFw@2x.png" /><figcaption>Register &amp; Login</figcaption></figure><h3>Step 2: Select a Template</h3><p>We’ll select the “Speech Translation” template, which provides a good foundation for our needs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/889/1*G7hHik9i8A1sSXDloA1lLw@2x.png" /><figcaption>Select a template</figcaption></figure><p>Since our current pipeline does not include a voice cloning solution, we’ll add this functionality ourselves.</p><h3>Step 3: Add a Voice Cloning Model</h3><ol><li>Add a model node to the Design canvas.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/892/1*A4QGPEWZ_uiJcD2Mm7Ph5w@2x.png" /><figcaption>Add a model node</figcaption></figure><p>2. Choose “Voice Cloning” as the function.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/890/1*bNE3sj5NzGDf-w2fvj04pw@2x.png" /><figcaption>Select the function “Voice Cloning”</figcaption></figure><p>3. Select a model tailored to your requirements.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/891/1*uLTyhRM-12vEFxju3BIsLg@2x.png" /><figcaption>Choose a voice cloning model</figcaption></figure><h3>Step 4: Populate Models</h3><p>Next, we’ll populate the necessary speech recognition, translation, and voice cloning models.</p><ol><li>Select the ‘populate with asset’ icon for Speech Recognition, Translation and the Voice Cloning model.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/892/1*DDLqm13b2zEkRerAWFasyw@2x.png" /><figcaption>Select the populate icon.</figcaption></figure><p>Once you select the populate icon for Speech Recognition and Translation. Type “multi” into the search bar to find multilingual models.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/892/1*hK65PsBO1t_klRWGH0zwcA@2x.png" /><figcaption>Type “multi” into search</figcaption></figure><h3>Step 5: Configure the Output Node</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/698/1*zSA3K-m-oxP93m4NUdejeA@2x.png" /><figcaption>Rename input nodes</figcaption></figure><ol><li><strong>Rename Transcript Output: </strong>The template may include a transcript “output” node. Rename this node to “VoiceOut”.</li><li><strong>Link Voice Cloning to Output: </strong>Unlink the “VoiceOut” node from the current “Translation” node and attach it to the “Voice Cloning” node.</li></ol><h3>Step 6: Link Nodes Together</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/698/1*lgLla8TZJZc3Fce4MYXViQ@2x.png" /><figcaption>Link Nodes Together</figcaption></figure><ol><li><strong>Translation to Voice Cloning: </strong>Connect the translation node to the voice cloning node.</li><li><strong>Rename Audio Input Node: </strong>Rename the audio input node to “VoiceIn” to match the output node name. Click “update”.</li><li><strong>Link Input to Voice Cloning: </strong>Connect the input node to the voice cloning node to allow audio input to pass through.</li></ol><h3>Step 7: Add Language Input and Output Nodes</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/683/1*Citrhyf0QVtTj3SSFelWfg@2x.png" /><figcaption>End Result</figcaption></figure><ol><li><strong>Add Language Input Node: </strong>Add an input node for language input and link it to the speech recognition node. This setup allows dynamic setting of source and target languages.</li><li><strong>Link to Speech Recognition: </strong>Connect the language input node to the speech recognition node.</li><li><strong>Link Translation to Language Input: </strong>Connect the Translation Node to the Language Input node.</li><li><strong>Add an Input Node: </strong>Add another input node, name it “langOut”, and link it to the appropriate nodes.</li></ol><h3>Step 8: Save and Test the Pipeline</h3><p>1. <strong>Save the Pipeline: </strong>Click “Save” and “Save as Pipeline”. Give your pipeline a name and save it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/890/1*QALJQdCMSv1nGmiKfqoveg@2x.png" /><figcaption>Save the pipeline</figcaption></figure><p>2. <strong>Test the Pipeline: </strong>Select “Try It Out” to test your solution. Upload a sample voice file that you want to clone.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/890/1*tosuRR9O4WTuNP2KJUEwxA@2x.png" /></figure><p>3. <strong>Set Languages:</strong> In the chat field, specify “English” as “en” as the input language and “Spanish” “es” as the output language, or choose any other languages you prefer. Make sure to use lowercase letters.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/892/1*oRGkgALgtG7vZSzrQPtyuA@2x.png" /></figure><p>4. <strong>Play the Output: </strong>Listen to your cloned voice output.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/887/1*nKMdGVPGZ4gZeseIT4bQXQ@2x.png" /></figure><h3>Step 9: Deploy and Integrate via API</h3><p>To deploy your solution and integrate it into your codebase:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/893/1*7KTq0r-FEqco6PIROa9Ypw@2x.png" /></figure><ol><li><strong>API Integration:</strong> Visit the API integration tab.</li><li><strong>Copy Code Snippets:</strong> Copy the provided Python or Java snippets into your external codebase.</li><li><strong>Generate API Key</strong>: Click the top right of the page on your name, then go to “team settings” and “integrations”. Select “create an access key” to generate your team API key.</li></ol><p>By following these steps, you’ve successfully built and tested a voice cloning pipeline on aiXplain. You can now deploy it and integrate it into your applications seamlessly!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d762bab7c494" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Deeper Look Into Stance Detection On Social Media]]></title>
            <link>https://medium.com/@aixplain/a-deeper-look-into-stance-detection-on-social-media-b34205e2e8eb?source=rss-3535cf2e312f------2</link>
            <guid isPermaLink="false">https://medium.com/p/b34205e2e8eb</guid>
            <category><![CDATA[stance-detection]]></category>
            <dc:creator><![CDATA[aixplain]]></dc:creator>
            <pubDate>Mon, 04 Sep 2023 12:52:26 GMT</pubDate>
            <atom:updated>2023-09-04T12:52:26.493Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*S-1JT3QuDmN-IE8E.jpg" /></figure><h3>What is stance detection?</h3><p>Let’s start by defining the word “stance” which simply means the position of an individual towards an issue or entity. Therefore, stance detection is the inference of stand or position towards an object of evaluation in an automated manner .</p><h3>Why is it important?</h3><p>Stance detection has multiple applications, which are as follows:</p><p><strong>Provide better recommendations to people:</strong></p><p>Similar people will tend to have similar preferences regardless of their ideologies allowing for recommendations based on the information present.</p><p><strong>Triangulate the views of people</strong></p><p>Useful in areas of marketing and polling.</p><p><strong>Sub-group populations into segments</strong></p><p>Allows for the discovery of intersecting communities and crafting tailored messages for such groups.</p><h3>How is stance detection different from sentiment analysis?</h3><p>People tend to mistake one for the other and consider them to be the same. However, stance detection is NOT <a href="https://web.archive.org/web/20221001140755/https://en.wikipedia.org/wiki/Sentiment_analysis">sentiment analysis</a>. To put in simpler terms, sentiment analysis reflects the emotional state of a user whereas stance detection reflects the position towards a target.</p><p>Let’s take a look at this short phrase, “I feel bad he lost”. The sentiment here is negative due to the conveyed emotional state. However, the stance here is positive due to the position the speaker has taken towards the target, “he”, who has lost. This individual is empathetic towards the person who lost, leading to a positive stance.</p><p>Another example, “I am so glad that he bought the farm (died)”. The sentiment is positive as the person feels a positive emotion. The stance is negative due to the position it takes against the target as it is speaking about the individual passing.</p><p>Thus, stance detection and sentiment analysis are detecting different things.</p><h3>Stance detection in social media</h3><p>It is important to understand that stance can be expressed in many different ways:</p><ul><li>Phrases, like the ones we discussed in our previous examples</li><li>Hashtags, such as #ClimateAction vs. #ClimateGate showcasing opposing views on one topic of interest (in this case, climate change).</li><li>Images/emojis as well that display a certain stance against the subject at hand</li><li>Type of Interactions, such as constantly liking, retweeting certain type of content on social channels</li><li>User profile information on their social accounts.</li></ul><h3>Types of stance detection</h3><ol><li><strong>Text stance detection:</strong> What is the stance in a “text snippet”?</li></ol><p>Ex: “Economy is tanking”</p><ul><li><strong>Pro’s:</strong> fine-grained</li><li><strong>Con’s:</strong> stance is often implicit and difficult to determine, ignores context.</li></ul><ol><li><strong>User stance detection:</strong> What is the stance of a person/user?</li></ol><p>Ex: user x retweets “<em>@MSNBC: 66% disapprove of Pres. Trump’s handling…new ABC News/Ipsos poll</em>”</p><ul><li><strong>Pro’s: </strong>uses lots of context, potentially very accurate.</li><li><strong>Con’s: </strong>Coarse grained, based on the assumption that the user has a durable stance over time.</li></ul><ol><li><strong>Stance prediction: </strong>What might be the stance of a person/user?</li></ol><p>This is difficult as it is trying to figure out a person’s stance on a subject without them saying anything about it.</p><ul><li><strong>Pro’s: </strong>useful, allows for predictions based in evidence.</li><li><strong>Con’s: </strong>difficult to be 100% sure.</li></ul><h3>How does social psychology inform stance detection?</h3><p>Social psychology tells us about two social phenomena. First is “homophily”, which means that individuals who share common characteristics tend to congregate with each other. The second is social influence and pressure, where ideas tends to spread in homophilous groups, leading to wide adoption within the group.</p><p>These factors progressively result in so-called <strong>echo chambers</strong>. This leads individuals in homophilous communities to share socially confirming content from similar sources to maintain their standing within the group. This gets amplified on social media because users can easily choose their social groups.</p><h3>Conclusion</h3><p>Stance detection on social media can be performed in different ways by observing and listening to users’ activities.</p><p>As discussed above, users with similar stances are more likely to</p><ul><li>Retweet the same accounts</li><li>Listen to the same media</li><li>Use similar hashtags</li><li>Share similar items</li><li>Use similar expressions</li><li>Have similar preferences</li><li>Live next to each other</li></ul><p>It is a valuable area of study that helps understand and possibly predict public opinion and behaviour, especially for social and political issues.</p><p><strong>By: </strong>Prabhleen Kaur</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b34205e2e8eb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AutoML — AI That Builds AI]]></title>
            <link>https://medium.com/@aixplain/automl-ai-that-builds-ai-9cff35a1350?source=rss-3535cf2e312f------2</link>
            <guid isPermaLink="false">https://medium.com/p/9cff35a1350</guid>
            <category><![CDATA[automl]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[aixplain]]></dc:creator>
            <pubDate>Mon, 28 Aug 2023 12:42:23 GMT</pubDate>
            <atom:updated>2023-08-28T12:42:23.499Z</atom:updated>
            <content:encoded><![CDATA[<h3>AutoML — AI That Builds AI</h3><p>“I’d like to use machine learning, but I can’t invest much time, or I don’t know how” — That is something you hear all too often in industry and from researchers in other disciplines.</p><p>In recent years, the demand for machine learning experts has outpaced the supply, despite the surge of people entering the field. To address this gap, there have been significant strides in developing user-friendly machine learning software that non-experts can use.</p><p>The resulting demand for hands-free solutions to machine learning has recently given rise to the field of automated machine learning (AutoML)</p><p><strong>The Problem with Machine Learning</strong></p><p>The authors of ‘Automated Machine Learning’1 explain it best — The past decade has seen an explosion of machine learning research and applications; especially, deep learning methods have enabled key advances in many application domains, such as computer vision, speech processing, and game playing.</p><p>However, the performance of many machine learning methods is pretty sensitive to design decisions. Since this requires both expert knowledge and some intuition that comes with experience, this becomes a considerable barrier for new users. This is particularly true in the booming field of deep learning. Here human engineers need to make many design decisions like choosing suitable neural architectures, training procedures, regularization methods, and hyperparameters of all of these components. This all is necessary to make the networks do what they are supposed to do with adequate performance. This process has to be repeated for every application. Even experts are often left with tedious episodes of trial and error until they identify a good set of choices for a particular dataset.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1005/0*fza0P03I1nr7pAUx" /></figure><p>Source: AutoML Course: Chapter 1 — AutoML.org</p><p><strong>Why Use AutoML?</strong></p><p>In a typical Machine Learning workflow, Data scientists indirectly teach the machine how to learn. This is often an iterative and tedious process that requires expertise, especially in deep learning. The design decisions involved are often not intuitive and error-prone, even for experts. Even after putting in all this effort, achieving State Of the Art results is often challenging.</p><p>The field of automated machine learning (AutoML) aims to make these decisions in a data-driven, objective, and automated way. This helps to reduce the complexity of our task. The user simply provides data, and the AutoML system automatically determines the approach that performs best for this particular application. Super Easy, right?</p><p>AutoML makes state-of-the-art machine learning approaches accessible to domain scientists interested in applying machine learning but do not have the resources to learn about the technologies behind it in detail. <em>This can be seen as a democratization of machine learning. </em>With AutoML, customized state-of-the-art machine learning can be at everyone’s fingertips.</p><p><strong>So do we no longer need Data Scientists?</strong></p><p>AutoML seems like an almost magical tool that can enable anyone to be a Machine Learning Guru. It would appear to be cheaper and more effective than hiring a machine learning expert. But that’s not actually true. As powerful as AutoML is, it also has many drawbacks. AutoML is still an AI in itself, so it suffers from the same weaknesses. It is susceptible to biases, which need to be handled by experts. It also becomes difficult to understand why the overall performance is terrible and how to fix it. Using AutoML without understanding can result in the deployment of inaccurate and unfair models. There are a lot of jobs done by data scientists that AutoML just can’t accomplish.</p><p>It is more likely that AutoML and experts work together as a team, each doing what they are good at. This would allow scientists to use their time more efficiently and give better results faster.</p><p>AutoML still has some kinks that need to be worked through. But even today, it is mature enough to help both experts and non-experts alike. It is a big step towards our goal of Democratizing AI.</p><p>References</p><ul><li><a href="https://learn.ki-campus.org/courses/automl-luh2021/overview">https://learn.ki-campus.org/courses/automl-luh2021/overview</a></li><li><a href="https://www.automl.org/wp-content/uploads/2019/05/AutoML_Book.pdf">Automated Machine Learning: Methods, Systems, Challenges (Book)</a>1</li><li><a href="https://www.kdnuggets.com/2020/02/data-scientists-automl-replace.html">https://www.kdnuggets.com/2020/02/data-scientists-automl-replace.html</a></li><li><a href="https://aixplain.com/">https://aixplain.com</a></li></ul><p><strong>By:</strong> Shreyas Sharma</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9cff35a1350" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Slot filling — A first step towards ambitious NLP systems]]></title>
            <link>https://medium.com/@aixplain/slot-filling-a-first-step-towards-ambitious-nlp-systems-ead102ea6c01?source=rss-3535cf2e312f------2</link>
            <guid isPermaLink="false">https://medium.com/p/ead102ea6c01</guid>
            <category><![CDATA[nlp]]></category>
            <category><![CDATA[nlp-training]]></category>
            <category><![CDATA[intent-detection]]></category>
            <category><![CDATA[slot-filling]]></category>
            <category><![CDATA[dialogue-systems]]></category>
            <dc:creator><![CDATA[aixplain]]></dc:creator>
            <pubDate>Mon, 21 Aug 2023 12:32:21 GMT</pubDate>
            <atom:updated>2023-08-21T12:32:21.101Z</atom:updated>
            <content:encoded><![CDATA[<h3>Slot filling — A first step towards ambitious NLP systems</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*msea9ztImw-y5ModhOJ1Tw.png" /></figure><p>When building a complex NLP system such as a chatbot, a question answering system, or a spoken dialog system, you have to tackle a series of tasks to reach the end goal. Slot filling is one task that is commonly used as a first step towards an ambitious system.</p><p>In this blog post, I talk about the slot filling task:</p><ul><li>What is it?</li><li>Why is it important to consider?</li><li>What are the common steps when implementing a slot filling model?</li><li>And last but not least, show some available libraries</li></ul><h3>Definition</h3><p>Slot filling consists of identifying meaningful slots in a text. This task is commonly applied together with intent detection that aims to identify the intent in a given sentence.</p><p>For example, consider I have a conversational system and receive this text from the user:</p><p>“I want to fly from Boston at 8:38 am and arrive in Denver at 11:10 in the morning”</p><p>We can infer that the user intends to book a flight. Also, we can select what slots are important in this scenario:</p><ul><li><strong>From city</strong>: Boston</li><li><strong>To city</strong>: Denver</li><li><strong>Departure Time</strong>: 8:38 am</li><li><strong>Arrive time</strong>: 11:10 morning</li></ul><p>This example was taken from the <a href="https://github.com/howl-anderson/ATIS_dataset/blob/master/README.en-US.md">ATIS dataset</a>, which is a popular slot filling dataset.</p><h3>Why is this important?</h3><p>As it was previously said, slot filling is a critical component in popular systems. Spoken language understanding is a research area that is growing fast and it is concerned with the understanding of spoken language by machines. Typically, slot filling and intent detection are used to extract structured representation from the dialogue.</p><p>Many works are targeting these two problems and some of them can be found here: <a href="http://nlpprogress.com/english/intent_detection_slot_filling.html">NLP Progress — Intent Detection and Slot Filling</a>; <a href="https://paperswithcode.com/task/slot-filling">Papers With Code — Slot Filling</a>.</p><p>Apart from research, spoken dialogue systems can be found in everyday life as digital personal assistants: Amazon’s Alexa, Apple’s Siri, Microsoft’s Cortana, and many more. These complex systems are already at people’s homes and slot filling comes as an underlying task.</p><h3>Common steps when implementing Slot Filling</h3><p>Slot filling is usually treated as a token classification problem, i.e. given a text, it is divided into pieces (called tokens) and each token is assigned a tag. For example, given the sentence: “I want to fly to Boston”, the tokens could be “I”, “want”, “to”, “fly”, “to” and “Boston” and the tags could be “None” for each token except “Boston” which would be “to_city”.</p><p>When representing the problem in this manner, there is a common format to represent tags, called the IOB format. IOB stands for Inside-Outside-Begin. For example, given the tokens “Los” and “Angeles” we could say that “Los” is a “B-city” and “Angeles” is an “I-city” to denote that the token “Los” marks the initial token of the tag “city” and “Angeles” is the continuation of that same tag.</p><p>A common step in this scenario is to have a preprocessing module that will be responsible for adapting the data to be the input of the model. The preprocessing step usually includes: tokenizing the text, filtering unwanted words, adapting the gold tags to the tokens.</p><p>After the preprocessing stage, the model will be ready to digest the data: be trained or fine-tuned, and make predictions. The model’s output, most probably, will not be used for your system, it will need some treatment. For this, a postprocessing module enters into place. Common procedures are: normalizing the slots, filtering out incorrect cases, and identifying cases that are obvious and easy to detect.</p><h3>Available libraries</h3><p><a href="https://huggingface.co/transformers/model_doc/bert.html#bertfortokenclassification">BERTForTokenClassification</a> is a module available by <a href="https://huggingface.co/">HuggingFace</a> that is an alternative to slot filling. It consists of a <a href="https://arxiv.org/abs/1810.04805">BERT</a> Model with token classification, so for each token, it outputs the corresponding label.</p><p>The documentation page contains code snippets for immediate usage using a pre-trained model, but it also can be fine-tuned on your data.</p><p><strong>By</strong>: Lucas Pavanelli</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ead102ea6c01" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Data Centric AI]]></title>
            <link>https://medium.com/@aixplain/data-centric-ai-92e7c6ae4bf0?source=rss-3535cf2e312f------2</link>
            <guid isPermaLink="false">https://medium.com/p/92e7c6ae4bf0</guid>
            <category><![CDATA[data-centric-ai]]></category>
            <category><![CDATA[deeplearing]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[model-centric-ai]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[aixplain]]></dc:creator>
            <pubDate>Mon, 14 Aug 2023 11:41:48 GMT</pubDate>
            <atom:updated>2023-08-14T11:41:48.334Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/957/0*WduSwsrTWmCgaVo8" /></figure><p>Figure 1.1: What is an AI system [1]</p><h3>Introduction</h3><p>Artificial Intelligence is affecting more and more industries every day. Everyone is either acquiring data scientists to develop their own model based on their needs or making use of pre-built models. This approach has been called Model Centric AI. However, while the solution is being searched on the model side, we have forgotten to check the data side. This is where Data-centric AI comes in.</p><h3>What is Data Centric AI?</h3><p>In simple words, Data Centric AI means to achieve better performance not by finding the best model but also feeding that model with the best data available. At <a href="https://aixplain.com/">aiXplain</a>, we not only provide thousands of models but we also let the users to preprocess/postprocess their data in an efficient way to enable available models perform much better for their sake.</p><p>There are two ways to improve the performance of an AI solution:</p><ol><li>Model Centric AI: How can we change <strong>the model</strong> to improve the performance? [1]</li><li>Data Centric AI: How can we change <strong>the data systematically</strong> to improve the performance? [1]</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/788/0*AqKScBCZ7_OKRuaH" /></figure><p>Figure 1.2: Data Centric vs Model Centic Development Results [1]</p><p>Andrew Ng, has presented some results of the Data Centric Approach and Model Centric approach for different ML Projects and the results were promising (see Figure 1.2). Nevertheless, we do not believe that Data Centric AI is the solution to everything. Even though it increases the performance of the model much more when you effectively change the data than changing the model, this is a result of the saturation in the model centric approach. The number of the researches done on the model side has been tremendous and it saturated at some point. The sole result we got from this figure is that there is room to develop better performance through better data.</p><h3>Importance of Data</h3><p>One of the lead AI Specialists of 21’st century Andrew Ng states that “Data is food for AI” [1]. The data is as important as the model. So, what kind of factors matters for having a proper data:</p><ol><li>Consistency</li><li>Volume</li><li>Coverage</li></ol><p>For an ML project, the data must be consistent, has enough samples and should cover all possible application areas in order to be safely used for model development. But in today’s world, it is not easy to find such data for all use cases, especially for custom applications. Even though there are many resources available, it is still very hard to find or create a proper dataset. Some resources for dataset search are shown in Figure 1.3.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/979/0*mnJqC1JcrWQrkXlW" /></figure><p>Figure 1.3: Popular dataset resources [3]</p><p>With a combinatorial approach of data-centric and model-centric we can use the models to improve data and use the data to improve the models iteratively.</p><h3>Problems with Only Model Centric ML Development</h3><p>A classical machine learning workflow would look like following:</p><ol><li>Collect the data</li><li>Data Cleaning and Preprocessing</li><li>Model Development</li><li>Deployment</li></ol><p>However, there are two problems with this:</p><p>1) We fixed the data and found the best performing model. But we can never be sure that the data is the best data for the model.</p><p>2) It is a two dimensional optimization problem in which data and the model are the variables to be optimized. But, only the model is optimized in this approach. On the contrary, Data Centric AI aims to find the best data for a fixed model.</p><p>At aiXplain we believe that we should systematically iterate over the data and the model while keeping the other fixed until an optimal solution is achieved similar to the Fix-and-Optimize Heuristic Optimization methods [2].</p><h3>aiXplain is here for you!</h3><p>We have developed a end-to-end tool which helps you ingest any type of the data (audio, text, and video) with or without label and lets users preprocess it with an easily configurable <a href="https://aixplain.com/">aiXplain</a> pipeline. Our tool allows you to rapidly annotate data, review annotations, train models, which can further speed up annotation, and deploy these models using an API endpoint with least effort possible. So, be sure to check us out! :)</p><p>We wish you happy iterative training.</p><p><strong>By: </strong>Ahmet Gündüz</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=92e7c6ae4bf0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Generating synthetic data for improving model performance]]></title>
            <link>https://medium.com/@aixplain/generating-synthetic-data-for-improving-model-performance-d59edf900de6?source=rss-3535cf2e312f------2</link>
            <guid isPermaLink="false">https://medium.com/p/d59edf900de6</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[machine-learning-ai]]></category>
            <dc:creator><![CDATA[aixplain]]></dc:creator>
            <pubDate>Fri, 11 Aug 2023 10:27:46 GMT</pubDate>
            <atom:updated>2023-08-11T10:27:46.732Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*oWkAXnCrq7u0ZnD2" /><figcaption>Photo by <a href="https://unsplash.com/@sortino?utm_source=medium&amp;utm_medium=referral">Joshua Sortino</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Machine learning (ML) heavily relies on data. The models are getting bigger and with that, we need more data to train them. However, most of the time, getting data is not an easy task and it is even harder and more expensive if we want annotated data.</p><p>We can see that the AI community is talking about the importance of data. For instance, Thomas Wolf, the co-founder of <a href="https://huggingface.co/">HuggingFace</a>, <a href="https://twitter.com/Thom_Wolf/status/1428297297809530882?s=20">tweeted</a> about data importance nowadays and how his perspective has changed from model-centric to data-centric.</p><p>That is when data augmentation and synthetic data come into play. In this blog post, I walk you through what is data augmentation and synthetic data, how that can be applied to ML tasks and, more specifically, to natural language processing (NLP), show how to incorporate synthetic data into training and, lastly, share some research papers that provide interesting ideas about this topic.</p><h3>Definition</h3><p>Data augmentation can be defined as:</p><p>“<em>Strategies for increasing the diversity of training examples without explicitly collecting new data.</em>”</p><p>From: <a href="https://arxiv.org/abs/2105.03075">Feng, Steven Y., et al. “A survey of data augmentation approaches for NLP</a>.</p><p>Generating synthetic data is one way of augmenting data, which refers to an automated process of creating new data and using it to train the model.</p><p>One of the objectives of using synthetic data is to improve the model performance without getting more annotated data, which would cost much more.</p><h3>Generate synthetic data for ML/NLP models</h3><p>Data augmentation techniques are widely used in ML. For example, NVIDIA has a <a href="https://blogs.nvidia.com/blog/2021/06/08/what-is-synthetic-data/">blog post about synthetic data</a>, which shows how synthetic data can be applied to different domains, such as computer vision.</p><p>In the NLP domain, other techniques have been developed. A famous example is called <a href="https://arxiv.org/abs/1511.06709">back translation</a>. This technique is used for augmenting machine translation data. It consists of translating a source sentence into one target language and then converting it back to the source sentence. This sentence which was converted back, is used to augment the initial data.</p><p>More recent examples are also emerging. The use of language models is one way to generate synthetic data. <a href="https://ojs.aaai.org/index.php/AAAI/article/view/6233">LAMBADA</a> is a model capable of generating new examples for the text classification task. It fine-tunes a language generator model using the existing labeled data and, given a class label, it uses the language model to generate novel examples for that class.</p><h3>Incorporate during training</h3><p>Another important step besides the generation part is incorporating the synthetic data into the training corpus. This can be done in some different ways:</p><ol><li><strong>Direct</strong>: Incorporate directly the synthetic data into the training corpus, as the synthetic examples are just another set of training examples.</li><li><strong>Indirect</strong>: Use some kind of classifier or another algorithm to select from the synthetic data what part should be incorporated into the training corpus.</li><li><strong>Use as a different corpus</strong>: Differentiate the original training corpus from the synthetic data generated. In this scenario, we can compare the performance of only using the synthetic corpus with only using the original data.</li></ol><h3>Research papers</h3><p><a href="https://arxiv.org/abs/2105.03075">Feng, Steven Y., et al</a> is a great survey paper about what has been done in the NLP data augmentation field. It provides a GitHub repository (<a href="https://github.com/styfeng/DataAug4NLP">DataAug4NLP</a>) with links to referenced papers and datasets, and is also divided by topics, such as text classification, translation, and summarization.</p><p><strong>By</strong>: Lucas Pavanelli</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d59edf900de6" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>