<?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 Miles Mabry on Medium]]></title>
        <description><![CDATA[Stories by Miles Mabry on Medium]]></description>
        <link>https://medium.com/@milesamabry?source=rss-ccff9660497e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*o12bGgrOoJyj_1NN</url>
            <title>Stories by Miles Mabry on Medium</title>
            <link>https://medium.com/@milesamabry?source=rss-ccff9660497e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 22:07:24 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@milesamabry/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[Finding Demo: A Journey to Demonstrate Document Q&A with LLMs]]></title>
            <link>https://milesamabry.medium.com/finding-demo-a-journey-to-demonstrate-document-q-a-with-llms-48321ab3214a?source=rss-ccff9660497e------2</link>
            <guid isPermaLink="false">https://medium.com/p/48321ab3214a</guid>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[google-cloud-platform]]></category>
            <category><![CDATA[vertex-ai]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[bard-ai]]></category>
            <dc:creator><![CDATA[Miles Mabry]]></dc:creator>
            <pubDate>Tue, 19 Dec 2023 17:14:07 GMT</pubDate>
            <atom:updated>2023-12-19T17:25:18.738Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="An underwater scene where a small human figure is standing at the bottom of the ocean, gazing into the vast blue waters that are filled with colorful sea life, corals, and aquatic plants. Amongst them are scattered many white papers, documents, and electronic devices like laptops and tablets, all floating in the water as if carried by a gentle current. The scene conveys a sense of wonder and exploration, like a journey into a world where nature and knowledge blend seamlessly." src="https://cdn-images-1.medium.com/max/1024/1*i6Prz02C7sXKQ03Z_uYA-Q.png" /></figure><h4>Charting the Course</h4><p>LLMs and their associated chat bots are very popular. Finding use cases for them as a company, or as an engineer looking to get more involved in the AI space, can prove pretty daunting.</p><p>As I’ve <a href="https://medium.com/@milesamabry/welcome-to-the-data-factory-unwrapping-the-google-ml-professional-certification-60c2adecd381">written</a> <a href="https://medium.com/@milesamabry/scaling-new-heights-my-journey-to-google-cloud-professional-machine-learning-engineer-6174e4ee6187">about</a> recently, I’ve been focused on educating myself with the technologies, foundations, and practical uses of LLMs on a more professional level. Taking some of the examples from training courses as well as Google’s ever evolving <a href="https://github.com/GoogleCloudPlatform/generative-ai/tree/main">Generative-AI</a> GitHub Repo I wanted to find a solution that might drive interest in utilizing LLMs in a company.</p><h4>Embarking on the Demo</h4><p>I wanted to approach this demo with few goals in mind. This demo should be easily repeated, easily deployed and understood, cheap to host and run, and impactful to the client.</p><p>Going through a list of common starter Generative AI demos I settled on a document Q &amp; A demo — where the documents could be pre-loaded or loaded at the time of demonstration and questions could be answered in real time.</p><p>The set of documents I’d be using is a collection of publicly available PDFs of catalogs across a set of products for a company.</p><p>I intend to share with you the four paths I took and hopefully will help you find something that might help you in your journey.</p><h4>Leaving the Dock with Jupyter Notebooks and Vertex AI</h4><p>Jupyter Notebooks are popular platforms to develop data science tool kits, demonstrations, and generally get your feet wet with concepts that you can share easily. For those unfamiliar with Jupyter Notebooks, <a href="https://bard.google.com/">Bard</a> gives this tidy summary:</p><blockquote>Jupyter notebooks are interactive documents for data exploration.</blockquote><blockquote>They mix code, text, and visuals, like interactive playgrounds.</blockquote><blockquote>You can run code, see results, and adjust, making it ideal for learning.</blockquote><blockquote>They’re open-source, work with many languages, and are great for sharing findings.</blockquote><blockquote>Think “interactive data playground” and you’ve got Jupyter notebooks!</blockquote><p>Having used plenty of Jupyter Notebooks during labs within the <a href="https://www.cloudskillsboost.google/">Google Cloud Skills Boost</a> paths, I thought it would be a great first step.</p><p>Knowing that I’d focus on Google products I started with a Vertex AI Workbench, a customizable hosted instance where I could run a Jupyter notebook with easy access to Vertex AI APIs and any other Google Cloud service I could need. A notebook instance could be easily deployed in a Google Cloud Project using gcloud commands, or a simple script. It would be low cost and with the notebook saved within a remote repository it would be quickly ready to use. Knowing that the application in the notebook would be built by the demonstrator or the client, this was a no-brainer.</p><p>First I started off very verbose: every function broken into a runnable chunk of code with a description of what was happening or what it did.</p><p>Installing dependencies, authenticating the environment, importing the model for text and embedding, setting global variables, loading the documents, extracting text from the documents, chunking the documents, creating the context, and finally submitting the prompt and displaying the answers.</p><p>I thought that this experience was great. The potential client could read and understand what was happening, or at the very least the demonstrator would have a script to use as they progressed through the notebook during the demo even if they weren’t that familiar with the technical aspects of it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*KYeCoQYSKBPd1rjc2Hz8fw.gif" /></figure><p>Then I realized that maybe simpler was better. We didn’t need to showcase every function, we can condense the functions as they would be in an application, automate as many manual steps as possible, and prompt the user for the question and to kick off the functions to generate the answers. I trimmed the notebook from 46 cells to just 19.</p><p>The responses to the questions were consistently good and relatively quick, once I removed some of the restraints applied to prevent overspending.</p><p>After presenting it to a small group, I found that this approach might be too technically dense to present to the intended audience. I decided that while it would be appropriate for a technical training session, it wouldn’t serve the audience or the demonstrator in the way I wanted it to. I decided to find something more user friendly and less technically demanding on the user while not abandoning what I’d already developed.</p><h4>Following the Current from Jupyter to Web App</h4><p>Essentially the code in the Notebook was an application.</p><p>The frontend was the notebook itself, the backend was a local datastore declared in one of the code blocks, and the Vertex AI API was handling the embeddings and answers. All I had to do was separate them into a frontend and a backend and then utilize Google Cloud serverless services to host the application. The setup could be easily repeated and the code hosted in a repository.</p><p>Deciding on and hosting an appropriate backend, handling the data ingestion from the documents, and then presenting it all with a simple frontend is non-trivial. Fortunately there are plenty of samples to get started and I was able to start developing the application using the code from my notebook pretty quickly.</p><p>I’ll be honest, this was a lot of work for me and by the time I got a working example, I knew it’d be even more work to get it presentable. I didn’t have the luxury of spending all of my working hours on this so when I heard about a newly released option, I took a little detour.</p><h4>An Excursion with GPTs</h4><p>Released during the first OpenAI developer days, <a href="https://chat.openai.com/gpts">GPTs </a>are custom ChatGPT chatbots. The OpenAI keynote promised an easy onboarding via a ChatGPT-driven concierge that would prompt you for what you wanted to create and then be fine-tuned using documents and further prompt-refinement.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hGOTcLE4RR5Zfh5wZ7qmUw.png" /></figure><p>It was like a sign from Poseidon: GPTs were easy to create, documents were easy to upload and process, and the chatbots were hosted with a familiar frontend. However, it wasn’t all sunny skies and clear waters.</p><p>Firstly, at the time of my experience and as of this publishing, in order to use GPTs you have to be a paying member of ChatGPT Plus.</p><p>Secondly, the results weren’t great. It seemed to ignore some of the data in the documents, hallucinate on the responses, and despite some time spent fine-tuning the expected behavior I couldn’t generate the kind of results I got from the Jupyter notebook experience.</p><p>Thirdly and fourthly, it wasn’t impactful enough to be impressive enough to prompt (heh) further conversation and the amount of time it could take to create a custom GPT for each potential client could be prohibitive.</p><p>However, taking this detour allowed me to think outside of what I had been developing. Which led me to, ultimately, what has been the most effective path.</p><h4>Full Speed Ahead with Vertex AI Search and Conversation</h4><p>With a simple-is-better mindset I came back to Vertex AI and rediscovered the Search and Conversation, or what used to be called Vertex AI App Builder.</p><p>The goal of Vertex AI Search and Conversation is to give you a launchpad to get started with search, conversation, or even recommendations using a supplied datastore. This datastore can be website URLs, a GCS bucket with documents, a BigQuery dataset, or even data from an API.</p><p>Setup is simple. For this use case I created a bucket and uploaded the PDFs I wanted to answer questions about. I added that bucket as a Data Store and created my search app, selecting the Data Store (where Vertex AI was already processing the documents and text) that I created earlier.</p><p>Options are limited when creating an app. You can decide on longer or more concise answers, decide if you want to be able to ask follow-up questions or search using an image, and if you want the app to autocomplete or accept feedback on its results. I was able to test the questions and answers using a widget within minutes of starting.</p><p>While having the search experience in the Google Cloud console was useful, it wouldn’t serve for a demo. Fortunately Google provides the HTML code for adding the widget to your web application. So I pivoted from my custom web app from before, added the widget code to a sparse webpage, and pushed the application to Cloud Run. Suddenly I had a search widget leveraging an LLM that answered questions verbatim from a set of documents. The results were in most cases better, or on par, with what I could get from my experiment with the Jupyter notebook.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9KZj0GVnUV1iGoKxm9lvZg.png" /></figure><p>The setup is incredibly efficient, it costs little to host since Cloud Run is allowed to scale to zero, the documents stored in a GCS bucket aren’t excessive, and the cost-per-token for interacting with Vertex AI API is minimal.</p><p>Ultimately I determined that this method is the best demonstration for our intended audiences and needs.</p><h4>Disembarking</h4><p>Through this journey, we explored various paths to building an LLM-powered document Q&amp;A demo. While each approach had its merits, Vertex AI Search and Conversation emerged as the winner for its simplicity, ease of deployment, and impressive results. This solution allows anyone to leverage the power of LLMs for document search and answer questions directly from their content, without needing extensive technical expertise.</p><ol><li>Ready to set sail? Launch your own Vertex AI Search and Conversation demo in minutes. Follow the resources provided in this post to create your custom document-powered dialogue experience.</li><li>Don’t chart your course alone! Join the vibrant LLM community on online forums and platforms to share your experiences, get help with technical challenges, and discover new possibilities.</li><li>Beyond Q&amp;A, delve deeper! Explore the vast potential of LLMs for tasks like summarizing texts, writing different creative formats, and even generating code. Get creative and unleash the power of AI to unlock new heights of productivity and innovation.</li></ol><p>By embracing the journey and venturing into the world of LLM-powered document interaction, you can unlock a powerful new tool for your work and unleash the hidden potential within your data. So, set sail, be bold, and let the LLMs guide you to new horizons of possibilities.</p><p><strong>Note for Transparency</strong>: I leveraged generative AI (ChatGPT and Bard) to create the header image and to assist in the outlining and editing of this blog post. The words, thoughts, and actions are all my own.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=48321ab3214a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Scaling New Heights: My Journey to Google Cloud Professional Machine Learning Engineer…]]></title>
            <link>https://milesamabry.medium.com/scaling-new-heights-my-journey-to-google-cloud-professional-machine-learning-engineer-6174e4ee6187?source=rss-ccff9660497e------2</link>
            <guid isPermaLink="false">https://medium.com/p/6174e4ee6187</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[certification]]></category>
            <category><![CDATA[google-cloud-platform]]></category>
            <dc:creator><![CDATA[Miles Mabry]]></dc:creator>
            <pubDate>Fri, 17 Nov 2023 20:02:37 GMT</pubDate>
            <atom:updated>2023-11-17T20:02:37.092Z</atom:updated>
            <content:encoded><![CDATA[<h3>Scaling New Heights: My Journey to Google Cloud Professional Machine Learning Engineer Certification</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I6AAszM8DY4doYJjuDyrhg.png" /></figure><p>As an advocate of both the intricate world of Machine Learning (ML) and the exhilarating sport of bouldering, I recently embarked on a journey that paralleled these two passions: obtaining the Google Cloud Professional Machine Learning Engineer BETA Certification. This endeavor, much like a challenging climb, was about finding the right holds and making calculated moves towards a lofty goal.</p><h3>Laying the Foundation</h3><p>My expedition began with what I already knew — Google Cloud services. These skills were the footholds that supported me, much like the initial grips a climber finds before a challenging ascent. Understanding the infrastructure of Google Cloud was akin to surveying the rock face before a climb, knowing where to place your hands and feet.</p><h3>Leveraging Google Cloud Innovators Plus</h3><p>The <a href="https://cloud.google.com/innovators/innovatorsplus?hl=en">Google Cloud Innovators Plus</a> subscription was a game-changer, similar to discovering a new climbing technique that propels you forward. The <a href="https://www.cloudskillsboost.google/paths/17">Machine Learning Engineer Learning Path</a> offered through this subscription was the route I took, filled with twists and turns but leading me exactly where I needed to go. Every new module was a step higher, a problem solved, a route mastered.</p><h3>The Machine Learning Ascent</h3><p>Delving into the depths of Machine Learning was like tackling the steepest part of the climb. Concepts like neural networks, data engineering, and AI ethics were challenging overhangs that required patience and perseverance. There were moments of struggle, akin to reaching for a distant hold, but the satisfaction of grasping it was unparalleled.</p><h3>Practical Applications and Real-World Scenarios</h3><p>This journey wasn’t just theoretical. The certification had practical implications, much like how a successful climb equips you with confidence and experience for future endeavors. I learned to apply ML principles in real-world scenarios, transforming theoretical knowledge into practical solutions.</p><h3>Tips and Advice for Aspiring Climbers</h3><p>To those gearing up for this climb, here’s my advice: be patient, be persistent, and keep practicing. The path to certification, like any difficult boulder problem, is not linear. Utilize resources like the Google Cloud community, online forums, and hands-on projects. Remember, every climber has their unique rhythm; find yours.</p><h3>Conclusion</h3><p>Reaching the summit of the Google Cloud Professional Machine Learning Engineer BETA Certification was exhilarating. It was a testament to hard work, continuous learning, and the thrill of overcoming challenges — elements intrinsic to both machine learning and bouldering. If you’re contemplating this climb, remember that every hold leads you higher, and every challenge makes you stronger.</p><p>Embrace your professional challenges as a boulderer embraces a new climb: with enthusiasm, resilience, and the spirit of adventure.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6174e4ee6187" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Welcome to the Data Factory: Unwrapping the Google ML Professional Certification]]></title>
            <link>https://milesamabry.medium.com/welcome-to-the-data-factory-unwrapping-the-google-ml-professional-certification-60c2adecd381?source=rss-ccff9660497e------2</link>
            <guid isPermaLink="false">https://medium.com/p/60c2adecd381</guid>
            <category><![CDATA[certification]]></category>
            <category><![CDATA[google-cloud-platform]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Miles Mabry]]></dc:creator>
            <pubDate>Thu, 09 Nov 2023 18:11:43 GMT</pubDate>
            <atom:updated>2023-11-27T23:40:02.342Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Google Cloud logo over a cloud composed of various types of colorful candy, raining multi-colored isomalt drops into a river of caramel" src="https://cdn-images-1.medium.com/max/1024/1*Wz2aj6A8ziQbc-k2xcbRxw.png" /></figure><h3>Introduction</h3><p>Good day, sweet-toothed data enthusiasts! Imagine a chocolate factory where the confections are clever algorithms and the everlasting gobstoppers are neural networks. Welcome to the fantastical world of the Google Cloud Machine Learning Professional Certification — a golden ticket to the grandest data delights in the cloud confectionery.</p><h3>Why?</h3><p>Like the Golden-Ticket craze that swept Charlie Bucket’s world AI is hotter than Red Hots in today’s technology world. I wanted to make sure that my knowledge had a toffee-hard foundation. Understanding Machine Learning foundations is crucial for understanding, designing, and implementing AI solutions.</p><p>In addition to my desire to gain the knowledge Google is updating the Machine Learning certification exam to align with the most current services and processes in Google Cloud. I prepared for the Beta exam and sat for it on October 13th, 2023 — results for this exam are being finalized and should be available when the exam is updated on November 20th, 2023, I’ll be sure to update this post on whether or not I passed.</p><p><strong>EDIT: </strong>I received my certification notification on November 17th and wrote a quick blog post <a href="https://medium.com/@milesamabry/scaling-new-heights-my-journey-to-google-cloud-professional-machine-learning-engineer-6174e4ee6187">here</a> on what I used to prepare.</p><h3>What’s This Certification All About?</h3><p>This isn’t just any ordinary certification; it’s the Wonka Bar of the tech world, and inside, you might just find a golden ticket to machine learning mastery. As a certified Google ML Professional, you’ll be able to craft the most intricate data delights and machine learning treats.</p><h3>The Knowledge Candy Shop</h3><p>Before you can don the top hat and take the helm of the factory, you’ll need to master every delectable section of the candy shop:</p><ul><li>BigQuery ML Bonbons: Whip up predictive analytics and data-driven chocolates with the finesse of a confectioner.</li><li>API Everlasting Gobstoppers: Craft applications that can see, hear, and understand your users with a flavor that never fades.</li><li>AutoML Chocolate Rivers: Navigate the rich, flowing rivers of AutoML, where models are as delightful and complex as the finest truffles.</li><li>Data Engineering Licorice Ropes: Weave through massive datasets with the agility of an acrobat swinging through the factory’s licorice jungle.</li><li>MLOps Gummy Bears: Ensure your ML creations are as robust as gummy bears, bouncing back and scaling with ease.</li></ul><h3>Study Resources: Your Golden Ticket</h3><p>Heading into the certification without a guide is like navigating the factory without Wonka himself! Here are the Oompa-Loompas of your journey:</p><ul><li><a href="https://www.cloudskillsboost.google/paths/17">Google’s Cloud Skills Boost</a>: These on-demand, self-guided courses including hands-on labs are the secret recipes to your success, handed down from Wonka himself.</li><li><a href="https://cloud.google.com/docs">Official Documentation</a>: The rulebook to the factory — it’s less about the don’ts and more about the dos!</li><li><a href="https://services.google.com/fh/files/misc/professional_machine_learning_engineer_certification_exam_guide.pdf">Exam Guide</a>: Like reading the ingredients of your favorite candy bar(<strong>hint</strong>: don’t do it) you can find the specific pieces of the ML Certification Exam.</li></ul><h3>Conclusion</h3><p>Achieving the Google Cloud Machine Learning Professional Certification is like becoming the heir to the data chocolate factory. You’ll not only earn a badge of honor but also gain the keys to a kingdom where data dreams are crafted into reality.</p><p>So, wrap up your determination, coat it with study, and sprinkle it with laughter. The factory awaits, and the future of data is as sweet as chocolate!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=60c2adecd381" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>