revodavid / OpenAI-Lab-UCB

60-minute workshop on OpenAI GPT models

Home Page:https://revodavid.github.io/OpenAI-Lab-UCB/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Explore the OpenAI GPT Models

Click here to begin the workshop

This session is a 60-minute live demonstration of interaction with OpenAI models GPT3 (text-davinci-003) and ChatGPT (gpt-3.5-turbo). You can follow along with the demonstration live using Use Azure AI Studio or OpenAI Playground, or work through the examples in this repository later at your own pace and schedule.

The goal of this 60-minute session is to:

  • Understand the implementation and capabilities of GPT3 and ChatGPT
  • Learn how to use and customize natural language generative AI models using prompt engineering techniques
  • Understand the basics of integrating OpenAI models into applications with the API

Pre-requisites

You will need an Azure Account or an OpenAI account to complete this lab. If you do not have an Azure Account, you can create one for free here, and request access to Azure OpenAI Service here.

See the Setup module for further details.

Outline

This lab includes the following modules:

  1. Explore Models. Understand the natural language models available in OpenAI and Azure OpenAI Service.
  2. Completions. Understand and experiment with prompts and completions.
  3. Tokens. Learn about tokens in OpenAI models.
  4. Applications. Learn about applications of natural language generative AI models.
  5. Conversations. Use the Chat playground.
  6. Prompt Engineering. Learn how to use prompt engineering to customize the behavior of the model.
  7. Using the API. Learn how to generate integration code for use with the Azure OpenAI API.
  8. Learnings and Resources. Recap and links for further learning.
  9. Extra Credit. Explore the capabilities of Bing Chat.

Citations

"Explore the OpenAI GPT Models", David Smith (Microsoft), 2023. Presented at UC Berkeley AI Hackathon, June 17-18 2023.

When referencing this repository, please use the shortlink: https://aka.ms/oai-ucb.

Feedback

We would love to hear your feedback on this lab. Please use the Discussions tab for comments, or the Issues tab for bugs or suggestions.

About

60-minute workshop on OpenAI GPT models

https://revodavid.github.io/OpenAI-Lab-UCB/

License:MIT License


Languages

Language:JavaScript 64.6%Language:CSS 35.4%