DeepLearning.AI
AI is the new electricity and will transform and improve nearly all areas of human lives.

💻   Accessing Utils File and Helper Functions

In each notebook on the top menu:

1:   Click on "File"

2:   Then, click on "Open"

You will be able to see all the notebook files for the lesson, including any helper functions used in the notebook on the left sidebar. See the following image for the steps above.


💻   Downloading Notebooks

In each notebook on the top menu:

1:   Click on "File"

2:   Then, click on "Download as"

3:   Then, click on "Notebook (.ipynb)"


💻   Uploading Your Files

After following the steps shown in the previous section ("File" => "Open"), then click on "Upload" button to upload your files.


📗   See Your Progress

Once you enroll in this course—or any other short course on the DeepLearning.AI platform—and open it, you can click on 'My Learning' at the top right corner of the desktop view. There, you will be able to see all the short courses you have enrolled in and your progress in each one.

Additionally, your progress in each short course is displayed at the bottom-left corner of the learning page for each course (desktop view).


📱   Features to Use

🎞   Adjust Video Speed: Click on the gear icon (⚙) on the video and then from the Speed option, choose your desired video speed.

🗣   Captions (English and Spanish): Click on the gear icon (⚙) on the video and then from the Captions option, choose to see the captions either in English or Spanish.

🔅   Video Quality: If you do not have access to high-speed internet, click on the gear icon (⚙) on the video and then from Quality, choose the quality that works the best for your Internet speed.

🖥   Picture in Picture (PiP): This feature allows you to continue watching the video when you switch to another browser tab or window. Click on the small rectangle shape on the video to go to PiP mode.

√   Hide and Unhide Lesson Navigation Menu: If you do not have a large screen, you may click on the small hamburger icon beside the title of the course to hide the left-side navigation menu. You can then unhide it by clicking on the same icon again.


🧑   Efficient Learning Tips

The following tips can help you have an efficient learning experience with this short course and other courses.

🧑   Create a Dedicated Study Space: Establish a quiet, organized workspace free from distractions. A dedicated learning environment can significantly improve concentration and overall learning efficiency.

📅   Develop a Consistent Learning Schedule: Consistency is key to learning. Set out specific times in your day for study and make it a routine. Consistent study times help build a habit and improve information retention.

Tip: Set a recurring event and reminder in your calendar, with clear action items, to get regular notifications about your study plans and goals.

☕   Take Regular Breaks: Include short breaks in your study sessions. The Pomodoro Technique, which involves studying for 25 minutes followed by a 5-minute break, can be particularly effective.

💬   Engage with the Community: Participate in forums, discussions, and group activities. Engaging with peers can provide additional insights, create a sense of community, and make learning more enjoyable.

✍   Practice Active Learning: Don't just read or run notebooks or watch the material. Engage actively by taking notes, summarizing what you learn, teaching the concept to someone else, or applying the knowledge in your practical projects.


📚   Enroll in Other Short Courses

Keep learning by enrolling in other short courses. We add new short courses regularly. Visit DeepLearning.AI Short Courses page to see our latest courses and begin learning new topics. 👇

👉👉 🔗 DeepLearning.AI – All Short Courses [+]


🙂   Let Us Know What You Think

Your feedback helps us know what you liked and didn't like about the course. We read all your feedback and use them to improve this course and future courses. Please submit your feedback by clicking on "Course Feedback" option at the bottom of the lessons list menu (desktop view).

Also, you are more than welcome to join our community 👉👉 🔗 DeepLearning.AI Forum


Sign in

Create Your Account

Or, sign up with your email
Email Address

Already have an account? Sign in here!

By signing up, you agree to our Terms Of Use and Privacy Policy

Choose Your Learning Path

Enjoy 30% Off Now. Cancel Anytime!

MonthlyYearly

Change Your Plan

Your subscription plan will change at the end of your current billing period. You’ll continue to have access to your current plan until then.

View All Plans and Features

Welcome back!

Hi ,

We'd like to know you better so we can create more relevant courses. What do you do for work?

Course Syllabus

DeepLearning.AI
  • Explore Courses
  • Community
    • Forum
    • Events
    • Ambassadors
    • Ambassador Spotlight
  • My Learnings
  • daily streak fire

    You've achieved today's streak!

    Complete one lesson every day to keep the streak going.

    Su

    Mo

    Tu

    We

    Th

    Fr

    Sa

    free pass got

    You earned a Free Pass!

    Free Passes help protect your daily streak. Complete more lessons to earn up to 3 Free Passes.

    Free PassFree PassFree Pass
look at Generative AI Code. This exercise is completely optional, so if for some reason you don't complete it, that's totally fine, you don't need any of this to complete the rest of the course. But I hope you take a look at the code and have fun with it. Let's dive in. If you're accessing this on a desktop, then probably to the left of this video will be a code region that looks like this. Or if you're accessing this on a mobile device, then this may be on top of where you're watching the video, but you see this coding region with instructions that says for each of the two code cells below, click on the cell, then hit shift-enter on your keyboard to run the code. Or on, mobile device, there may be a play button that looks like this, that if you press the play button will have the same effect as hitting shift-enter on your keyboard, because it's harder to hit shift-enter on say a smartphone's keyboard. So let's do that. Step one of the instructions is I'm going to go to. CodeCell 1 by clicking my mouse on this gray region, and CodeCell 1 sets up the programming environment to use code to send prompts to OpenAI's cloud-hosted service. So I'm clicking my mouse here, and I'm going to hit Shift-Enter right now, and this number just changed to 1 to indicate that this is the first CodeCell that we just ran. In case you accidentally run this CodeCell twice or something, don't worry about it, it won't break that way. After having run code cell one, let's go to code cell two. Code cell two will define a prompt that will classify the sentiment of a restaurant review. Here we set the prompt to be equal to classify the final review as have a positive next sentiment, but output is really tasty. What this does is it defines a prompt, this is the prompt, and then it gets the large language model response to the prompt, and that's your response. And lastly, I'll print out this response. So that's what these three lines of code does. It defines a prompt. It gets a response from the large language model, and it prints out the response. So I'm going to hit Shift-Enter. Remember, I had to click on the cell to select it first, code cell two, then hit Shift-Enter. And this runs, and it says, positive sentiment. So please feel free to pause the video and try it yourself. Remember, click on the first code cell, then hit Shift-Enter or the play button, then click on the second code cell, and then hit Shift-Enter or the play button. After that, I'd encourage you to try changing the prompt. Change it to whatever you want and try again. So instead of, the banana pudding was really tasty, you may want to say, the banana cake was delicious. I'm going to hit Shift-Enter again, and oh good, there's also a positive sentiment. Notice this now says three, because this is now the third time. I just ran a cold cell. Feel free to change this to some other food review, your positive or negative sentiment, and see what results you get. When you're done with this, you can click on the nav bar to activity two, which will take us to a second slightly more complex code example.
course detail
  • Generative AI for Everyone
  • Week 1
DeepLearning.AI
AI is the new electricity and will transform and improve nearly all areas of human lives.
LearnCode
Next Lesson
Week 1: Generative AI for Everyone
  • Activity1
    Video with Code Example
    ・
    3 mins
  • Activity2
    Video with Code Example
    ・
    3 mins
  • Course Feedback
  • Community