Short CourseIntermediate1 Hour 10 Minutes

Reasoning with o1

Instructor: Colin Jarvis

OpenAI
  • Intermediate
  • 1 Hour 10 Minutes
  • 8 Video Lessons
  • 6 Code Examples
  • Instructor: Colin Jarvis
    • OpenAI
    OpenAI

What you'll learn

  • Learn about o1, what makes it work, how it performs, and the best scenarios to use it.

  • Learn how to prompt o1 effectively and when to delegate tasks to more cost-efficient, lower latency models.

  • Learn how o1 outperforms on coding and vision reasoning tasks, and how to apply meta-prompting to optimize your applications.

About this course

Learn how to effectively prompt and use OpenAI’s o1 model in Reasoning with o1, a short course built in collaboration with OpenAI and taught by Colin Jarvis, Head of AI Solutions at OpenAI.

The o1 model is exceptionally good at abstract reasoning tasks. It has record-breaking performance on tasks such as planning, coding, analyzing, domain-specific reasoning like law, and other STEM subjects.

In this course, you will learn how OpenAI utilized reinforcement learning to produce a model that uses ‘test-time compute’ to improve performance on many reasoning tasks. Learn what ‘chain-of-thought’ prompting is and how o1 autonomously utilizes it to break problems into smaller steps, try multiple strategies, and think through responses before returning them.

In detail, you’ll: 

  • Learn to recognize what tasks the o1 model is suited for and when you might want to use a smaller or faster model or combine those two.
  • Understand four key principles of prompting using o1 from “simple and direct” to “show rather than tell,” and explore the difference in performance.
  • Implement a multi-step task in which o1 acts as an orchestrator creating a plan and handing it over to the 4o-mini model to execute the plan in sequence, balancing the trade-off between intelligence and cost.
  • Use o1 for a coding task to build a new application, edit existing code, and test performance by running a coding competition between o1-mini and GPT 4o.
  • Use o1 for image understanding and learn how it performs better with a hierarchy of reasoning, in which it incurs the latency and cost upfront, preprocessing the image and indexing it with rich details so it can be used for Q&A later.
  • Learn a technique called meta-prompting, in which you use o1 to improve your prompts. Using a customer support evaluation set, you iteratively use o1 to modify a prompt to improve performance.

Start building applications that require complex reasoning with o1.

Who should join?

It’s helpful to be familiar with Python and have a basic understanding of LLM prompting and LLM application development.

Course Outline

8 Lessons・6 Code Examples
  • Introduction

    Video3 mins

  • Introduction to o1

    Video11 mins

  • Prompting o1

    Video with code examples12 mins

  • Planning with o1

    Video with code examples13 mins

  • Coding with o1

    Video with code examples7 mins

  • Reasoning with images

    Video with code examples9 mins

  • Meta-prompting

    Video with code examples12 mins

  • Conclusion

    Video1 min

  • Appendix – Tips, Help, and Download

    Code examples1 min

Instructor

Colin Jarvis

Colin Jarvis

Head of AI Solutions at OpenAI

Course access is free for a limited time during the DeepLearning.AI learning platform beta!

Want to learn more about Generative AI?

Keep learning with updates on curated AI news, courses, and events, as well as Andrew’s thoughts from DeepLearning.AI!