SlideShare a Scribd company logo
Transformers - Part 1
Dr. Akshika Wijesundara
The science behind ChatGPT
Research Associate King's College London | Consultant at National
University of Singapore
Topics
● OpenAI and ChatGPT
● “Attention is all you need”
● RNNs vs Transformers
● Self-Attention
● Transformer architecture
● Ethical implications and challenges
OpenAI is an AI research and deployment company with the
mission to ensure that artificial general intelligence benefits all of
humanity.
Demo
● https://chat.openai.com/chat
Transformers - Part 1
How is ChatGPT built?
● GPT (Generative Pre-trained Transformer) - 3 is an autoregressive language model (175B
parameters).
● Later InstructGPT was developed to address the shortcomings of GPT3.
● InstructGPT uses human feedback to reinforce the model (1.3B parameters)
Transformers - Part 1
Transformers > RNN*
RNN Transformers
Process a sequence of data in parallel
😕 😃
Handle long-term dependencies
😐 😃
Capturing global dependencies
😐 😃
Self-attention
😕 😃
Source: https://proceedings.neurips.cc/paper/2017/file/3f5ee243547dee91fbd053c1c4a845aa-Paper.pdf
Attention
Sam wants to visit Greece but she is poor
Attention
Sam wants to visit Greece but she is poor
Attention
Source: https://www.youtube.com/@RasaHQ
Source: https://www.youtube.com/@RasaHQ
Source: https://www.youtube.com/@RasaHQ
Source: https://www.youtube.com/@RasaHQ
Source: https://www.youtube.com/@RasaHQ
Calculating Attention
Source: https://proceedings.neurips.cc/paper/2017/file/3f5ee243547dee91fbd053c1c4a845aa-Paper.pdf
Source: https://proceedings.neurips.cc/paper/2017/file/3f5ee243547dee91fbd053c1c4a845aa-Paper.pdf
Source: https://proceedings.neurips.cc/paper/2017/file/3f5ee243547dee91fbd053c1c4a845aa-Paper.pdf
Ethical & Legal Implications
Ethical & Legal Implications
● Misuse
○ Fake news and bots that spread it
○ Using the tool in exams
● Biases
● Impact on human intelligence
● Copyright infringement
What we covered
● Overview of ChatGPT
● Transformers
● Self-Attention
● Ethical implications of ChatGPT
References
https://openai.com/blog/instruction-following/
https://proceedings.neurips.cc/paper/2017/file/3f5ee243547dee91fbd053c1c4a845aa-Paper.pdf
https://www.youtube.com/@RasaHQ

More Related Content

PDF
Large Language Models - Chat AI.pdf
PPTX
Prompting is an art / Sztuka promptowania
PPTX
Webinar on ChatGPT.pptx
PDF
What is langchain
PDF
LanGCHAIN Framework
PPTX
What Is GPT-3 And Why Is It Revolutionizing Artificial Intelligence?
PDF
Chat GPT Intoduction.pdf
PDF
gpt3_presentation.pdf
Large Language Models - Chat AI.pdf
Prompting is an art / Sztuka promptowania
Webinar on ChatGPT.pptx
What is langchain
LanGCHAIN Framework
What Is GPT-3 And Why Is It Revolutionizing Artificial Intelligence?
Chat GPT Intoduction.pdf
gpt3_presentation.pdf

What's hot (20)

