Transcript 0:00 Went through that li-- that hype cycle that you've seen, where everyone gets really excited, and they all get on the bandwagon. It doesn't do what they hoped it would, and they all lose interest. Yeah. 0:12 And then it slowly creeps back and becomes a boring, normal part of society. Okay. And this happened multiple times in AI. And the newest thing we're excited about are these transformers. 0:26 [upbeat music] Welcome to Unlocking the AI Advantage podcast. We are here to fast-track your success by leveraging the power of AI in business. 0:43 Each episode brings you closer to the cutting edge of technology and entrepreneurship. Let's dive into the world of AI and make extraordinary strides in your journey. Are you ready? Let's go. 0:57 [upbeat music] Hello, everyone. Welcome to one more episode of Unlocking the AI Advantage podcast. This is your host, Ramesh Dandala. I hope you've been enjoying the previous episodes. 1:11 And today, I'm pretty excited to talk about a topic that has garnered a lot of attention in the AI industry. Whether you are a user of AI, whether you are new to AI, I am sure you heard about this topic, okay? 1:30 This is called Generative AI. So today's episode, I would like to actually call it the practical guide to the Generative AI. And for some of you, if I just say Generative AI, you may not know what I'm talking about. 1:46 But if I say ChatGPT, I'm sure you will know what it is. Now, ChatGPT is a tool based in this class of tools called Generative AI, 1:57 which has taken, uh, by storm hundreds of millions of people all around the world have been exposed to Generative AI through this, uh, tool called ChatGPT. All right. 2:11 So, uh, today's episode, I'm gonna talk about few things. Number one, what is generative, Generative AI? Number two, why should we care about Generative AI, and where is it going to help us? What are the use cases? 2:28 Number three, um, a brief introduction to how Generative AI actually works. We will not go into too many technical details, but just a, a quick overview of how Generative AI works. All right? 2:43 And then we will actually talk to a guest, uh, who can give us, uh, a perspective about Generative AI, why it has taken off, and how, um, he's going to use-- how he's using it in his company, and also he's also in academia as well, so what's happening there as well. 3:01 So with that, so let's get started. All right. So what is Generative AI, and why is it called Generative AI? 3:11 So as the name suggests, right, so Generative AI is about generating new and fresh content, okay? Using AI. It's a subset of AI. So what content are we talking about? 3:28 This could be text content, it could be videos, it could be images, it could even be a programming code. Okay? So for example, you want to write a blog article. Okay? 3:42 So this Generative AI tools, whatever tool we're talking about, have been trained using, uh, the previous data, like lots of blog articles, and then models some algorithms that we used, right? 3:55 Using that experience, the machines learn, and then it can create an, a blog article, uh, for you on any topic. Okay? But similarly, you can create images. You can even actually create new videos. 4:12 You-- There are Generative AI tools out there that you can give it a script, and then it creates a video for you, right? 4:19 It takes all the other, uh, videos, uh, that it has in its database, and then actually it can create, it can, uh, innovate on whatever data that it has. 4:30 Um, so it's just not regurgitating whatever it has in the database, but it's actually innovating, creating new and fresh content. So at a high level and a non-technical explanation, that's what Generative AI is, right? 4:46 It is actually machines, computers using the past data, right? 4:52 Past al-- Then running algorithms, some algorithms, creating fresh new content by innovating, um, on, uh, the, you know, whatever the, the data that has learned on, but it also keeps learning. Okay. 5:09 So why is it, uh, taken off? Um, so in November twenty twenty-two, ChatGPT, uh, from a company called OpenAI, uh, was unveiled. 5:19 And, uh, suddenly people, uh, the content creators, for example, right, be the marketing agencies, they could use access AI that they did not have access to AI. 5:30 Previously, only large companies have been using, uh, AI or implementing AI for prediction, prescriptive, uh, for data analytics, uh, basis, but it was not, uh, accessible to, uh, you and me, like some people on the street, right? 5:45 So to say. So ChatGPT suddenly opened the doors how they can use AI in their daily lives, right? You can create blogs, you can, um, a-actually, you could, uh, you know, uh, students have been using it to solve problems. 6:03 Uh, actually, there were examples of where a ChatGPT, uh, you may have seen, um, has done, uh, some advanced examinations in the past, right? Some medical examinations, uh, some lawyer examinations. 6:15 So it is, it's, um, it, it'sIt is taken off by storm. Okay, so now let's talk about how generative AI actually works. Okay? 6:28 So the way it works is, um, using some, uh, so for example, some of the models okay, so this is-- it goes into a little bit of a technical side, uh, but I will not go too deep here, right. 6:41 So they use generative adversarial networks where, um, you know, there's a generator and then there's an, uh, a discriminator, which is the, the opposite side of, of creating the content. 6:52 So the discriminator, um, is, uh, you know, it, it, it's actually differentiates between real and, and generated data. So whereas the, uh, generator, um, actually comes up with the real data, right? 7:05 So, uh, by generator and adversarial, uh, in the models, they, uh, the gen-generator gets better in creating, you know, uh, you know, b-better quality content as an example. 7:17 And then they also use other, uh, models called variational autoencoders, right? As I said, I don't want to go too deep into it, but some of the advanced models that are out there are used in, uh, generative AI, okay? 7:31 And then they also use something called a recurrent neural networks. Neural networks is another, uh, piece of the AI, uh, component of AI that has, uh, taken off, uh, you know, as well. 7:41 Uh, it, it's always been there, but they are used much more, uh, in, uh, more recently in the generative AI space. Okay? 7:48 So a-and then, uh, why it has, uh, taken off-- the usage has taken off, at the same time, the models themselves have become advanced, and they were-- they had access to, to trillions of parameters of data, and as a result, um, so, uh, the ChatGPT kind of tools are able to be put together. 8:11 Okay? So it is just the usage along with the advances in the comp-- in the, uh, the storage and in the computing side of the world are also made generative AI possible. Okay? 8:24 So what are the some of the use cases, like where it can be used? 8:28 It can be used for text generation, it can be used for image generation, it could be used for video generation, music generation, and, and also synthesizing data as well, right? 8:40 And then, um, so it can create fresh content for you. And more recently, some of the tools, they can, uh, not only create text, but they can actually see and hear as well, right? 8:52 So you could actually upload a, a homework as an example, okay, as an image, and then these tools, advanced tools, can read what's on the page and homework can solve it for you, which is kind of scary. Okay? 9:07 So, so, uh, these advances are happening all over the place. So now the question is, what are some of the tools so that you and I can use? Okay, so let me just go through, uh, some of the popular tools, about ten or so. 9:21 And in the, uh, you know, a practical guide to generative AI, uh, we are also coming up with a, a document or a guide to go along with this podcast. So we will mention all these tools there as well. Okay? 9:34 So some of the tools, uh, ChatGPT, as I already mentioned, is from a company called OpenAI, and, uh, the free version is available. It can, uh, see, hear, as well as read, uh, uh, so it can generate content. 9:50 So it can create text content, it can se-uh, see images that you upload, and then it can also, uh, you know, hear, uh, from the audio files as well. 9:59 So it's one of the, uh, tools that is got, um, you know, head start over other tools. Okay? So and then, uh, the other one is a GitHub Pi-- Copilot. So this is for program-programming side. 10:13 So Copilot is also helping programmers, uh, write code faster, uh, uh, higher quality code. So on the programming side, uh, Copilot and these kinds of tools, um, can definitely enhance the productivity of the programs. 10:31 And the other tools that are there, Scribe, uh, it's an AI writing assistant, okay? So it's given a prompt, it can write entire blog articles for you. 10:40 So even whether you use that article or not, it can at least get you started. And, uh, um, uh, the other one is AlphaCode, uh, just like a Copilot. It also helps with, uh, with programming side. 10:54 And Midjourney is another one that you might have heard. This is on the image generation side. Pictory is another one, so they are on the image generation side. And, uh, Synthesia is for video generation. 11:07 So another popular tool that's used for video generation is Synthesia. And because ChatGPT came from OpenAI, other, uh, big guys like, uh, Google, um, also have come out with their own versions. 11:22 Bard, B-A-R-D, is another tool like ChatGPT-like tool, um, that, uh, it's a chatbot, it's a content generator, uh, so that, uh, Google unveiled that one. DALL-E, D-A-L-L-E, is the one that from OpenAI. 11:37 Again, that's for m-images, okay? And then Cohere Generate, right? So this is another one. It, uh, empowers the developers to, you know, craft dynamic dialogue systems. Okay? 11:49 So we hear Cohere Generate is another popular tool out there. Um, DALL-E has come up, as I mentioned. Uh, it's a more advanced versions of DALL-E. Two is there, right? So another one is a Claude. 12:02 C-L-A-U-D-E is another popular tool, which is like ChatGPT, and some people prefer Claude. So these are some of the popular tools. And, uh, uh, we ourselves use extensively some of these tools. 12:16 Uh, another tool that I should mention is Kapwing, K-A-P-W-I-N-G, that we use for, uh, the videos. 12:22 So let me just now the-- this section, I want to talk about what tools we use, how we use them.So we definitely use ChatGPT and we also use Claude for, uh, you know, uh, text generation and blog articles, getting some ideas. 12:36 Uh, we u- uh, we, uh, experimented with Synthesia. Uh, we are using Kapwing extensively for video editing, um, and some of the videos that we put out there. Okay? 12:47 And we've been using DALL-E 2, and then Midjourney extensively for our images as well. So those are some of the popular tools. And on the programming side, we are experimenting with the Copilot. 12:58 We are experimenting with the, uh, the auto, uh, uh, code, uh, that I mentioned, uh, as well. So these are the ones. We'll be making more tutorials on all the tools and how we use them. That's it. All right. 13:11 So, uh, without, uh, further ado, now I would like to take you, uh, to my conversation, uh, with, uh, an expert in this space, okay, in the generative AI space. 13:24 And then later on I'll come back and, uh, wrap up this episode. All right? So this is, uh, the episode about the a practical guide to generative AI. Now let's listen to, uh, my conversation, uh, with, with an expert. 13:38 So Graham Moorehead is an adjunct professor at Gonzaga University and is teaching AI and ML. And his lab, Handjorn, actually, is working on unique models and is launching two startups, right? 13:51 Real estate predictions and natural language un-understanding. 13:55 As you can see, he transcends both the learning and teaching aspect of AI, so in the real time, um, uh, working on those things, but at the same time applying those concepts along with the students in the lab to bring those concept into real life, uh, on the real estate side, and as well as the natural language understanding, which is unlike what you have seen in the ChatGPT as an example. 14:18 So we'll get into all those aspects. So with that, Graham, welcome. Thank you. Happy to be here today. Go ahead, please introduce yourself. 14:27 So I started out as a physicist, but then in my last semester, this is back in the '90s, I took a course on AI, and I realized this is way more interesting. It felt like sci-fi. I mean, can this be a real job? 14:41 And it turns out- Mm-hmm... it can, and it is. So as soon as I finished my physics degree, I'm like, "I'm never doing physics again." And I tried to start working in AI. 14:51 It took a, a couple years before I got my first job in AI, and back then, speech recognition counted as AI. And that's- Mm... um, what I started out with in '97, and I never looked back. 15:03 And I've been in so many different companies and startups ever since then. Excellent. So thank you very much, Graham, for being here today. 15:11 And then, um, as we all know, what generative AI has done in the last, uh, I would say four months. 15:19 So November 30, I believe, or, uh, around that timeframe, uh, OpenAI introduced, uh, this, this, uh, ChatGPT, and then, uh, by end of January or, or in sometime in February, 100 million users, right? 15:32 And then it, uh, since then, of course, Google and Microsoft and everybody has adopted their own versions of it, and then the companies like Midjourney. 15:40 So, so let's lay the land out there, uh, because we are calling it today as a guide to generative AI, right? AI is not new. It's been there forever. It has gone through multiple winters of AI. We know that, right? 15:53 So this is after two winters, now it's, uh, the resurgence of AI has come recently. 15:58 So the question to you on that note is what are the things that led to this revolution of the generative AI that just, you know, just opened the doors, you know, so like the, the... 16:12 It's almost like the floods that are coming our way. When I think about the winters of the past, remember we invented-- Someone invented the neural network in the late '50s. Yeah. 16:24 And we thought it's gonna be 20 years before we have something that can rival a human. That's what they actually thought. Some people actually thought that back then, and of course it didn't happen. Yeah. 16:34 So we went through that li- that hype cycle that you've seen, where everyone gets really excited and they all get on the bandwagon. It doesn't do what they hoped it would, and they all lose interest. Yeah. 16:46 And then it slowly creeps back and becomes a boring normal part of society. Okay. And this happened multiple times in AI. And the newest thing we're excited about are these transformers. 17:01 What I believe is gonna happen is we're gonna get to the point where we realize they don't do what we hoped they did, so we're going to lose some of that enthusiasm. 17:13 But the cycles are so much quicker now that the next thing will probably be ready before we lose our, our hype about it. Now, why now out, out of all this time? What led to this? And I think it's... 17:28 We have a-- There's a whole lot of smart people in this field. There's thousands of smart people, and they're just trying things. 17:35 One thing I remember when I was in college and we were being taught differential equations, there was no rhyme or reason as to why this was tried or that was tried. 17:44 It was like they just had a, a bag of, a bag of tricks, bag of tools. And many, many smart people, you know, spent their whole careers and didn't give us anything while other- others did. And there's kind of luck. 17:59 And when we think about the different models that worked and the ones that didn't, there's luck there. The fact that we have thousands of really smart people trying things is what led to this. 18:10 Some of them worked, and some of them went viral. But I was so surprised that this went as viral as it did. Exactly. I've never seen anything- Anything like that... remotely. Yeah. 18:21 I mean, I've seen the curves that show the adoption of different technology, and this is unlike anything that we have seen in the pastI have my own, um, you know, hypothesis about what led to, uh, you know, the success. 18:33 I, I believe previously, for example, you know, 2019, '20, I was working on a consulting engagement where we were trying to solve, um, you know, the AI for high-performance computing, right? So business problems. 18:45 So it's, it's, it's about that. 18:46 But suddenly I think that w- my belief is that we are- now we have shown, the AI has shown that it can solve problems that, the, um, you know, regular, you know, uh, people, uh, can have, whether it's, it's, uh, writing a blog article or, uh, you know, creating an image that I can use. 19:04 So, um, those kinds of use cases, uh, scenarios, are, are made possible in a very realistic, as a human-like way, and then that led to the success. I mean, what, what's your, um, comment on that? 19:19 Yeah, I think you're right. It's a human way. The chat interface was something everybody was familiar with. They knew how to interact with it, and the fact that something interesting came back made it so compelling. 19:33 Yeah. A number of years ago, there's something called Cleverbot that tried to do the same thing, and what it did is it was just chat interface. 19:41 You could chat with this AI, and every time you responded to something, it learned from you. Mm. And it wasn't as sophisticated- Right... so after a while it got boring because you started to realize that... 19:54 You realized very quickly it doesn't actually understand. The thing that's so compelling about this is that it gives responses that tricks the mind and makes you think it understands. That is so compelling. Excellent. 20:08 I, I agree with, uh, that. Right. So with that, um, uh, out of the way, so there are many players out here, right? So we heard of OpenAI, right? Sam Altman and all those, uh, right? 20:20 So, uh, but he-- it's not that OpenAI is the only thing that's out there, right? So there are lots of players. 20:25 If you could lay out for the audience, you know, what, uh, who are the key players in the generative AI space that we should watch out for? I think we need to bring in the visual now. 20:39 So there is something called the diffusion model that came out a while ago. Yep. And that started out just trying to remove noise. Stable diffusion and OpenAI seem to be the leaders. 20:51 Google probably has better technology but has been holding back. They have a reputation to uphold. Um, Microsoft is now, you know, deep in with OpenAI, so- Right... 21:01 you can assume they have access to everything they have, and everybody who's been doing LLMs, large language models in general, and transformers, they can all be players. 21:14 Amazon, Facebook, they're all gonna be huge in this, but there's many small guys who are going to be influential, too. OpenAssistant, which came from Yannic Kilcher- Mm... and his group. That's gonna be influential, too. 21:30 Yeah. So, uh, one thing that I've, uh, noted, uh, along those lines, like, there could be domain-specific large language models. For example, what I have seen is that Bloomberg came out with its own LLM, right? Yep. 21:42 Uh, so basically a generative AI solution based on LLM for the financial data. Right? So we probably will see those kinds of things happening in healthcare because, uh, there's a lot of healthcare data on Google Health. 21:57 They have that cloud, right? 21:59 So, you know, I, I could see a pharmaceutical company or, uh, you know, healthcare company with so much data, right, uh, either partnering together for drug discovery and then, uh, or even treatment, uh, kind of things. 22:11 I mean, do you see the domain-specific LLMs playing a large role, or it's going to be very- Absolutely... general? Yeah. No. The big, the big companies are going to stick to the general case. Okay. 22:22 OpenAI is never gonna make one that's tuned for one small vertical. Okay. 22:27 That's why there's plenty of space for all these, you know, smaller companies, such as Locksy that I'm a part of, where we have generative AI being tuned just for marketing emails. 22:40 On the same note, Graham, I think, uh, nowadays we cannot have a discussion about AI without talking about, uh, impact on jobs, right? 22:51 So when the cars came, horse carriages went out, so it didn't end the world, but a new, you know, economy has developed, right, in terms of, uh, what... So now I see, like, a prompt engineer is a, a, a job, right? 23:08 So this is where the linguists are coming back into, uh, you know, so who can, who ca- who can come up with a, you know, a better prompt, good prompt, you know, can get, uh, better answers from ChatGPT or any of those generative AI kind of thing. 23:22 So on that note, so there will be impact on jobs. So what is your take on, uh, the jobs and then how we should, uh, a- adopt ourselves for this new AI economy? 23:37 The whole prompt engineering thing is gonna be a thing for a while, and this is because LLMs are touchy. If you say something exactly right, they'll do the right thing. 23:47 If you say it just a little bit wrong, it does the wrong thing. 23:51 Think about it as working with a very temperamental coworker who every time you, you know, insult them a tiny bit, they go off the, you know, off the handle, you know? 24:01 I love your examples, Graham, [laughs] so I think that I can relate to all those things. Awesome. So what we're gonna get to, though, is something that understands a little better. 24:15 So we're all going to be able to be a part of the AI community instead of just having to be a coder. 24:21 So what this does, this bridges the gap between AI and non-coders, so we can use natural language, and it will start to understand us. This means that if you want to-Design, you know, a new house. 24:36 If you're an architect, you can talk about it, and that will give you, you know, eighty, ninety percent of the way there, and then you tweak the actual des- the CAD/CAM designs. 24:46 If you're someone working in pu-public policy, you can tell an AI to generate a document as a rough draft, and it will generate a policy rough draft. And then, you know, it gets you ninety percent of the way there. 25:00 So this is how it's gonna be for many, many jobs, many white-collar jobs, and then eventually some blue-collar jobs. And you're gonna talk to an AI that's pretty smart. 25:12 It's like having an idiot savant sitting next to you. They're gonna do ninety percent of the work, and then you still have to do the last tweak. 25:20 Like right now, although a truck can drive autonomously across the country, when it's backing into an alleyway in New York City, a human has to drive, and it's a little bit like that played across all professions. 25:36 Actually, um, I can relate to that one, right? So from a programming perspective, coding, we know that, uh, generative AI is helping programmers. Uh, but can, can it completely write an application? 25:50 Uh, for example, I could get the code out, like I can get Python code. Uh, but again, stitching these together to make an application, still I will not be able to do it, right? So, um, I mean, those kinds of things, 26:05 so you can fast-forward if I'm a programmer. It can f- it can provide me the basic, uh, you know, the scaffolding, initial stuff that I don't have to do it. 26:14 And then but on top of it, uh, but I still need to make, whether you call it ten percent or whatever that is, to make the final thing ha-happen. So it cannot completely replace and make it, uh, you know, autonomous. 26:27 You still need us, so we can become more smarter in, in how we work with AI. That's what you're saying. Yes. There is a coming productivity explosion- Yeah... 26:38 because ninety percent of the work that we do now can be done by an AI, but humans are still needed. 26:45 And the good, the good news here is that if you don't know how to code, all you need to do is be able to speak your language. Thank you very much, Graham. Um, so it, it was very, very insightful discussion. 26:57 Honestly, the way you laid out the intro itself is very, very fascinating, and that, uh, is ex- uh, extremely valuable. [electronic sounds] Folks, uh, I hope, uh, you enjoyed my conversation with Graham Morehead. 27:10 Um, as, as I mentioned, uh, he is, um, in the academia world. Along with the corporate world, he's got startups as well. 27:19 And, uh, so, uh, he can give, uh, us a better idea of how generative AI is being used both, um, on the academic side as well, what's the research that's going on, as well as how it's being in the corporate world. Okay? 27:33 And, uh, as I mentioned, uh, uh, along with this episode, we're putting together a practical guide to generative AI. Uh, it's something that you can download. 27:42 And to get, uh, this, uh, guide, please subscribe to the aientrepreneurs.com, um, newsletter. So it's the aientrepreneurs.com. Go there, and then you can subscribe to the newsletter. 27:56 And, uh, once you get subscribed to the newsletter, you will get, uh, the guide, a practical guide to generative AI and what's happening in the generative AI space. Okay? So with that, so thank you for your support. 28:08 And, um, so I will, uh, see you in the next episode. [upbeat music] And that's a wrap on another insightful episode. But remember, the power lies in applying what you have learned. 28:25 If you found value in our conversation today, please share it with others who could benefit. Subscribe for more, and consider leaving us a review. 28:35 Visit theaientrepreneurs.com for more resources, including golden gems of articles, ChatGPT prompts, AI tools, tutorials, gifts, and much more. Let's keep pushing the boundaries of what's possible. Until next time. 28:54 [upbeat music]