ChatGPT Registration and Prompting
Ευγενία Γκίνη – Φωτόπουλος Ευάγγελος
Τμήμα Μηχανικών Πληροφορικής και Υπολογιστών
Πανεπιστήμιο Δυτικής Αττικής
Introduction to ChatGPT
01
ChatGPT 3.5 & Chat GPT 4
The First Launch �30 Νοεμβρίου 2022
1.000.000
Ένα εκατομμύριο χρήστες την 1η εβδομάδα
1.600.000.000
Μέσος όρος μηνιαίας επισκεψιμότητας
GPT Initials
Generative
Pre-trained
Transformer
Το μοντέλο παράγει σχετικές μεταξύ τους και με συνοχή προτάσεις με αρχικό ερέθισμα δικά μας prompts
Το μοντέλο έχει εκπαιδευτεί με τεράστιου όγκου δεδομένα, προτού προσαρμοστεί λειτουργικά σε συγκεκριμένα έργα
Τα μοντέλα GPT είναι μεγάλα νευρωνικά δίκτυα που δημιουργούν κείμενο βασισμένο στα μοτίβα της προ-εκπαίδευσης, σύμφωνα με την Αρχιτεκτονική Transformer (Vaswani et al.,2017)
Getting Started
Getting Started
Getting Started
Getting Started
GPT 3.5 VS GPT 4
GPT 3.5
GPT 4
Γρήγορο και ιδανικό μοντέλο
για απλές
«δοκιμασίες»
Ιδανικό μοντέλο για
δημιουργικούς και
πολύπλοκους συλλογισμούς
GPT 3.5 VS GPT 4
GPT 3.5
GPT 4
GPT for Google
Plugin: �
GPT for Google
Η μηχανή αναζήτησης τώρα εμφανίζει ταυτόχρονα αποτελέσματα από ιστοσελίδες αλλά και από το Chat GPT
API for ChatGPT
Υπάρχει η δυνατότητα χρήσης του ChatGPT σε εφαρμογές μέσω του API που παρέχει η OpenAI.
Η χρήση παρέχεται μέσω κλειδιών που δίνονται στους χρήστες που το επιθυμούν, ενώ η χρέωση εξαρτάται από τον αριθμό των tokens που χρησιμοποιούνται.
import openai
openai.api_key="sk-T9rtzQpmxzpbT0lpmhm5XXXXXXX"
# list models
models = openai.Model.list()
model_names = [m.id for m in models.data]
model_names.sort()
# print the first model's id
#print(model_names)
# create a prompt
prompt = ("explain quantum physics in a short paragraph")
print("Prompt : "+prompt)
# create a chat completion
chat_completion = openai.ChatCompletion.create(model="gpt-4", messages=[{"role": "user", "content": prompt}])
# print the chat completion
print("Answer: \n"+chat_completion.choices[0].message.content)
GPT και Εκπαίδευση
Projects
Καθορίζοντας μέθοδο διδασκαλίας το GPT μπορεί να οργανώσει ένα πρωτότυπο project, δίνοντας:
GPT και Εκπαίδευση-Projects
Prompting!
To Chat GPT είναι εκπληκτικό εργαλείο που με κατάλληλες γνώσεις και έξυπνους ορισμούς μπορεί να γίνει ιδανικό εργαλείο στα χέρια του εκπαιδευτικού…
02
PROMPTING
Πώς οι διαφορετικές ερωτήσεις παράγουν διαφορετικά αποτελέσματα
Τι είναι ένα prompt?
Αναμενόμενες εργασίες στο ChatGPT
Το ChatGPT μπορεί να χρησιμοποιηθεί σε μία ευρεία κλίμακα εφαρμογών, οι οποίες περιλαμβάνουν:
Prompt Engineering
Τεχνικές Prompt Engineering (1)
Υπάρχουν διαφορετικές κατηγοριοποιήσεις των τεχνικών του Prompt Engineering, ωστόσο οι τεχνικές αυτές περιλαμβάνουν:
Τεχνικές Prompt Engineering (2)
Υπάρχουν διαφορετικές κατηγοριοποιήσεις των τεχνικών του Prompt Engineering, ωστόσο οι τεχνικές αυτές περιλαμβάνουν:
Προκλήσεις Prompt Engineering
Παρά τις εντυπωσιακές δυνατότητες που παρουσιάζουν τα γλωσσικά μοντέλα μεγάλης κλίμακας (LLMs), παρουσιάζουν επίσης και αρκετές προκλήσεις:
Παραδείγματα χρήσης
—ChatGPT 3.5
“Quantum physics, also known as quantum mechanics, is a fundamental branch of physics that describes the behavior of matter and energy at the smallest scales, such as atoms and subatomic particles. It introduces the concept of quantization, where properties like energy levels and angular momentum are quantized into discrete values. Quantum mechanics challenges our classical intuition, featuring phenomena like superposition, where particles can exist in multiple states simultaneously, and entanglement, where the properties of particles become interconnected regardless of distance. It's the foundation for understanding the behavior of particles in the quantum world, driving technological advancements and reshaping our understanding of reality itself.”
Prompt: explain quantum physics in a short paragraph
—ChatGPT 3.5
“Quantum physics is like a magical world where tiny things, like atoms and particles, don't follow the same rules as the big things we see every day. Instead of moving in straight lines, they can pop in and out of different places, and sometimes they act like both waves and particles at the same time! It's super strange and hard to understand, but scientists use it to make amazing things like computers and lasers. So, think of quantum physics as a mysterious and wondrous adventure into the tiniest parts of our world.”
Prompt: explain quantum physics in a short paragraph as if I was a 10-year-old
—ChatGPT 3.5
“Quantum physics, also known as quantum mechanics, is a fundamental branch of physics that describes the behavior of particles at the smallest scales. It's a mathematical framework that combines wave-like and particle-like properties, offering a probabilistic understanding of nature. Quantum mechanics challenges our classical intuition, introducing concepts like superposition, where particles can exist in multiple states simultaneously, and entanglement, where particles can instantaneously influence each other's properties regardless of distance. It has led to revolutionary technologies like quantum computers and underpins our understanding of the microscopic world, governing everything from atoms and molecules to the fundamental forces of the universe.”
Prompt: explain quantum physics in a short paragraph as if I was a physicist with a doctorate in quantum physics
—ChatGPT 4
“Quantum physics, also known as quantum mechanics or quantum theory, is a branch of physics that explores the behavior of very small particles, typically on the atomic and subatomic scale. Unlike classical physics, which can predict the behavior of larger objects with precision, quantum physics introduces concepts of probability, superposition (where particles can exist in multiple states simultaneously), and entanglement (where particles become interconnected in ways such that the state of one particle instantly affects the state of another, regardless of distance). These counterintuitive phenomena challenge our everyday understanding of reality but are essential to explaining the behavior of the universe at its most fundamental level.”
Prompt: explain quantum physics in a short paragraph
—ChatGPT 3.5
“Η κβαντική φυσική είναι ένα πεδίο της φυσικής που εξετάζει τη συμπεριφορά των σωματιδίων και των ενεργειών σε πολύ μικρές κλίμακες, κοντά στο επίπεδο των κβαντικών. Σε αυτό το πεδίο, οι κλασικοί νόμοι της φυσικής συχνά αντικαθίστανται από πιο περίεργους και προβληματικούς κβαντικούς νόμους. Η κβαντική φυσική μελετά τα φαινόμενα όπως η κυματομηχανική, η αρχή της αβεβαιότητας, το άτομο, τον πυρήνα, τα σωματίδια και τα κβαντικά πεδία. Αυτή η περιοχή έχει οδηγήσει σε πολλές εκπληκτικές ανακαλύψεις και εφαρμογές, όπως οι κβαντικοί υπολογιστές και η κβαντική τηλεπόρτα, ανοίγοντας νέες διαστάσεις στην κατανόηση της φύσης.”
Prompt: περίγραψέ μου την κβαντική φυσική σε μία σύντομη παράγραφο
—ChatGPT 3.5
“Η κβαντική φυσική είναι ένας τρόπος που οι επιστήμονες χρησιμοποιούν για να καταλάβουν τον κόσμο σε πολύ μικρά κομμάτια, πολύ μικρότερα από ό,τι μπορούμε να δούμε με τα μάτια μας. Σε αυτόν τον κόσμο, τα πράγματα συμπεριφέρονται διαφορετικά από αυτό που συνηθίζουμε να βλέπουμε στην καθημερινή μας ζωή. Για παράδειγμα, σε αυτόν τον κόσμο, μπορεί να υπάρχει κάτι που λέγεται "κβάντουμ" και μπορεί να είναι ταυτόχρονα και εκεί και όχι εκεί, κάτι που ακούγεται περίεργο!
Η κβαντική φυσική μας βοηθάει να καταλάβουμε τον κόσμο σε πολύ μικρή κλίμακα και να κάνουμε προβλέψεις για το πώς συμπεριφέρονται τα πράγματα όταν είναι πολύ, πολύ μικρά. Είναι σαν ένα παιχνίδι μυστηρίου που βοηθάει τους επιστήμονες να ανακαλύπτουν τα μυστικά του σύμπαντος σε έναν μικρό, αλλά συναρπαστικό κόσμο!”
Prompt: περίγραψέ μου την κβαντική φυσική σε μία σύντομη παράγραφο σα να ήμουν ένα 10χρονο παιδί
—ChatGPT 3.5
“Of course! I'd be happy to explain quantum physics in easy-to-understand terms for a preliminary school audience. Quantum physics is a fascinating and complex field, but we can break it down into simple concepts.
Okay, imagine you have a box, and inside that box, there's a tiny, invisible world that's very different from the one we see around us every day. This world is called the quantum world. In the quantum world, things are very strange compared to our everyday experiences.
In summary, quantum physics is like a magical and mysterious world that's hidden inside the tiniest particles. It's full of surprises and doesn't follow the same rules as the world we see every day. While it might seem strange and confusing, scientists use quantum physics to understand the very building blocks of our universe, and it's a big part of how our modern technology, like computers and smartphones, works. So, even though it's a bit mind-boggling, it's also incredibly cool!”
(advanced) Prompt: I want you to act as a physics teacher in a preliminary school. Your job is to explain quantum physics in easy-to-understand terms.
Βιβλιογραφία
Ευχαριστούμε
Απορίες?