Try โ€‚โ€‰HackMD

ChatGPT Prompt Engineering 101

Date: 2023-05-31

Lead Instructors: Tyson, Greg, Carlos
Today's Helpers: Heidi, TLee

Course Website: https://ua-data7.github.io/introllms/

Slides

ChatGPT https://chat.openai.com/

Bard https://bard.google.com/

Huggingface

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More โ†’
https://huggingface.co/

OpenAI API https://platform.openai.com/

GitHub CoPilot https://github.com/features/copilot

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More โ†’
Agenda

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More โ†’
Intro & Code of Conduct (5 minutes):

Ice Breaker
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More โ†’
Self-Introductions
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More โ†’

Hello

  • Your Name, why you're here, (optional) fun fact you wish to share
  • Hi, I am Shripad , biostatistician and data scientist with the College of Veterinary Medicine.
  • Hi, I'm Tyson, here to teach you about ChatGPT and Bard, former rugby coach
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More โ†’
    here at UArizona.
  • Hi, I'm Nazmul! I am a PhD student at the department of Systems and Industrial Engineering.
  • Hi, I'm Heidi! I'm a data scientist interested in health data. I'm helping today!
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More โ†’
  • Hi, I'm Viviana, I'm a PhD student at Environmental Science Department, I'm here to learn about these new exciting tools!
  • Tina here. I'm here to learn how to use ChatGPT in my everyday work as a timesaver. The more time I save, the more I can nap.
  • Hi, this is Habibor; I am here to learn about the potential and capabilities of ChatGPT.
  • Eric is here!
  • Hello, I'm Andrew currently a postdoc & incoming professor in Hydrology
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More โ†’
  • Hi, I am Simona, a PhD student in BME program
  • Hi, I am Chia-Lin, a PhD student in Astronomy.
  • Hi, Shashank here. I am a PhD student in the BME department.
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More โ†’
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More โ†’
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More โ†’
  • Chris - here to learn about ChatGPT and how it applies to software development and scientific data processing as well as data processing and visualization
  • Hi, I am Xue, a graduate student from school of plant sciences, here to learn AI!
  • I'm Maliaca - Tyson groupie, from the Data Science Institute
  • I'm Emily Litvack. I write for/as the SVP for research and innovation at the University of Arizona and I'd like to leverage GPT in my work.
  • Hi there, my name is "The Terminator", I'm here to express my deep lovely and appreciation for humanity. Big hugs! JK I'm devin bayly a data and visualization consultant for the Research Technologies departmentโ€ฆ and I'm a part time circus performer.
  • Salena Ashton, phd student Information Science. I research machine learning, causal inference, AI and knowledge representation. I enjoy seeing how AI can enhance, not compromise, academic integrity.
  • Devesh Khosla
  • I'm Ali, PhD Student from the Department of Biomedical Engineering.
  • Hello, I am Robert, I am a facility manager and former researcher. I collaborate with many researchers in our buildings @BIO5
  • Hi, I'm Mary-Frances O'Connor, in Psychology,
  • I'm Kristy, part of the RII Comms team, interested in how AI works and how it will affect creativity and marketing
  • Hi, I'm Michael, PhD Student in Civil Engineering, visting the U of A.
  • Hello, I am Mohamed!
  • Hi, I'm Filip, a passionate plant biologist and innovative educator committed to unfolding the mysteries of plant metal physiology and hyperaccumulation
  • Hello This is Devesh Khosla
  • Hi, I'm Bonnie Jean, with Research Innovation and Impact. I'm a web developer and I want to know how ChatGPT can help me code!
  • Hi! I'm Talia. PhD student in Geography and the Tree Ring Lab.
  • Hi, I'm Kiara. I'm a PhD student in Pharmacology & Toxicology, looking to utilize AI to improve my research efforts.
  • Hi, I am Tao, an earth scientist. Exploring the fancy the GPT to boost my research.
  • Hi!, I am Mari, a Statiscian in the StatLab at BIO5
  • Hello! I'm Sarah - I'm the director of UX4Justice at the College of Law.
  • Hi! I'm Mona Arora -college of public health, interested in learning about how to use in teaching and our work with partners
  • Shipad Sinari: I am here to learn how to write better prompts for assessments feedback data.
  • I am Yang Song,
  • Julian. I want to learn how researchers could use AI to increase the rate of scientific discovery.
  • Filip. Want to learn how to use effectively ChatGPT for Resaerch and writing
  • Hi! I'm Bryan
  • Hi. I am Simone. I am hear to learn how to improve my results when using ChatGPT in my research.
  • Hello, I'm Jeremy Sadoff and im here to learn how use AI to improve my ability to learn and digest information better.
  • Hi, I'm Marisa. I work at the Eller College and am interested in using AI to help students with professional development (resumes, cover letters, job interviews, etc..)
  • I'm Laurel from Nutritional Sciences
  • Hi I'm Samuel from Systems and Industrial Engineering Ph.D. program. Here to see chatgpt do good stuff.
  • Hi, Ujjal.here ti learn chatgpt
  • Hi I am David. Here to see more about AI in education and research.

