0:02 hey I’m a midcareer professional I want to get into the AI engineering space in the data science space for example it’s like hey go find a data set go practice your skill sets and uh and then you know see what you can package up at the end that’s useful uh what does that look like for for that person I feel like you really need to understand application layer foundations before you start doing anything which essentially of these things fromont engineering really May with these enms and understand what they’re good at in their bage just chose chity you start realizing that there are a bunch of things day still there that it’s lot to it then learn about rag these four things should be really clear before you start building projects post that I would always say build projects that solve your own pain points
0:46 and scale them right if data science is all about taking a particular data set and building something predictive or building something rounded as like a is all about automating repetitive workflows a very simple example is let talk about like an e engineer what is the day-to-day according to you looks like so I think in Enterprise you are an e engineer the idea is this someone’s coming up with a business problem and how can you make a good decision on what is your approach to solve that problem you should have a really good understanding of what these usage paradigms are what are the pros and cons and I feel like an AI engineer the role is to identify bris problems and translate to AI problems and also identify evaluation met and translate it to business metrics and things and that’s your goal and all the
1:34 tools that you use and all the usage paradigms you’re using it doesn’t really matter hello everyone we are excited to have another podcast with ashwaria uh awaria is a gen AI Tech lead at Amazon in AWS and uh we are excited to talk to her today and we have I have my co-host hauan here and hey ashwaria hi what’s up hey yeah hi hi oh my God I said that in my mind and yeah everybody says that so it’s cool yeah really nice to be a part of the part podcast I’ve been watching a few episodes and pretty cool you guys are doing great work and yeah I hope it would be fun yeah it should be a really fun episode can’t uh can’t wait yes so a would love to understand so uh to the world in LinkedIn everyone knows
2:34 ishwaria as this content creator and not just a regular content creator I would say because I love how much value you provide with your you know the current trends in llms and gen and you’re also working full-time in Amazon and you’re also a lecturer and a professor in some medas would love to understand all these different aspects of your current professional life yeah yeah so uh most of the time I kind of work for aw so that’s like my 9 to5 job um and what I do at AWS is work at this AR called generat VI Innovation Center where we use AWS sped Dr which is a Genia platform right it’s a manage service where um AWS clients can build Solutions we we build those solutions for them they come with a business problem to us and we kind of designed
3:26 the entire thing and I lead a team of Applied scientists solution AR uh um strategist and all of these folks to design a solution for them and also go this entire process of iteration experimentation build a prototype and then think of how it can go to production scaling evaluation all this typical ml deployment life cycle um so that’s what I do on a daily basis and that’s that also kind of necessitates me to have a lot of this knowledge on generator a the trends the models that are coming up um a lot of application layer knowledge because kind of working with these models and Building Solutions and building applications and that’s when I started writing I think I started writing um maybe last Jan because I had this new resolution that I made that I’ll read one paper a day because there
4:15 was so many papers I’m going to kind of keep up with research and I thought if I’m writing might as I mean reading might as well just write a bit about it that would kind of rekindle my passion for writing and then that blew up and opened up a bunch of other opportunities as well and um um folks from Oxford reached out and said will you be interested in teaching then I had a bunch of folks that said maybe can you talk to us about AI strategy for a particular project that we’re trying to do or a Enterprise uh problem that we’re trying to solve and that’s like okay fine I talk to these people and advise them on strategy I I’m also a researcher by heart like I have been doing research for the past 9 years I wrote my first
4:55 research paper uh in 201 2014 2015 yeah years um so I I’m a person with too many passions and I get burnt out too many times I’m it’s a process I’m also still trying to prioritize and understand um what I should be paying the most attention to I do research with a bunch of professors and I basically advise students on their research journey and that’s that also helps me to keep up with research so I feel like my unique perspective comes from that because on the one side I’m talking with researchers who St who are working on state-of-the-art techniques on the other I’m applying that to Enterprise use cases so I if I look at a research paper I kind of can tell if this is something that can be translated into a use case or if it’s something that’s done on a
5:45 very small data setting is not really um useful or applicable in um in the big picture and yeah I feel like those all tied together and uh it’s been good that’s so cool I mean that’s like the dream job for a lot of people especially at this Forefront of the whole AI movement right there’s so many things I want to dig into so one one follow-up question specifically on your work in the Innovation Lab at Amazon web services for your clients what’s one example of uh a project that they bring to your attention and what your expertise in advising them on we see a wide range of use cases right I think the most simplest use cases we’ve seen is to there some form of knowledge search and retrieval each of them have very uh unique ecosystems think of something like an employee chat portal
6:34 or something like that where you’re not really looking at documentation it’s simple things right like how many days of PTO do I have left and things like that you don’t have to do search and retrieval anymore you can probably chat with your system those are very typical use cases we see until things like some folks want to understand chat with their videos like you know knowledge Discovery from videos and which can be used in use cases like surveillance and things like that the other things are of code generation use cases think of platforms where data scientists use a lot of SQL can you kind of simplify that and reduce the amount of time it takes to onward right if you have X number of databases it takes a while for data scientists in these companies to kind of understand the
7:16 ecosystem and all of that can you have like a system that would generate SQL and and you can do some natural language interfacing with it we’ve also worked with folks like NFL like NFL basically has live recordings of all these matches and you can draw insights using generative a and that was a pretty cool use case that was also public recently a very wide range of use cases and um just in the past one year I feel like a lot of Enterprises that were not even using traditional AI because of the hype or because of all the talk that’s happening really want to explore and understand how they can simplify their workflow so this is the first time I’m seeing such a diverse range of companies and verticles trying to apply AI their use cases I think recently we worked on this really
8:02 cool use case um with a company with a legal tech company right more of a legal firm that had like thousands of PDFs and images of contracts and um other documents that they wanted to pass into a structured format and um Claude anthropic Claud does a really cool job with that like you can pretty much throw in a bunch of different PDFs and it will will um you know digitalize that for you that’s really cool so it sounds like any sort of clients could just come to you and be like hey awaria I have this business problem can you help me solve it with AI is it as high level as that for the most part yes but with I have spoken to a bunch of leaders who also don’t really understand what AI can or cannot do so there are a lot of use
8:49 cases that AI probably cannot solve very well at this point or there just cheaper ways of doing it my expertise also lies in the fact that I really need to guide them and tell them that this is probably what you don’t need generator way I thought this could just be a workflow and things like that right so yeah they do come up with problems but there are also constraints under which we would make a decision as to whether generator a is the right solution for this can you give an example of that asaria where you think there’s still like you know people think AI could solve that problem business problem for them and you’re like no this is still not a gen I think or it might not be the right solution for it I think a lot of these solutions that try to
9:29 repl therapy and stuff like that with generative AI feels a little too farfetched to me one because it’s it’s a very subjective thing right different people react to different kind of therapies and then I I feel like as humans we have this ability to be pretty sensitive to feedback just looking at someone’s face you kind of get some signals and generative is not that sensitive already in that space where we could solve very subjective things like therapy with the so again a personal opinion I feel there are a bunch of startups who are already trying to do that where I’ve seen AI add a lot of values and very objective tasks that require some form of knowledge search and retrieval if something is documented very well and could be uh instead of a human having to analyze hundreds of thousands of um documents or like
10:17 databases yeah I can make that simple but wherever subjectivity comes into the picture it becomes really hard to make a decision because humans have a lot more context of the World when they make decisions and with AI or with models currently I feel like we’re not there yet and the feedback loop is not completely closed with the ey now right because they trained on a certain set of data then they interact with systems and to retrain them again it takes quite a while you need to observe user interactions and then retrain them and retraining at this point is pretty expensive so AI systems are stateless at this point they do not evolve I feel like we can go to these use cases where nii systems are cheaper to train easier to evolve but at this point we are still not there yet that makes a lot of sense
11:03 there’s also the flip side of it I think some people over complicate things as well hey uh something that would be straightforward if else if else kind of thing and then they’re like hey let me put some AI into this but at the end of the day it’s just a zapier integration okay let me Define step 1 2 3 4 like super straightforward nothing no judgments needed anywhere then it’s equivalent to using a nuclear bomb to K an an kind of thing that’s also one thing that I observed uh in the in the industry as yeah I think sometimes there’s pressure from the leadership as well where is the AI in your product and people tend to jump onto this F wagons but even with my M and course I think that was the major intention that I am somehow not very
11:45 align with folks who say I an AI first company and things like that I feel like it puts emphasis on trying to push AI everywhere I still think that most products and services are successful if you have a very problem first approach what what are the pain points and is a i the right choice to bring in here I have spoken to a bunch of clients in the past who come to us and go like um is there a way we could have agents here one agents are not what you’re thinking it is they’re not a Magic Bullet that are going to solve everything and two you don’t need agents here if if I talk to about 10 people um about AI seven of them are talking about Ai and maybe only three of them or two of them really know
12:26 um you know anything apart from Agents they think agents are this new thing that you know is come up and I asked them do you know what rag is and they’re like no what is if you know agents are without knowing what drag is then you need to go crush up your foundations because that’s pretty much not how systems are designed for audience could you uh could you actually Define agents and uh and Rags for our audience and and even maybe something that comes before that what’s the timeline right so you need properly need to understand uh what llms are what types do we have and you know and from the yeah sure essentially all of this stems from Deep learning or neural networks which are basically uh models that you know have a bunch of parameters and update themselves almost
13:13 think of them like uh tons of different switches within a software system that go on and off to make a decision and then post that um we started going to uh neural networks that could understand language that could process words and back in in 2015 or 16 rnns or lstms were the popular neural networks for processing language and then in 2017 someone came up and said and folks from Google came up and said that rnns are pretty slow because they’re processing sentences word by word and maybe we need parel processing and that’s where the Transformer architecture came up and even then we had language models language model is 2017 even before that theod even with rnn’s and lstms you could build language models and language models are ially models that understand and generate language and then in 20178 is when uh
14:04 open Ai and other folks started saying that okay we have this Transformer architecture now we can uh just by stacking layers and layers in the encoder or in the decoder we are able to get better performance just using the transform architecture and making it bigger and bigger and that’s when we entered the large language modela kind of stter in 2019 uh if I remember I think GPT the very first GPT I don’t know it was in 2018 that was when researcher figured out that just by making these models huge it seems like we’re getting better performance changing nothing but dumping tons of data and increasing the size just scaning it without any science Innovation is also leading to better performance GPD was the first one that made that upgrade and GPD also was one of the first models that was focusing on
14:55 generation and not understanding but as a model is a language understanding machine it doesn’t generate anything but GPD the other approach to say that uh we will also generate um responses um but everything after that llm era right where maybe um 2020 2021 models started getting much bigger and in 2022 openi came up with this UI with this customer experience that was pretty seamless um although it was still the same uh technology or I believe so because these are close Source models and I can’t really say what they’re doing on the inside so that’s when people started talking about large language models and all of that right but then in 2022 and 2023 people started realizing that okay this is something fancy and it’s fun to use but now how do I derive some Roi out of it how do I put it into Enterprises
15:46 and turns out that when you started trying to use llms in Enterprise applications they weren’t as good because these are generalist machines right they’ve been trained on web data and they’re not um and again that’s when people start coming up with prompt engineering to optimize responses to say that okay if I spoke a certain way I’m getting better responses but that’s still wasn’t good for the Enterprise because every Enterprise has a very unique way or a unique structure in which they organize their data and that’s when rag became a thing rag is pretty much like open book somewhere the the hallucinations came somewhere in between right basically the reason why you you probably are not getting right answers and hence you we need other systems is that why rag was also introduced that is true so hallucinations were an issue but I feel
16:36 like again Hallucination is this thing of L language model is not being able to answer or probably giving you false answers to questions just because they have been not trained on certain sets of data but Enterprise systems even without hallucination it’s very obvious why nlms cannot answer questions because they just do not have the context re it’s all private information that hold within themselves and the entire web data could probably give some I don’t know generic contextual answers but they wouldn’t give an answer that’s specific to their problem that’s it’s an Enterprise exactly exactly back then if you remember even in 2023 or 2024 context sizes ofs are basically the number of words that they can consume was pretty low was somewhere around 32k tokens 32,000 tokens tokens are again subw what split into smaller parts each um llm is
17:26 kind of consumed right so even at that point drag was really necessary because even if you were an Enterprise trying to say that I will dump in all the context required for you to answer the question the LMS were just not ready to handle so much context and that’s where R came up where they said okay maybe chunk it down chunk all the information you have put it into a vector database and pick up only the most relevant information for your query and provide an answer to that right it’s pretty much open book question answering like you ask a question and you try to pick up the most relevant information uh that is required for someone to answer the question and just provide the answer and then everything that we discuss in 2024 or later has been pretty much on the
18:07 application layer right yeah um rag agents now once Enterprises started using rag they figured out that there are sometimes llms do not have to be called for everything for instance like simple calculations or like generating code and executing it and things like that right and can you use other tools to do that like an llm can be a decisionmaking entity to kind of call tools that are pretty well known to do some things as compared to llms right if I ask for the weather and LM obviously cannot tell it because it’s stateless and it doesn’t have access to current information so can I use a tool to do a web search and get that information so that’s when agentic kind of workflows picked up where you use the llm more as the brain on the decision making or the orchestration uh framework and connect
18:54 it to a bunch of other things that’s and then there’s this multi system where you say can different agents kind of Converse with each other and arrive at a decision and stuff like that but post this Transformer era 2023 and later I haven’t seen huge Innovations in the model layer there obviously have been a lot of Innovations on you know how you can change the attention to make it um you know faster how you can improve the you know accuracy by a bit and stuff like that but there have been a lot of Innovations on the application here which is rag agents fine tuning is also one space which is scaning a lot of momentum again I would say that’s that’s come somewhere between application and the model layer but these are pretty much the usage paradigms and when you
19:39 talk to folks or AI Engineers they are working still at that level they the models kind of abstracted from them it’s it’s just an API that they’re using I I love that you know you bring this entire context of agents and drag and all of this right so let’s say typically let’s talk about like an a engineer what is the day-to-day according to you looks like so I I think um in Enterprises if you are an e engineer the idea is this someone’s coming up with a business problem and how can you make a good decision on what is your approach to solve that problem you should have a really good understanding of what these usage paradigms are what are the pros and cons and of each of these right a bunch of people that I mentored always ask me is langar off the best tool to
20:25 use or is crei the better tool and which out Vector database should I be using and stuff like that I feel like an AI engineer the role is to identify business problems and translate it to AI problems and also identify evaluation metrics and translate it to business metrics and things like that’s your role right and all the tools that you’re using all the usage paradigms you’re using it doesn’t really matter and it differs from company to company if you learn langra today there’s a high chance that next year it’s replaced by something else or if you go into a company like and Bedrock we don’t use Lang we use Bedrock agents so it doesn’t really matter what tools you’re using this capability to identify problems and translate them um kind of iterate our Solutions this example that I said right
21:11 employee uh chatbot or something like that he that’s the use case that is that a business is coming you can you build a very simple solution iate prototype and then scale it and stuff it’s all it’s very similar to what a software engineer would do but just the underlying API you’re using is actually a large language model and there’s some amount of nondeterministic nature that comes from using these models like software is very um you know deterministic and you have to learn everything that comes with using this non deterministic piece of software and that that is things like prompt engineering or um hallucinations or pancy is another thing that I’ve seen which essentially is a problem with llms they tend to agree with very opiated build rate if you say this is wrong what do you think about it most likely the
22:02 llm will say yeah I think this is wrong because then it’ll make up something I’ve done that yeah so I feel like as you use these LMS more often you can build Solutions around them and you a good software engineer can also be a good AI engineer you just need to pick up these Ai paradigms and also just use it more often understand the nuances about um a mods but otherwise the underlying framework is pretty similar so uh if I summarize AI engineer is like a software engineer who takes business problems and look solves them as an AI problem but the difference is that the AI problems are not as deterministic as software engineering problems are and understand the AI paradigms around it and solves them and eventually connect them to the business metrics to understand what was the positive and negative that this uh that
23:00 you’ve solved for if it helped or did not improve yeah yeah that that would that’s the most consise we yeah that’s awesome I think um what that also implies is having good judgment having good domain expertise in certain Fields is going to be the game-changing aspect of uh of what sets them apart from the mediocre one you in the data world we see the same thing in in in the data science world for example Shia you’ve seen a whole a whole bunch of these uh if people are rigid in hey tell me what what tool to use to solve this problem if that’s the question that they ask then typically that’s not someone who’s as good as hey um the actual tool doesn’t matter I need to understand what is the problem here so that I can ask a better question for example so that I
23:47 can find out what that real thing is needed so somebody who’s listening or watching who doesn’t want their jobs to be replaced it’s very important to be very analytical about certain problems and that the world is getting more and more into this vague space because we have loms to help us make certain judgments and complete certain tasks especially the repetitive ones yeah yeah definitely so um ashara I’m trying to piece through whatever you’ve said right and there’s so many other questions that I have around it the first question I have is when we talk about air Engineers who are all the people that surround these people I can definitely someone who’s asking a question like the person who is actually coming up with hey I have this business problem can you help me with this and the a engineer themselves like you said need to know if
24:33 this an a problem or not who are these people are these like product managers are these like marketing folks like who are these people that’s one and who are the people that surround a Engineers that they interact with on a regular basis yeah I think the Baseline here is also just the fact that AI engineer is a very umbrella term for a bunch of things almost like a data scientist right in every different company what a data scientist means is very different I have worked in three teams in Amazon and the meaning of Applied scientists is very different in each of these three teams so I think it heavy defends on the size of the company and how much of Delegation there is to different people at least the way it works say clients uh that come to us is essentially there
25:17 folks um from the uh leadership who have an idea that this is probably a repetitive work that we want for a knowledge work that we want AI to solve and there are solution Architects and eii strategists that work with that company to understand if this is a viable case for us they basically understand their ecosystem understand what data they have and all of that and then they bring it to the applied scientists applied scientists are pretty much AI Engineers but I think the minor difference at least for us is the fact that we design Solutions and think more in terms of strategy evaluation metrics and all of that and the implementation or scaling productionizing is done by Machine learning engineers in the team so these are folks who have like traditional software engineering expertise as well and uh we have folks
26:04 who kind of talk with research scientists and machine learning Engineers um and also the strategy solution architecture folks and all of that to come up with the viable business problem and uh metrics for that um again I feel like the um if you’re really thinking of um who these folks are who identify these problems I feel like product managers also are folks who should be this right because I feel like AI is a very raw technology it’s almost like the cloud or the internet and product managers are the folks who can think of really Innovative customer experiences around it think of how um you know you can make this into something valuable my team specifically does not have any product managers again because of the way they operate but I see a lot of value in a good product manager trying
26:53 to at least understand the foundation of what AI can do so that they can and innovate around the experiences that makes sense just a followup question on that actually based on how you’ve seen and Mentor other people let’s say like somebody wants to get into the AI engineering space they want to be an apply scientist uh in your group for example what sort of like mistakes do you see the aspiring people kind of make like whether that would be the direction of the skill sets that they acquire or perhaps maybe misconceptions that they have about the field can you share some uh some things that you’ve seen on that side that can help our audience to go at the right direction I think there’s a spectrum of people have seen on one end there are people who are who are in this
27:40 tutorial heal they’re constantly watching a ton of videos and in bibing everything that they see on the other hand there are people who are just hands- on implementing they’re going on doing a bunch of different projects putting that on GitHub and not really understanding if this is a project that would be useful does it solve a pain point point I feel like on that Spectrum you really need to meet at the middle and think of how much of theory I need in order to build use cases of build projects that could solve any Enterprise problems right especially if you’re looking for a job because having passion projects is fun but then if it’s not solving anybody’s pain point I feel like if I look at a resume with 100 different AI projects and if someone can answer why they built it and can you know
28:24 customers really see some value in that I would be more impressed with that rather than and I just checked off a list of these projects I built a rack project I’ve built an agent project and stuff like that um so every time you building something really think of can you really use this in the real world and how do you kind of solve issues with that right as soon as you build a rag pipeline if you’re a software engineer or if you’re a machine learning engineer regardless of which background you come from because most likely people getting into AI have you know some form of uh major previously if you’re a computer science uh major and people are also switching mid career to AI so my advice to all of them would be piggyback on the knowledge that you already have from
29:05 whichever domain you’re coming from and think of how this problem can become complex right for instance the rag pipeline I was talking about there are cases in the Enterprise where uh you know document sizes are too huge or they have a particular structure so how can you really think of the chunking methodologies for that and sometimes the Enterprise you have to make sure of access controls because you’re build a rag system probably everybody shouldn’t have access to all the documents so how do you build that um how do you enable guard rails for this and let’s say there are thousand requests coming and how do you handle uh scaling this to these many customers so whichever background you’re from I feel like you can always piggy back and then and think of how this can translate to real use cases after you
29:48 built those small prototypes right and that would differentiate a good uh AI engineer applicant as compared to the one who’s either just very heav on Theory or the one who’s just going on building projects that would not create any yeah where where would you suggest them to start in the uh in the context of uh hey I’m a mid-career professional I want to get into the AI engineering space in the data science space for example it’s like hey go find a data set go practice your skill sets and uh and then you know see what you can package up at the end that’s useful uh what does that look like for for that person I think following awaria and Linkedin comes first for them but yeah yeah number one follow awaria what’s number two um um I feel like you really need to
30:41 understand application layer foundations before you start doing anything which essentially are these things you know prompt engineering really play with these llms and understand what they’re good at and what they added I feel like a lot of people jump into building projects without even having You Know spoken to M like if you use llms in your daily activities just use chbt you start realizing that there are a bunch of things that it is good at and it’s not good it so narrow down on prompt engineering then learn about rag agents and F leing these four things should be really clear before you start building projects post that I would always say build projects that solve your own pain points and scale them right if data science is all about taking a particular data set and building something predictive or building something around
31:25 it I I feel like AI is all about automating repetitive workflows if you can see something that you’re doing every day and you feel like it’s repetitive and you don’t really use a lot of creative processes or decision making maybe AI can resolve that right a very simple example is I used to keep posting monthly paper lists on my GitHub and for the first four months I would do it manually but now I have an agent that doesn’t I dump a bunch of papers that I read every day and I just give them a score on on a simple she I uh give them a score and I spend 5 to 10 minutes to do that because I’ve been reading this and at the end of the month I have a simple workflow that looks at all of these papers and it’s just it’s it
32:11 basically looks our archive gets the abstract for that generates a markdown file and publishes it on my GitHub so it’s just a click things like that right it’s pretty simple to implement it also so if there’s something that you’re doing often and requires some more of knowledge understanding think for of automating it and once you build that you’ll also start seeing issues with it and that’s when you go into that process of learning that’s so cool love it just just before recording this podcast uh we actually were talking a little bit about some of my background which is uh I’m involved in the real estate space I’m actually building an agent right now to automate and the analysis portion of the whole real estate investing because there’s some Nuance that would never it would never get right if uh if a human
32:56 is not involved but that it’s also very repetitive it’s like I don’t want to do this whole thing over and over again and so that’s like a perfect use case so love love what you’re what you said about automating something that you quote unquote hate doing and it’s not very creative basically that’s that’s so cool so in this uh process awaria let’s say if there there’s someone let’s say this person whoever is listening to this podcast is very interested in Ai and understanding gen they probably know a little bit they’ll know more after listening to this podcast and after that what do you think they should go and do like exact things that they could go and learn from the way I again this is taken with a pinch of s this is what I recommend um a bit of self- proportion
33:37 is that my 10we course on giup is a very good place to start because it gives you a mind map of everything that you need to learn and also in the right order like it starts off with prompt engineering and then Builds on top of that what are the issues with prom engineering how you how you can make it better and then goes to rag then goes to explaining why rag also might not work in some cases one case that I was talking about right the real estate kind of knowledge analysis maybe you need a find your model or maybe you know genetic nlms are not trained on that or cases where stylistic moderation or stylistic generation is more important then fine tuning becomes more necessary right I would really recommend folks to go check that mind map at least like if
34:20 you don’t do the if you don’t read all of the course is totally fine but then understand what you need to learn first I was recently mentoring someone right and she came up to me and said I did your five days agent road map like I put up a bunch of resources on how you can learn about agents and build agents and then I said okay so uh have did you know prompt engineering have you learned trag and she said no so that’s why it’s really important to not really go with all of these buzzwords that are being used and to first pick up Basics at the application layer I’m not asking people to learn how attention works like I’m not one of those um you know pure AI scientists who say that if you can’t code attention you shouldn’t be doing AI
35:02 I feel like AI is kind of um gotten so large and there’s space for everybody but then at least pick up Basics at the application layer and then what I do is once you pick that up the best place to get free education is deep learning not and I mean a lot of people don’t know about this but they have these one or two-hour courses about pretty much anything about prum engineering about rag about multimodal models about multimodal PR engineering about building agentic pipelines and all of this right with each of the theor theoretical concept that you see on my mind map go to deep learning. and do courses if you’re someone who likes taking videos and and the best part is you don’t even have to pay for the llms you can access openi um apis from their notebooks if
35:47 you had to build your own um uh you know projects with the openi API you need to have credits but here you can completely do it for free and then it’s a really amazing expert Who coming to teach these things that’s pretty much how I would approach it and once I’m done with deeplearning.ai which is the basis I can also pick pick up parts of the notebooks to build my own projects as well like because you already have that way you don’t have to start coding from scratch and that’s where I would go to build my own project scale them think of impact and how um I could maybe serve this to an audience can I host it somewhere and solve any problem and things like that that’s the route I would take how long do you think is the right time people to
36:26 allocate for this I know a bunch of uh things online that talks about become good at using llms or learn this in like a month or you know in 30day or 3 month uh let’s say the prerequisite is that they probably know coding and they are already a software engineer what about them and let’s also talk about people who are probably just starting out they are Bachelors um yeah there I’m there’s a lot of parameters in the sense of how much time are you spending and then how quick and Le oh that’s true let’s let’s talk about averages probably you’re an average person you’re an average software engineer and let’s think about if they spend their entire time on it and then go from there I would say to pick up only the theory part of things to get a
37:12 very broad overview of all of these topics it would maybe take you two or 3 weeks I’m not talking about the latest and greatest in research and stuff like that just to kind of understand what are the different ways you could use um AI it would take about to 3 weeks and maybe another month or two months to start building projects and scale them and stuff like that um yeah two or 3 months is probably the right time and I feel like folks who have a good software engineering background can do it even more quickly and can also probably come up with prototypes even more quickly because at the end of the day it’s an API and you need to build stuff around it if you’re starting off from scratch then yeah there’s also a lot of special in on how good at programming the you
37:55 and stuff like that but I would still say a good three or 4 months should be enough and just the fact that these days it’s easier to learn things once you have a good road map of it I know that there are tons of people who come up with their own road maps and all of those are not good to but once you’ve decided on a road map it’s easier to learn things these days because one there’s also AI your sisters you can really have ai as your sounding board and learn with it and there are tons of videos and all of that right um a good three or four months is where you’re in the position that if you read a new research paper not a research paper let’s say a re a research breakthrough or something like that someone came up
38:33 with a new model and they say it’s better and and after three or 4 months you at least understand why they’re saying it’s better right because you have the foundations to say what are the parameters that are important for a model um which essentially turn out to be maybe four parameters is like cost latency performance and evaluation like you get a good picture of how different models fall into this entire ecosystem what kind of applications you can build but it’ll take you maybe a good um year or so to really read every paper and in B and understand what they’re saying because there’s so much in I myself can’t keep up so I’m not even a in a good position to provide suggestions I guess makes sense right so basically if you are a software engineer and you want to become an AI engineer or basically
39:23 get acquainted with everything AI in current world you take courses like ashwaria Maven scores or deeplearning.ai and if you spend your entire time in it you probably take 3 to four months to get accustomed to building your own project around it and maybe few more months or up to an year to become really good at understanding what a research paper means and understanding what’s Cutting Edge so yeah if you uh if listeners you’re trying to get started you’ve got some road map right here because I really think iswara not just for AI it’s for like any area right now like like highest real estate or data science we have so much information in internet right now but the the problem or the problem that we need to solve for all this information is to have a structure in the right road map because everyone
40:11 has a road map there’s so much content and it’s so hard for someone who is starting out to know what to start like where to end so I think the problem in today’s age is definitely not the knowledge or training that you can go take but the problem is about the right road map and the right person that you can trust to get that road map and get that information and I’m so glad we discuss that here that could help people yeah I know thanks for the maven course promotion but I was referring to my GitHub course which is entirely free you can go check the there I feel like this situation is going to become only worse because AI is accessible to everybody and everybody is writing tons of content these days the noise is increasing along with signals so it’s really important
40:55 who you follow or what kind of content you consume um I have seen a bunch of different people who have very extreme opinions about AI either like know agents um are just billions of dollars wasted or agents are going to take away jobs and stuff like that I feel like as long as you don’t at least um start interacting with these systems you will have to depend on what these people are telling you just because you don’t have enough education in the space if someone’s been using chat GPD for the last two years I’m sure they have a much more nuanced opinion about these things they’re not the ones who are you know either fear-mongering or uh saying all of this um you know uh isn’t going to mean anything so the first step for anybody doesn’t have to be people in
41:44 Tech doesn’t have to be looking to become AI Engineers is to start using this technology it is going to become as prevalent as the internet with that comes the issues with this technology also today if you look up a bunch of stuff on the internet I feel like we’ve conditioned ourselves to say that some of this is misinformation I know that some of this is not true or some of this is probably sponsored and not in my best interest I feel like we need to develop that kind of a mentality towards AI as well like it is useful but then it hallucinates at times it does a bunch of wrong things at times and that only comes with usage and kind of um you know adopting this technology I think probably the first thing like you said you mentioned a couple of times and I I
42:25 should probably talk about it like when I sum R things right I think the first thing that people should do is just start using statup p for their regular workflows like uh forget about building an agent understanding rag or what these llms are just go to chat.com or you know even claw like U and perplexity and start using it and start challenging it then you would understand where it is really good at that you’d be super surprised with and then then you also definitely will understand where it’s not that great de and you do understand the power of you right the power of you the context of you the domain knowledge that you bring in is going to be really important whatever the systems that might come in there are going to be some facets of the skill set that a person
43:07 possesses that are still going to be relevant or in fact it gets even more important I guess because there are definitely some areas that can’t get picked up and you fill in those gaps and those gaps get need to get filled to actually have a great solution yeah yeah yeah do make sense yeah hey ashwaria one question for you is there a uh an application of gen AI that you’ve worked on that would surprise people uh I think the agent for research summary was something nobody expected people thought I was actually know writing these um research summaries not research summary with the research list on my summar that’s actually pretty cool that’s actually pretty cool so when did you do that was it recent it’s been about 34 months so everything basically it’s just a markdown table with the uh
43:57 title and the abstract and which uh class basically which class of topics it belongs to however I tried to automate some parts of my content generation I feel it’s still not there because it gives a very generic and somehow for the lack of a better word cringe looking content so I feel like uh I don’t know at some point maybe uh I I could find even something on my own post to kind of try and understand that something cool that really used recently was this um what I mean there are a bunch of these products that do it which is they automate literature survey generation for you so if you’re a researcher the biggest pain point for most researchers is to find literature survey right what are these other papers that are doing something similar have they achieved better benchmarks and all
44:45 of that I think there’s this website called gen EI like J N AI that kind of automates a bunch of these things for you like it it is a search system for archive papers if you throw your idea um and also what models you’re using what what Benchmark data sets you’re using it comes up with a bunch of papers that are in the same domain it does citation management and all of that so that’s probably something a lot of people have not used because they’re not researchers but it’s pretty useful and notebook and I use it for research paper understanding it’s much better than J gbt so if you just upload a research paper and kind of chat with it it answers questions like what are some surprising points about this paper what are some bold claims in this paper and
45:30 CH GP it doesn’t do that pretty well because this is a classic issue with rag that if the query has really statements that are not semantically matching for instance like how rag works is when you say what are the surprising points in this paper it tries to look for the words surprising points and all of that but you need this innate knowledge of understanding what does surprising mean in the context in order to answer that question and notebook do a fantastic job at that oh I love this example that you gave before I go into one example that I want to give I want to point out for people especially in the context of us talking about wanting to understand AI or wanting to get into this so whatever you’re talking about is actually great right take uh the most popular I think
46:12 there’s this uh very popular Transformers research paper like you know put in a research paper into notebook LM and try ask it really dumb questions and probably that’d be a great place for you to learn stuff as well so use AI to understand AI exactly exctly yeah yeah if you’re if you’re trying to understand complex research papers notebook LM is the place for me again I don’t endorse any particular llm because they all have their pros and cons I feel like Claude is amazing at code generation so if you’re using cursor or cordium like having Sonic 3.5 works best I use chat GPD for creative writing I feel like it wres in the most humane way possible the other nlms you can understand it’s AI generated um and then notebook does an amazing job at research paper understanding and summarization somehow tried to get off
47:04 the weight list for wi from Gemini I’ve been hearing really cool things about it but um yeah I really hope there’s this future where there’s model unification like all models are pretty much good at everything but uh I I think that will happen soon as well but at this point I’m kind of this person that picks up different uh apis for different stuff I think having that knowledge of this model is good for this this model is good for that is like in itself a very worthwhile exercise for our audience like go to notebook ml type the type this prompt about this research paper and effectively recreate your the route that you’ve taken asaria do the same with chat gbt and see how different the answers are and then that’ll give them hey these things are just different and one is good at this one is not great at
47:52 that and then you start building pattern matching recognitions on how should I be using what for what Mak sense and the right asking them the right question is so darn important so that’s where the promt engineering comes and I guess so uh I was listening to this uh very cool podcast on dopamine and you know how it’s affecting people’s brains today and this was like two and a half hour long podcast and we had this rule among our friends that if we share big podcast you need to share a summary of it because I’m like why you sharing all these things so and I’m like okay let me use chadd for that and the summary it gave me so I got the transcript for from somewhere like another tool and use that to get a summary it didn’t do a good job
48:31 at all because I was I was amazed with how amazing the podcast was and hence wanted to send it but it just gave me the most generic summary there is from the from the transcript then I talked about hey mention this code mentioned this particular pain pleasure balance that they spoke about that was never discussed in any other podcast before it was probably giving me the most summarized information that everyone already knew but the podcast had a different in it that it didn’t cover in its summary and I had to give it pointers because I listen to the podcast and then I asked for the summary it did such an amazing job at giving me the summary than me writing it myself right and then I pasted it and then like it had so much more engagement versus the previous summary this is like a regular
49:17 simple use case that you chat with your friends guys you share content like how could you use and understand the importance of how do you talk with these llms yeah yeah yeah quick endorsement for something that I’ve used recently is that is um an AI agent product I don’t know it’s a very simple workflow it’s called Port smart it does exactly this right you just oh my God I should have known about this you just click on uh podcast and say can you summarize that for me it summarizes it and it can it to your email so that you can check it out you can kind of Mark a bunch of things and it just keep sending it to your the summary and I think that does a much better job than all of these very LM right maybe because they prompted it so
49:59 well or they have maybe put a layer on top to uh be very good for podcast so that’s a nice app if you’re into podcast for summer edition we abely need it for this podcast we we need it for this podcast yeah yeah but I don’t want people to use that for our podcast hi I want people to come listen to our podcast but that’s okay it’s okay in the way of like uh like understanding what to use uh in today’s world yeah yeah asharia I think um in a previous talk you had I think I remember you said something about impr prompt engineering is not as important going forward because we’re going to have a bunch of in Innovations to mask that away can you maybe tell the audience a little bit about how much do they need to learn how
50:44 to speak to AI nowadays versus in the future yeah so one I was saying this from a very Enterprise kind of a view not for a common user because at this point for Enterprise use cases there are a bunch of different tools that automate or make PR engineering much easier for for example dpy and all of that but that does not mean that everyday users need not have to learn it uh again like the base of all this is prompt engineering is still a bug I don’t think it has to be that hard to talk to llms but at the same time think of it this way right we as humans when you talk to your friend versus your colleague versus your child you talk and very different ways and you’re essentially doing prompt engineering there because you understand how these people react to things so
51:32 getting that far with AI is also pretty important I was kind of against these people who sell like thousand proms for CH gbt to get this thing done and stuff like that right you you you don’t have to use those things it’s as simple as talking to a human and the more you interact you understand how to frame questions that level of prompt engineering everybody should learn but again I don’t want to put that term on top of it that learn prompt engineering which makes people think that it’s oh it’s a completely different skill that I should be picking up it’s as simple as interacting with someone and just tailoring the conversation uh to make sure you get the most optimal responses and um I was saying prom engineering is dead because it’s getting much easier and much seamless over time for instance
52:18 when gpt3 was out if you asked it a math question it will always come up with a wrong answer but now if you ask any math question I think 40 starts writing code or something some it pulls in some tool to do that right you don’t have to specify that so that way the barrier to using these systems has become much easier over time that doesn’t mean that you know you shouldn’t learn how to interact with these systems I just don’t want to put a tag of prompt engineering is something that you should know to talk with these systems and that’s where I was coming so basically um I so in the context of the question that I know I prompted right so prompt engineering in the past especially in the three uh chip3 world where it was like you need
53:01 to not only know what you need and how do you communicate what you need so the communication aspect of it plus what do you tell llm to get how do you how do you get that answer like you have to also tell the exact details exact steps on do this and do this and do this and do that currently it’s smart enough and intelligent enough to do that itself but the communication aspect of it you just need it for your regular life like you said exactly need you need it to talk to people to make sure like you convey what you actually want from the conversation or what type of problem you want to solve so that probably still stay the same so basically that human intelligence of the right way of communication still holds through even for AI engineering but the engineering
53:44 aspect of it of how many times the exact specifics that you have to give probably that’s gone away right yeah yeah that can be pretty much automated and um I was also coming from a view where um so as an Enterprise when you’re trying to build a solution you want to experiment with different llms basically the ones that meet your constraints and as of today it’s not very easy to just seamlessly swap these llms because each of them are kind of designed a little differently and there are online resources to automatically do that you don’t have to be manually sitting and making changes maybe all of my suggestions were for people who are very already very used to prompt engineering and who know to do basic things but for people who have never used AI um you still need to learn how to interact with
54:33 these systems and you will learn that by just using there’s no need to read a bunch of things or you know take a course or anything like that just start interacting with these systems and over time you will start understanding these patterns that work with the what I’m hearing here is asari everyone should know well the language that people should learn English and how to speak to AI right yeah yes that’s awesome I love how actionable things are here cuz honestly as you said with the amount of noise out there especially the amount of content on YouTube on different podcasts on different uh mediums it’s so easy to get lost of hey this is what I should learn next or this is what’s going to be useful for me and then like once you get into a rabbit hole of certain direction
55:18 you just can’t pull out cuz they’s way too dense one question for you so we talked quite a bit about the applications of gen how people can get into it certain aspects that don’t work well and how people can experiment with it themselves what is one thing in your very deep career at the Forefront of the Gen research what’s one thing that you’ve never shared publicly that might be helpful for the audience to to know or maybe one thing where maybe people expect AI to be really good at today but it’s actually not kind of like a hype that you want to squash given you’re a realist um I think a bunch of people have very um U I feel like they think AI is this black box that can automate different workf flows but regardless of what kind of AI we are talking about
56:08 right like previous traditional machine learning models or like deep neural networks or generative AI or agentic AI every one of these Innovations people started thinking that these are going to be really big breakthroughs but I feel like the data is still very important I feel like um even today I spend more time looking at the dataa that goes into these models rather than the models themselves and thinking about which uh llm will be able to do better because real world data is really really messy and then once you get into it you start understanding that sometimes there are annotation issues there are issues that seep in from the pre-training to the evaluation or to the generation part of these nlms right so regardless of what AI can achieve and how smart it gets I feel like if something cracks if there
56:56 are issues with your application always go back to data and you really find some insights um yeah as data scientist yourselves like feel like you will you guys will really resonate and um that’s that’s what I’ve observed over time the garbage garbage out Mantra yes yeah yeah yeah and no fancy AI can do much about it right because most of these systems are pretty much consuming all the data and spitting out averages of what they’ve learned so if you’re yeah garbage and garbage thank you for pluging in data there so ashwaria maybe um we are getting uh close to the end of the podcast but I’d love to understand what is the workflow you talked about data you talked about understanding what type of model you choose and why you choose that there’s rag if you want to use Rag
57:40 and you know if the if the problem space needs and then there is evaluation at the end so would love to understand different aspects of this uh and maybe some tools that are currently popular in these areas that people who are new to this would not would get some idea when they read some stuff from people yeah the way I would approach any problem let’s say a simple thing like a company says that we have TS of documents and we want to develop a chat with our documents kind of system right the first questions I would ask is what’s your budget like what’s the cost you’re looking at um what are your latency constraints what are your performance constraints and that’s how you also narrow down on what kind of llms you want to use sometimes there are applications where there there’s a Shu
58:25 in the loop components so the performance is not really a huge Factor they’re okay with having some errors because they are humans who can kind of verify them sometimes it’s a realtime application so these are parameters that we use to narrow down on what is the llm that’s the model side of things right and then we also look at their data try and understand if there is um something that really stands out pick up an evaluation set for this chat with your document we kind of pick up blogs from previous conversations if they had a chat system if not there is need of Sy ically generating that and you need to talk to subject matter experts re understand what kind of queries do you expect and how can we design maybe a synthetic data set to evaluate our system on it stuff like that right and
59:07 sometimes data is also pretty noisy so we do some kind of data analysis to understand that um if I ask a particular question they’re probably conflicting answers in different parts of your database right there are two answers for this so how do you do conflict resolution of those kind of things and things like that very specific things to the data that’s the data layer the model layer synthetic data generation and all of that and that’s when we would think of which usage Paradigm to use that’s the application layer which is if if it has to do anything with using external data source um and that external data source doesn’t really fit into context then it is a rack Solution that’s where we start off um and then build on top of it like sometimes rag is also not enough for some Enterprises because think of an
59:51 Enterprise that has knowledge stored as a SQL database knowledge stored as PDF documents uh knowledge stor is videos and you need to build a chat system over all of these three modalities then probably you need an agentic pipeline here right because um the agent will make a decision as to what to do whether to look up this unstructured data source or whether to generate a SQL Varian like that um and then once you do all of this we start evaluating it on the responses we have and maybe do some testing uh um with real audience right create a prototype and allow people to uh test that’s when you start seeing newer patterns and sometimes it’s possible that there are design mistakes that you have made in terms of just choosing the wrong distribution of data or maybe you there are issues that you have not
1:00:36 encountered and stuff like that and sometimes we also realize that there is a necessity to fine tune these models because they’re only getting to a certain accuracy with the rack and agentic workflow that maybe the domain is so Niche that the LM is not good enough at doing that that’s pretty much how we do it and then build in an observability pipeline as well like logging everything that’s happening how many LM calls is this particular thing taking up and also some form of continuous monitoring there are companies that use llm judges in order to evaluate llm responses because they want some automatic some confidence score as to how good these responses are so we put in that for some companies that is pretty much how it’s a it’s a very ml workflow if you really think exactly that’s what I’m trying to
1:01:24 think there is nothing new in this just the kind of challenges you face are a little different because if you think of an ml workflow it’s pretty much predictive so you can always come and say that oh this is the F score this is the accuracy I have yes but for Genera AI pipelines think of a chat system how do you really understand if the response generated was actually semantically right because there are 100 different ways of phrasing the right answer so you really need to think of metrics simpler previous keyword metrics or like unigram Byram metrics blue rou these are NLP metrics they don’t work anymore that’s where you know maybe you need to bring in some fuzzy matches you need to bring in some semantic representations or you need to bring in an llm to judge if this
1:02:06 is the right response there’s also metrics we use to identify the quality of data like for instance in a rag pipeline there is a test you do it’s called noise robustness which is if I give you a lot of noisy context how well is the llm able to disate that and still find the right answer and all of these metrics are very yeah these are very context dependent it’s possible that an Enterprise has really clean data and if this metric was you know 90% and above at my first score this is not even something I want to monitor but then you need to be um coming up with innovative ways of making sure that you have enough feedback from your product that’s online so that you can do something actionable this continuous monitoring kind of a loop so I was going to ask that so from
1:02:51 what I heard from you and also my own experience and what I hear in the research as well is evaluation the hardest part in the entire thing and uh like is human human feedback like how much of the synthetic data and how like that like llm judges which is not human right the judges things like what is the percentage of it we are still dependent on a human saying it’s a right answer versus not to keep iterating on it right so just curious about that that aspect yeah evaluation is harder because of multiple different reasons one like I said it’s not the traditional uh ml evaluation and the other is also that a bunch of Industries who never used AI before are trying to use use AI for instance these real estate contracts that I was referring to or like people
1:03:38 in supply chain companies in manufacturing these people don’t even have an evaluation data set they don’t even know what it means to evaluate like if you talk to tech companies they really understand how this ml workflow works but now ai is become so pervasive that you are teaching a bunch of different news cases so how do you convince this these people that yeah will solve um you know issues for you when they don’t even have metrics so they don’t even have data to kind of uh give it to you right that’s why I think evaluation is harder both technically and operationally um and in terms of LM go ahead no I was sorry I was going to say basically domain expertise also matters a lot here right so someone who understands llms and also understand the domain would be the right person to help
1:04:25 help us figure out what would be the right you know answer here and things like that is that true or I would still think um a domain expert doesn’t have to really know these things very well an AI engineer should be able to ask the domain expert the right questions so that they can kind of translate it into AI problems right because if you need a domain expert in a supply chain kind of system to learn EI that’s that’s that’s not something that’s feasible even when you build LM judges the ideal goal for you is to build a judge that can mimic the domain expert and in order to be able to do that you need to get all the gaps filled the AI engineer should make sure that they’ve asked enough questions and they’ve laid it out well for the
1:05:10 subject matter expert to give feedback so that you can calibrate your LM charge so I feel like all of that responsibility is on this developer who’s building the product yeah I mean there’s also the component of subjectivity here right for example hey if I build a chat bot and and the output and I need to judge it I mean it could be good it could be better it could be best there’s no threshold of uh if this is good enough yeah yeah I I think that’s again that is a skill that you need to pick up while doing evaluation turns out that nlm judges again this is just a quick fact orthogonal is that LM judges do pretty bad when you ask them to score on a like scale right if you say give me a score between 1 to 10 and
1:05:51 you run this 100 times the variance is pretty high which means LM judges have no idea of what these numbers mean a good AI engineer who knows evaluation will always try to design metrics which are like yes no kind of metrics and binary metrics and LMS have a bunch of other different biases they also have this verbosity bias which means they score responses with you know longer responses higher as as compared to uh shorter responses so as an AI engineer you should be aware of all of these things they do and design metrics that avoid these pitfalls like data labeling exercise kind of like back in the days where uh hey I have this output is this better than this output and you just do like yes or no no ambiguity right and sometimes it also happens that these llm
1:06:36 judges align with human judges but then their reasoning is completely different as to why they align with human judges then it becomes really important to also ask your human judge was this reasoning trace the LM is printed also similar to what you’re thinking because it’s just possible that by chance they arrived at a solution yeah typical machine learning problem I guess but then kind of translated into the ji space so I think this is the end question so we keep hearing right that AI is going to take away jobs so I have this future prediction let’s see if this is going to work or not but I hear AI Engineers today do everything around communicating with people making sure they have the right metrics making sure they’re using the right models and they’re like so many skills that I’ve heard and today
1:07:22 all of them come under the umbrella of any engineer probably in future in like 5 years from now or so we’ll probably have a different name or a role for all these aspects of a engineer that we have today right instead of all of them being AI Engineers we’ll probably have I don’t know llm judge engineer I don’t know I’m just making up a name here but things like that right people who are the uh who who talk who devise metrics we currently uh data scientists we have a product analytics area and data scientists and all uh the biggest aspect of them is product and experimentation and I can definitely imagine the metrics and you know the impact of the domain for that particular use case I could definitely see like a like a role shaping up there if the other roles kind
1:08:05 of die down or there’s less work in other roles yeah I I mean I have a different prediction you take like a horizontal approach to this I think it’ll be more vertical which means there will be AI Engineers but then people are very good at um solving problems in a particular domain because I feel like every domain has very unique issues and then when you start solving problems in that specific domain for instance like I mentioned these uh intelligent document processing right that itself is a huge domain which comes with its own set of issues I feel like we’ll have image uh AI engineer experts or things like I think it’s more of there’ll be a vertical uh thing because you really need to understand the space very well in order to be able to design metrics for that space or to be able to design
1:08:53 Solutions in that space and it’s also hard hard to build breadth in this case right because it also has a lot to do with the nuances in that domain I don’t know this is what I think but probably what you’re thinking is more apt than what I’m thinking from outside but maybe there’ll be like a horizontal and vertical a comination yeah yeah that’s so cool I think we are coming up on time here so maybe one last question for you AIA how can people find more find out more about you how can they connect with you uh i a on LinkedIn that’s where You’ find a lot of content so uh LinkedIn and I also have a bunch of I have my newsletter um I also have a bunch of YouTube videos and all of that but LinkedIn is kind of your channel you can
1:09:39 find all of that there cool awes awesome yeah connect with ashwaria and for all the listeners and Watchers thank you for listening and uh we’ll see you next time don’t forget to like And subscribe and comment and do all of those things that help with the YouTube algorithm so that we uh can bring you more content like this thank you so much AA this was amazing I myself learned a ton and I’m sure all these listeners would have learned a ton as well thank you thank you for having me