PDF
The Rise of the LLMs - How I Learned to Stop Worrying & Love the GPT!
PPTX
OpenAI Chatgpt.pptx
PDF
Let's talk about GPT: A crash course in Generative AI for researchers
PPTX
A brief primer on OpenAI's GPT-3
PDF
ChatGPT and OpenAI.pdf
PDF
How Does Generative AI Actually Work? (a quick semi-technical introduction to...
PDF
OpenAI’s GPT 3 Language Model - guest Steve Omohundro
DOCX
ChatGPT prompt.docx
PPTX
ChatGPT 101.pptx
PDF
Generative Models and ChatGPT
PPTX
Presentation-Open AI Chat GPT-4 3.pptx
PDF
ChatGPT.pdf
PDF
Everything to know about ChatGPT
PDF
Introduction to LLMs
PDF
LLMOps for Your Data: Best Practices to Ensure Safety, Quality, and Cost
PDF
Large Language Models Bootcamp
PPTX
Blueprint ChatGPT Lunch & Learn
PDF
ChatGPT vs. GPT-3.pdf
PDF
Building NLP applications with Transformers
PDF
Retrieval Augmented Generation in Practice: Scalable GenAI platforms with k8s...
The Rise of the LLMs - How I Learned to Stop Worrying & Love the GPT!
OpenAI Chatgpt.pptx
Let's talk about GPT: A crash course in Generative AI for researchers
A brief primer on OpenAI's GPT-3
ChatGPT and OpenAI.pdf
How Does Generative AI Actually Work? (a quick semi-technical introduction to...
OpenAI’s GPT 3 Language Model - guest Steve Omohundro
ChatGPT prompt.docx
ChatGPT 101.pptx
Generative Models and ChatGPT
Presentation-Open AI Chat GPT-4 3.pptx
ChatGPT.pdf
Everything to know about ChatGPT
Introduction to LLMs
LLMOps for Your Data: Best Practices to Ensure Safety, Quality, and Cost
Large Language Models Bootcamp
Blueprint ChatGPT Lunch & Learn
ChatGPT vs. GPT-3.pdf
Building NLP applications with Transformers
Retrieval Augmented Generation in Practice: Scalable GenAI platforms with k8s...
Ad

Similar to Transformers - Part 1 (20)

PPTX
GCD ChatGPT.pptx
PDF
ChatGPT in academic settings H2.de
PPTX
The Science Behind GPT and Hugging Face Transformers.pptx
PPTX
Transformers AI PPT.pptx
PDF
ChatGPT Shaping Tomorrow's Conversations
PDF
Bert pre_training_of_deep_bidirectional_transformers_for_language_understanding
PPTX
Transformer Zoo
PPTX
Breaking down the AI magic of ChatGPT: A technologist's lens to its powerful ...
PDF
Jual obat aborsi Saudi ( 085657271886 ) Cytote pil telat bulan penggugur kand...
PDF
Jual obat aborsi Palangkaraya ( 085657271886 ) Cytote pil telat bulan penggug...
PDF
Jual obat aborsi Ngawi ( 085657271886 ) Cytote pil telat bulan penggugur kand...
PDF
Jual obat aborsi Bekasi ( 085657271886 ) Cytote pil telat bulan penggugur kan...
PDF
Jual obat aborsi Banjarmasin ( 085657271886 ) Cytote pil telat bulan penggugu...
PDF
Jual obat aborsi Kelaten ( 085657271886 ) Cytote pil telat bulan penggugur ka...
PDF
Jual obat aborsi Palu ( 085657271886 ) Cytote pil telat bulan penggugur kandu...
PDF
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
PDF
Jual obat aborsi Depok ( 085657271886 ) Cytote pil telat bulan penggugur kand...
PDF
Jual obat aborsi Qatar ( 085657271886 ) Cytote pil telat bulan penggugur kand...
PDF
Jual obat aborsi Blitar ( 085657271886 ) Cytote pil telat bulan penggugur kan...
PDF
Jual obat aborsi Jogja ( 085657271886 ) Cytote pil telat bulan penggugur kand...
GCD ChatGPT.pptx
ChatGPT in academic settings H2.de
The Science Behind GPT and Hugging Face Transformers.pptx
Transformers AI PPT.pptx
ChatGPT Shaping Tomorrow's Conversations
Bert pre_training_of_deep_bidirectional_transformers_for_language_understanding
Transformer Zoo
Breaking down the AI magic of ChatGPT: A technologist's lens to its powerful ...
Jual obat aborsi Saudi ( 085657271886 ) Cytote pil telat bulan penggugur kand...
Jual obat aborsi Palangkaraya ( 085657271886 ) Cytote pil telat bulan penggug...
Jual obat aborsi Ngawi ( 085657271886 ) Cytote pil telat bulan penggugur kand...
Jual obat aborsi Bekasi ( 085657271886 ) Cytote pil telat bulan penggugur kan...
Jual obat aborsi Banjarmasin ( 085657271886 ) Cytote pil telat bulan penggugu...
Jual obat aborsi Kelaten ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Palu ( 085657271886 ) Cytote pil telat bulan penggugur kandu...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Depok ( 085657271886 ) Cytote pil telat bulan penggugur kand...
Jual obat aborsi Qatar ( 085657271886 ) Cytote pil telat bulan penggugur kand...
Jual obat aborsi Blitar ( 085657271886 ) Cytote pil telat bulan penggugur kan...
Jual obat aborsi Jogja ( 085657271886 ) Cytote pil telat bulan penggugur kand...
Ad

Recently uploaded (20)

PDF
168300704-gasification-ppt.pdfhghhhsjsjhsuxush
PDF
Introduction to the R Programming Language
PPTX
Supervised vs unsupervised machine learning algorithms
PPTX
Introduction to Basics of Ethical Hacking and Penetration Testing -Unit No. 1...
PDF
Introduction to Data Science and Data Analysis
PPT
Predictive modeling basics in data cleaning process
PPTX
oil_refinery_comprehensive_20250804084928 (1).pptx
PPTX
Acceptance and paychological effects of mandatory extra coach I classes.pptx
PPTX
Introduction-to-Cloud-ComputingFinal.pptx
PPT
Quality review (1)_presentation of this 21
PDF
Mega Projects Data Mega Projects Data
PPTX
Computer network topology notes for revision
PPTX
iec ppt-1 pptx icmr ppt on rehabilitation.pptx
PDF
.pdf is not working space design for the following data for the following dat...
PPT
Reliability_Chapter_ presentation 1221.5784
PPTX
Microsoft-Fabric-Unifying-Analytics-for-the-Modern-Enterprise Solution.pptx
PDF
Transcultural that can help you someday.
PPTX
SAP 2 completion done . PRESENTATION.pptx
PDF
22.Patil - Early prediction of Alzheimer’s disease using convolutional neural...
PDF
BF and FI - Blockchain, fintech and Financial Innovation Lesson 2.pdf
168300704-gasification-ppt.pdfhghhhsjsjhsuxush
Introduction to the R Programming Language
Supervised vs unsupervised machine learning algorithms
Introduction to Basics of Ethical Hacking and Penetration Testing -Unit No. 1...
Introduction to Data Science and Data Analysis
Predictive modeling basics in data cleaning process
oil_refinery_comprehensive_20250804084928 (1).pptx
Acceptance and paychological effects of mandatory extra coach I classes.pptx
Introduction-to-Cloud-ComputingFinal.pptx
Quality review (1)_presentation of this 21
Mega Projects Data Mega Projects Data
Computer network topology notes for revision
iec ppt-1 pptx icmr ppt on rehabilitation.pptx
.pdf is not working space design for the following data for the following dat...
Reliability_Chapter_ presentation 1221.5784
Microsoft-Fabric-Unifying-Analytics-for-the-Modern-Enterprise Solution.pptx
Transcultural that can help you someday.
SAP 2 completion done . PRESENTATION.pptx
22.Patil - Early prediction of Alzheimer’s disease using convolutional neural...
BF and FI - Blockchain, fintech and Financial Innovation Lesson 2.pdf

Transformers - Part 1