Skip to content

Latest commit

 

History

History
60 lines (44 loc) · 2.46 KB

README.md

File metadata and controls

60 lines (44 loc) · 2.46 KB

GitHub Twitter @data4sci GitHub top language GitHub repo size GitHub last commit

Graphs For Science Data Science Briefing

Binder

Generative Artificial Intelligence with OpenAI

Code and slides to accompany the online series of webinars: https://data4sci.com/OpenAI by Data For Science.

Run the code in Binder: Binder

OpenAI is the current leader in publicly available AI models, with state-of-the-art tools like ChatGPT, Codex, and Dall-E being accessible to everyone online. OpenAI also provides powerful and modular APIs that allow programmers to leverage the functionality of these models directly into their applications.

In this workshop, we will introduce the main concepts behind this class of models and how their functionality is published through the API. We will combine the tools provided by OpenAI to answer questions on a topic with ChatGPT, generate image variations from a text prompt with DALL-E, create a textual description of an image, and generate code from a prompt.

Schedule

1. Generative AI and OpenAI

  • Basic Principles
  • Transformers
  • Large Language Models
  • Temperature
  • Hallucinations
  • Image Models
  • API Structure

2. GPT Models

  • Basic Usage
  • Input Formatting
  • Multi-step Prompts
  • Document summarization

3. Embeddings

  • Understanding Embeddings
  • Question Answering
  • Recommendations
  • Long Texts

4. Image Generation

  • DALL-E Model
  • DALL-E vs GPT-4
  • Generating Images from a Prompt
  • Image Variations
  • Prompt Expansion with GPT

5. Code Generation and Explanation

  • CODEX Model
  • Generating Code from a Prompt
  • Explaining Existing Code
  • Generating Comments

Slides: https://data4sci.gumroad.com/l/openai