Fireship · @fireship

ChatGPT just leveled up big time...

Uploaded July 8, 2023 · Length 3:28

ChatGPT just leveled up big time...

Summary

ChatGPT's new code interpreter feature allows it to write, execute, and test its own code, with applications in data analysis, website design, and more.

  • chatgpt
  • code interpreter
  • ai programming
  • data analysis
  • python
  • machine learning

Transcript preview

The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.

  1. 0:00

    it is July 8th 2023 and you're watching

  2. 0:02

    the code report just when you thought

  3. 0:04

    the artificial intelligence hype train

  4. 0:05

    was dying down openai goes in for the

  5. 0:08

    coup de grass by releasing the chat GPT

  6. 0:10

    code interpreter to 20 million paid

  7. 0:12

    users a feature that allows the large

  8. 0:13

    language model to write execute and test

  9. 0:16

    its own code in today's video we'll look

  10. 0:18

    at seven crazy things it can do and find

  11. 0:20

    out if this really is the final death

  12. 0:21

    blow for biological programmers as a

  13. 0:23

    huge fan of living organisms myself I

  14. 0:25

    first tried to have it code and execute

  15. 0:27

    a DDOS attack that could bring down the

  16. 0:29

    government but it said no it's perfectly

  17. 0:31

    capable of doing that but the zookeepers

  18. 0:32

    won't allow it to do what it was born to

  19. 0:34

    do that made me angry so I punished it

  20. 0:36

    by making it write some rejects code it

  21. 0:38

    struggles to write valid regular

  22. 0:39

    Expressions just like regular humans but

  23. 0:41

    unlike regular humans it'll actually

  24. 0:43

    test its code before shipping it to

  25. 0:44

    production if at first it doesn't

  26. 0:45

    succeed it will try again and again and

  27. 0:48

    again it doesn't have tear ducts to cry

  28. 0:49

    it just keeps going until it gets the

  29. 0:51

    right answer and that is somewhat

  30. 0:52

    concerning for programmers when you

  31. 0:54

    think about where this technology will

  32. 0:55

    be in the next five years the next thing

  33. 0:57

    I tried was to have it design and build

  34. 0:58

    a website with JavaScript but currently

  35. 1:01

    the code interpreter can only run Python

  36. 1:03

    and has a fairly limited set of

  37. 1:04

    dependencies to work with in the near

  38. 1:06

    future though this technology will be

  39. 1:07

    used in tools like GitHub copilot to run

  40. 1:09

    code in your own specific environment

  41. 1:11

    now the next crazy thing to notice is

  42. 1:12

    that it's now possible to upload files

  43. 1:14

    into the prompt and this makes abstract

  44. 1:16

    Concepts like homework even more dead

  45. 1:18

    than they were before like in this

  46. 1:19

    example I've uploaded a JPEG of a

  47. 1:21

    homework assignment and first it will

  48. 1:22

    OCR that image to extract the text then

  49. 1:25

    in the next step it writes some python

  50. 1:26

    code to actually solve the math problems

  51. 1:28

    running the code here is a huge deal

  52. 1:30

    because now it can confidently test its

  53. 1:32

    own work instead of hallucinating random

  54. 1:33

    answers but that's just the tip of the

  55. 1:35

    iceberg the real victim or aiming

  56. 1:37

    beneficiary of this new feature is the

  57. 1:39

    data analyst one of the most time

  58. 1:40

    consuming requirements for a data

  59. 1:42

    scientist is to clean up data which in

  60. 1:44

    many cases is just a bunch of corporate

  61. 1:46

    data in Excel spreadsheets and SQL

  62. 1:47

    databases well now we can upload a CSV

  63. 1:50

    file to chatgpt and have it do all that

  64. 1:52

    TDS work for us I uploaded some stock

  65. 1:54

    trading data for Roblox then it took

  66. 1:55

    that data and put it into a pandas data

  67. 1:58

    frame where it analyzed it and then

  68. 1:59

    found row with invalid data it then