Skip to content

DataForScience/OpenAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

89a633e · Feb 13, 2025

History

20 Commits
Oct 3, 2023
Feb 13, 2025
Jul 23, 2024
Jun 7, 2023
Feb 13, 2025
Feb 13, 2025
Feb 13, 2025
Feb 13, 2025
Feb 13, 2025
Jun 7, 2023
Oct 3, 2024
Jun 7, 2023
Feb 27, 2024

Repository files navigation

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