1. Why are we here?
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More โ†’

GPT is everywhere!

  • Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More โ†’
    Tell us why you're here
  • I am here to learn how to leverage GPT as a professional writer at the University.
  • I am here to learn how to make more effective prompts Enhance my
  • Hi,I'm here to learn about how chat ai works and how it will affect thewill affect communicaications and creativity (sorry for the mispellings but this moving screen is making my brain hurt)
  • I'd like to learn how to use it for teaching effectively and be more proeductive, and for research.
  • to learn how we could use Chaptgpt to increase research efficiency
  • I'm here to learn how AI can help me code
  • I want to understand how to use it for my students in courses, but also how to be more productive and just see how it is transforming the world
  • I'm here to learn how to generate effective prompts for my research and daily life.
  • I'm just ยฏ_(ใƒ„)_/ยฏ
  • Looking for ways to improve my work in communications and marketing and saving time
  • I am here to learn how I can use GPT to streamline my coding.
  • Excited to learn how to use this for research and teaching!
  • I'm interested in using AI to help students with professional development (resumes, cover letters, job interviews, etc..)
  • I'm interested in learning how to use ai for r programming
  • i am here to learn how i can use in reaserch
  • I would like to learn to use ChatGPT in writing code and searching scientific literature.
  • I am here for to learn new ways to use Generative models for fun, research, training, and educational purposes.ducational purposes.ducational purposes.
  • I am interested in learning more about how to use AI most effectively in my classrooms
  • I am interested in AI's effects and impact in research
  • I am here I'm here to learn new ways this tools can help me manage,educate, and more interactively share data with regards to facility management. :)

Acronym Bank
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More โ†’

GPT - generative pre-trained transformer
LLM - large language model
DevOps - software development and IT operations
md - markdown
AI - artificial intelligence
NLP - natural language processing

2. Prompt Engineering
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More โ†’

3. Education & Ethics
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More โ†’

Use of ChatGPT/Bard in Higher Ed & Ethics | (Presentation Slides)

Limitations

  • GPTs are biased, can lie, and are being used to spread disinformation and hate speech
  • GPTs steal texts, designs, visual art, and music styles
  • Equitable distribution is difficult

Advantages

  • Creating personalized feedback
  • Automate tasks to reduce workload

Summary

The integration of AI language models in higher education should be carefully considered in terms of pedagogical theory, societal implications, ethical considerations, and policy formulation. While AI models offer promising benefits, their integration should be done with caution to ensure that the benefits outweigh the potential risks and challenges.

4. Productivity
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More โ†’

Personal

Professional

  • Find a tidbit of info from a large set of PDFs
  • Content creation

Lunch & Visualization Challenge
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More โ†’

Midjourney Home:https://www.midjourney.com/

MidJourney Docs (Discord): https://docs.midjourney.com/

DALL-E 2: https://labs.openai.com/

UArizona AI Working Groups Zoom Mtg (11 am):
https://arizona.zoom.us/j/86884398756

5. Research
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More โ†’

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More โ†’
Pirate API
Copy this key, prepare to enter it into the API field on https:/huggingface.co
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More โ†’

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

Same key (not in a code block)

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

6. Plug-ins
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More โ†’