Code Interpreter! What do we do now? | AI predictions

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
what's up everybody it's Travis here from Travis dot media today we're talking about code interpreter the new chat GPT plugin that everybody's talking about now this came out like a week ago I'm late to the game here I'm like number five million on the video list and blog post list but I've taken some time to give it some thought on what I think is going on and where I think the industry's heading I want to talk about that but I'm going to push it back to the latter half of the video because I want to go over code interpreter briefly and talk about a few things related to that so let's get started so you can read all about code interpreter on openai.com blog slash chatgpt Dash plugins you'll see a section on it here it's still in Alpha so code interpreter is a chat GPT plugin that allows you to upload your own files or your own data so that's the difference you can upload and download here and it has a built-in python interpreter that'll run functions on that data and analyze it and will produce files for you to download Based on the calculations so that definition alone tells you this is big in data analytics doesn't do a lot for me specifically with programming but as far as data analytics in businesses with data that want to analyze it it's a really neat thing it's really powerful so the model has a working python interpreter in what they call a sandboxed firewalled execution environment with ephemeral disk space so you upload something it does calculations it's all in this sandboxed firewalled container and it has a femoral disk space and it all stays persistent for the duration of the chat now to enable code interpreter you just go to settings and beta features and cut on plugins and code interpreter now side note here let me talk about pricing for a minute you do need chat gbt plus so Chad gbd plus as you see here gives you General access to chat GPT even during peak times faster response times and Priority Access to new features and improvements which includes code interpreter so I finally started forking out the 20 bucks a month this past month and I'm going to continue to do so because I find it well worth it I use chat GPT a lot it helps me with my productivity in my daily workflow in new features like this in the plugin and all of that I think it's worth it I'm gonna spend the 20 bucks somewhere else I might as well put it to use in something that helps me out so you need chat GPT plus to use code interpreter and you just enable it with those two features turn on plugins turn on code interpreter then when you come to this screen you can choose GPT 3.5 or gpt4 to use code interpreter you choose gpt4 and code interpreter here and you'll see when you do that you get this plus symbol which allows you to upload files now what I'm going to do is I went to kaggle let me see kaggle.com so kaggle has a whole bunch of data sets you can play with really solid data sets so I found the stack Overflow 2022 developer survey and I downloaded it and I'm going to show you how it works with that now there's a lot you can do with this code interpreter and I'm sure you've seen many examples out there everybody's tweeting about it examples are everywhere I'm going to show you a simple one so I'm going to upload this and this file is like 100 megabytes it was 74 000 rows so I cut it down to just 25 rows to show you an example and to make this faster so when you see the percentages and stuff it's not going to be right compared to the actual survey but this is just an example so I'm going to come here choose code interpreter and then I'm going to upload this file so survey results public small I'm going to upload that and I can say let's say analyze this data for me and give me the first 10 column names let's see what it says so again there's a python interpreter and it's going to actually run python code and give me some results so what it did was it gave me the first 10 column names and it's going to give me a glimpse of the first few rows which I don't really need but hey I'll take it and if you actually look at this data like the learn code online column it's just a poll of like where people learned to code online so let's ask it to give us a percentage of all the places people learn to code online based on this data so again this is a sandboxed environment this data is persistent until I end this chat so let's paste this give me a percentage breakdown of the learn code online column so it's going to tell me the percentage of each place that people chose to learn to code based on the choices they were given so let's run that so here's the percentage breakdowns of technical documentation is 15 stack Overflow 13 blogs 13 written tutorials 10 neat so I don't have to go in and write python code to pull this data I could just tell it to give me the data and it'll write the python code and execute it for me and finally I can tell it to create a pie chart based on this data and that's I think the power of it so if you look at this tweet this guy listed out the complete list of python packages that come with the code interpreter like already usable I know you can't see this but there's lots of packages here that you can utilize and so if you want to do charts if you want to build graphs if you want to do visualizations if you want to predict things you can do it I've faded the data I can now tell it to do things for me based on these 300 packages and I think you can even tell it to install packages it can't reach out and grab it but you can like upload the package I saw something on it earlier but I didn't look into it too much but there's just like endless things you can do here so I can say show me this data in a pie graph and it'll create the pie graph and you can click show work to see what it's doing it's writing this it's using matplotlib to generate this graph if I go back up here and show what it did it did some other code and then I can come up here and see what it did here and it used pandas to give me the first 10 columns and to create a table so that's what it's doing it's running python but yeah here's the percentage breakdown and then I can say export this graph in a or in an Excel spreadsheet and that's the other half of it it will allow you to download the results so I've saved the percentage breakdown and the pie chart a separate file so it went out of the way it gave me the percentages and the pie chart is two separate files since I can't directly embed files into Excel spreadsheets I'll give you instructions on how to do it manually so it created two csvs and I can just insert it in Excel so that's great what if I say give me some really neat visualization of this or of these percentages let's see what it does let's see what it's working on choosing Seaborn so it gave me a horizontal bar plot of this data and I'm keeping this really simple again if you go check out the examples that people are doing it's really amazing it really does a good job with this but we all see the big elephant in the room here and we're all talking about it what does this mean for us or what does this mean for data analysts but in the bigger scheme as Chad gbt gets more powerful or gpt4 gets more powerful and people make more things and it does more intricate things what does this mean for us developers software Engineers data analysts that's what I want to dedicate the rest of the video to check out this quote by openai we would like our models to be able to use their programming skills to provide a much more natural interface to most fundamental capabilities of our computers open AI says having access to a very eager Junior programmer working at the speed of your fingertips can make completely new web flows effortless and efficient as well as open the benefits of programming to new audiences so you heard it having access to a very eager Junior program grammar that's kind of what they're getting at here if you're doing a lot of programming and you get this tool that sits beside you for you to speed things up for you to 5x 10x your work it's like having another Junior programmer and if GPT is the junior programmer then we don't need the other Junior programmer that costs us money that's the big question that's the predicament people are having so what do we do here are my thoughts what we think is having this tool is gonna like 5x a developer let's say it 5x is a developer He's Able or she's able to do the amount of work five times as fast meaning they can get rid of five people I'm one developer these other five we don't need them because I'm doing a 5x now that I have this tool that's the surface level thinking that's what we're all worried about but I don't think that's going to be the case and here's why so from 2001 we've had all this technological advancement we're slowly going up we're slowly advancing and making new technology and every once in a while we hit these big bumps in technology I think 2023 with this AI craze going on right now we're going up and up and up and right now now we've jumped up a level really quick and I think in the future years we're going to look back on this year and say man things really changed in 2023. I'm not trying to get all Alex Jones on you here but I think this is a big year and I think we're going to look back before this year and say man we were doing it in a really inefficient way here's an example think about Google search we can look at it now and feel like man that's really primitive compared to what we have with Chad gbt and in a couple of years we're going to be like how did we even do that how did we even use Google like that we get a bunch of search results and we have to sort through it and find out what's good and what's bad but with chat gbt it just gives me all the data I need specifically from all of those resources and I don't have to sift through any of it and I was thinking the other day and I know this wouldn't work because of tokens and the time it takes to generate a post but I feel like you could even on a Blog just list titles like I have a new blog title that's it I don't have to come up with the content then when someone visits it they're like oh that's a neat blog and they click on it when they click on it it generates the blog right like you don't even have to write it you just have to list blog titles on your blog and if people want to read them they click on it and it'll generate the thing for them and they can read that now of course I know that's jumping way ahead there's a lot of loopholes with that but I'm just giving you ideas I feel like in a couple of years we're going to look back like we look back on flip phones or hard drives DVDs things like this and think wow we've come a long way from that that's the Year we're in like why even write the blog post but 2023 brought a huge AI craze there's Chad gbt gbt4 and everything surrounding that data bricks just spent like 1.2 billion on their acquisition Microsoft has spent a ton of money and actually just laid off 300 people which is probably due to spending all of that money or getting rid of people so they can spend more money on AI there's Google there's Salesforce there's Oracle everybody's getting into AI spending a lot of money on AI Microsoft has barred Google has Gemini and it's here to stay AI is here to stay this year when and we're going to look back and see it now what does this have to do with us and our jobs well here's the thing if a data analyst can 5x with this tool that means they can work five times as fast meaning new Innovations are going to happen with all of this AI help they're going to do things faster in the goals these Visionaries have are going to be reached quicker and what I think is going to happen is that new opportunities are going to surface like jobs and new titles and things that we just haven't thought of yet think about a prompt engineer a couple years ago I didn't know what a prompt engineer was maybe that's an old thing and I just don't know it but in the context of AI it's the new craze but I think when you give people this new superpower they're going to create new sectors in the industry that we haven't thought of yet in new findings and opportunities will come out of this and those opportunities will require programmers data analysts and all of the people that currently exist it's just going to level this all up and the demand will be there for all of those new opportunities and will keep the need for us programmers and software engineers and data analysts but there's one catch to it first you have to be able to code you have to understand how how this stuff works many of you are already on that path my recommendation is to stay on it this industry isn't going anywhere it's shifting it's like expanding into this new Arena but it's not going anywhere there's still code to be written not everybody's doing AI even the AI applications are not all AI they're code there's websites there's apps that are still running there's apps that'll be built that will still need programmers so if you're learning to code or you're just new into coding you landed your first job stay with it the industry is still booming it's going to continue to boom you're in the right place but the second part of this and the most important part is you gotta understand how AI works if you're just learning to code or if you're already coding and you don't understand AI you're behind and you don't have to get that deep into it just understand how AI Works understand how language models work on the surface you don't need to know the statistics and the math and all the stuff that goes into it just keep up on a surface level how it works in the latest trends and things going on in Ai No programming keep up with AI and you'll do well You can disagree whether it's a dangerous thing or if it's gotten out of control but it's not optional you can't just opt out of AI completely then you'll get left behind then your job will be gone and you'll be back at your construction job by the weekend if you go to platform.openai.com which is where Chad GPT is and you log in go up to your name up here go to manage account and API Keys create an API key then go to documentation and go down here to libraries under getting started and build something so you got a python Library you got a node.js library or you can choose from any of these languages and Frameworks down here csharp.net in all of these languages build something it's very simple if you just use Python install openai and just do this much you'll have a good understanding of how it works now I know you're thinking like don't I have to pay for that and the answer is yes but very little here's the deal with that so you get a number of credits that expire once you you run out those credits you can't use the API anymore but the API is as simple as just putting five bucks on it so if you go to billing and usage limits I put five bucks on mine so I have a hard limit and a soft limit when I reach three dollars so you put money on it and at the end of the month it charges you based on how much you've used it and the prices are ridiculous like look at this GPT 3.5 turbo 1 000 tokens is 0.0015 dollar so unless you have an app running and you have hundreds of people using it you're not going to spend much money at all so again I put five dollars on it and I set a soft limit hey three dollars email me in and alert me and then when you get to five dollars cut me off API won't work anymore so you can put five dollars on it and then have it so when you reach that five dollars it stops working and you can see here I've only reached four sand so it's really cheap but that's what you got to do you just need to spend an hour one day or one weekend working through some of this documentation just go to documentation go to libraries if you like node.js check that out open up the GitHub page figure out how it works make some requests create a prompt from your app maybe build a UI whatever you want to do after that maybe go to tutorials and build a website q a with embeddings with python just follow this tutorial and just get a surface level of how AI works so that when you see the next Innovation because you know Microsoft these big companies they got really smart people that are coming up with things we haven't even thought about or at least I haven't thought about and when it comes out you're going to be blown away but if you keep up with this stuff you're going to be in the game and with your programming skills you're going to still be in the game and when new opportunities come up you're going to still be in the game now some other examples you can go to zero to Mastery and take this course chat gbt and large language models a practical guide it's really good and zero to Mastery in general is just the best their courses are awesome they have tons of courses they're always updated and this is no exception there's also udemy there's also packed publishing I'll put some links below of what I think are good courses to take and like I said you don't have to go learning statistics and calculus and all this stuff just get a surface level programmers understanding of AI where it is currently but in summary if this data can be evaluated quicker and open up the road for new Innovations those Innovations will fill the gaps for any jobs that we think AI is going to take now what are those Innovations what do they consist of I don't know but I bet you by the end of this year there will be a lot to look back on what do you think what do you think AI is going are you up to speed on AI do you think it's going to take our jobs are you afraid let me know down in the comments I'd love to have a good discussion there if you found this video helpful give it a thumbs up and consider subscribing to the channel if you haven't and I'll see you in the next video [Music] [Applause] [Music] thank you
Info
Channel: Travis Media
Views: 10,401
Rating: undefined out of 5
Keywords: chatgpt code interpreter, chatgpt code interpreter plugin, code interpreter, chat gpt, how to use code interpreter in chatgpt, how to use code interpreter, code interpreter chatgpt, chatgpt data analysis, chatgpt code interpreter examples, chatgpt code interpreter data analysis, ai predictions, will ai take coding jobs, future of ai for programmers, code interpreter openai, code interpreter jobs
Id: oia_Fj7Dn3Y
Channel Id: undefined
Length: 16min 18sec (978 seconds)
Published: Sun Jul 16 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.