SlideShare a Scribd company logo
2
Most read
3
Most read
4
Most read
Generative AI and Large
Language Models (LLMs)
Prof. Roma Smart Joseph
March 10, 2025)
Introduction to Generative AI
What is Generative AI?
AI models that generate new, original content
(text, images, audio, video, etc.).
Examples: DALL-E 2 (images), GPT-3 (text),
Midjourney (images), RunwayML (videos),
Jukebox (music).
Real-world Applications: Content creation,
drug discovery, design, code generation, fraud
detection.
How it differs from other AI approaches
Focus on creation vs. prediction or classification.
Unsupervised or self-supervised learning as
opposed to supervised learning.
Transforms noise into data and learns
underlying patterns.
Types of Generative AI
Models
1 GANs (Generative
Adversarial
Networks)
Concept: Two neural
networks (generator
and discriminator)
compete against each
other to generate
realistic data.
2 VAEs (Variational
Autoencoders)
Concept:
Probabilistic models
that learn a
compressed latent
space representation
of data.
3 Autoregressive Models
Concept: Predict the next token (word, pixel,
etc.) based on previous tokens.
Introduction to Large Language Models
(LLMs)
What are LLMs?
Large Language Models (LLMs) are advanced AI systems
that can understand and generate human-like text. They
are trained on massive amounts of text data and can answer
questions, write stories, summarize information, translate
languages, and even generate code.
Simple Example:
🔹 You type: "Tell me a joke."
🔹 LLM responds: "Why don’t robots get tired? Because they
recharge!"
LLMs work like super-smart chatbots that can help with
research, writing, and problem-solving. Examples include
ChatGPT, Google Bard, and Claude.
Training Data
Examples: Common Crawl (petabytes of web
data), Books3 (large collection of books),
Wikipedia, code repositories.
Data Cleaning and Preprocessing: Critical for
model performance and safety.
Tokenization: Converting text into numerical
tokens for model input.
Transformer Architecture: The
Engine Behind LLMs
Attention Mechanism
Concept: Allows the model to focus on relevant parts of the
input sequence when making predictions.
Encoder-Decoder Structure
Encoder: Processes the input sequence and creates a contextualized
representation.
Key Components
Positional Encoding: Adds information about the position of tokens in
the sequence.
Benefits of Transformers
Parallelization: Attention mechanism allows for parallel
processing of the input sequence.
Capabilities and Applications
of LLMs
Text Generation
Content creation
(articles, blog
posts, marketing
copy).
Language
Translation
Real-time
translation of text
and speech.
Question
Answering
Extracting answers
from large documents
or knowledge bases.
Summarization
Generating concise
summaries of long
documents or
articles.
Challenges and Limitations of LLMs
1
Bias and Fairness
Models can perpetuate and amplify biases
present in the training data.
2 Factuality and Hallucination
LLMs can generate incorrect or
nonsensical information.
3
Computational Cost
Training and deploying LLMs require
significant computational resources.
4 Security and Misuse
LLMs can be used to generate
disinformation, spam, and malicious
content.
5
Ethical Concerns
Job displacement due to automation.
The Future of Generative AI and LLMs
Continued scaling and improvement of models
Larger models with more parameters and better training data.
Integration with other AI modalities
Combining LLMs with computer vision, robotics, and other AI systems.
Democratization of access
Making LLMs more accessible to developers and researchers through APIs and open-source initiatives.
New applications and industries
Revolutionizing healthcare, education, entertainment, and other sectors.
Focus on responsible AI development
Addressing ethical concerns and mitigating risks associated with LLMs.

More Related Content

Similar to Generative AI and Large Language Models (LLMs) (20)

PDF
How Large Language Models Are Changing the AI Landscape
Qubited
 
PDF
Generative AI: Top Use Cases, Solutions, and How to Implement Them
Oliver Grady
 
PDF
Large Language Models Bootcamp
Data Science Dojo
 
PPTX
Feature store: Solving anti-patterns in ML-systems
Andrzej Michałowski
 
PPTX
Master's_Thesis-1-33_THE_ARCHITECT_4.0_2025
fritz862241
 
PPTX
Introduction-to-Artificiefgerwgergtergeteetetgfger gfrner jf ergejg kjg byurk...
ShubhamPuranik7
 
PPTX
Introduction-to-Artificial Intelligence.pptx.pptx
anirudhamishra440
 
PPTX
Building .NET AI Applications with Google AI: Leveraging Vertex AI and Gemini
Udaiappa Ramachandran
 
PDF
Gen AI Applications in Different Industries.pdf
pallavidhade2
 
PPTX
Introduction to LLMs and their relevance for Official Statistics
Dario Buono
 
PPTX
Ai & ML workshop-1.pptx ppt presentation
ahanasayeed786
 
PPTX
AI-and-cyber security Identifying Digital Evidence .pptx
MahmoudElmahdy23
 
PDF
Large Language Modelsjjjhhhjjjjjjbbbbbbj.pdf
BrsioftBlogger
 
PDF
Security in the age of Artificial Intelligence
Faction XYZ
 
PPTX
Generative AI and ChatGPT - Scope of AI and advance Generative AI
Kumaresan K
 
PDF
Advanced Deep Learning for Artificial Intelligence — CETPA Infotech
Cetpa Infotech Pvt Ltd
 
PPTX
Artificial Intelligence and Machine Learning and Python FINAL.pptx
masoomsingh0801
 
PPT
GATE, HLT and Machine Learning, Sheffield, July 2003
butest
 
PDF
Unlocking the Potential of Artificial Intelligence_ Machine Learning in Pract...
eswaralaldevadoss
 
PDF
Building intelligent applications with Large Language Models
Speck&Tech
 
How Large Language Models Are Changing the AI Landscape
Qubited
 
Generative AI: Top Use Cases, Solutions, and How to Implement Them
Oliver Grady
 
Large Language Models Bootcamp
Data Science Dojo
 
Feature store: Solving anti-patterns in ML-systems
Andrzej Michałowski
 
Master's_Thesis-1-33_THE_ARCHITECT_4.0_2025
fritz862241
 
Introduction-to-Artificiefgerwgergtergeteetetgfger gfrner jf ergejg kjg byurk...
ShubhamPuranik7
 
Introduction-to-Artificial Intelligence.pptx.pptx
anirudhamishra440
 
Building .NET AI Applications with Google AI: Leveraging Vertex AI and Gemini
Udaiappa Ramachandran
 
Gen AI Applications in Different Industries.pdf
pallavidhade2
 
Introduction to LLMs and their relevance for Official Statistics
Dario Buono
 
Ai & ML workshop-1.pptx ppt presentation
ahanasayeed786
 
AI-and-cyber security Identifying Digital Evidence .pptx
MahmoudElmahdy23
 
Large Language Modelsjjjhhhjjjjjjbbbbbbj.pdf
BrsioftBlogger
 
Security in the age of Artificial Intelligence
Faction XYZ
 
Generative AI and ChatGPT - Scope of AI and advance Generative AI
Kumaresan K
 
Advanced Deep Learning for Artificial Intelligence — CETPA Infotech
Cetpa Infotech Pvt Ltd
 
Artificial Intelligence and Machine Learning and Python FINAL.pptx
masoomsingh0801
 
GATE, HLT and Machine Learning, Sheffield, July 2003
butest
 
Unlocking the Potential of Artificial Intelligence_ Machine Learning in Pract...
eswaralaldevadoss
 
Building intelligent applications with Large Language Models
Speck&Tech
 

Recently uploaded (20)

PDF
LAW OF CONTRACT ( 5 YEAR LLB & UNITARY LLB)- MODULE-3 - LEARN THROUGH PICTURE
APARNA T SHAIL KUMAR
 
PPTX
A PPT on Alfred Lord Tennyson's Ulysses.
Beena E S
 
PPTX
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
PDF
LAW OF CONTRACT (5 YEAR LLB & UNITARY LLB )- MODULE - 1.& 2 - LEARN THROUGH P...
APARNA T SHAIL KUMAR
 
PDF
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
PPTX
How to Manage Large Scrollbar in Odoo 18 POS
Celine George
 
PPTX
I AM MALALA The Girl Who Stood Up for Education and was Shot by the Taliban...
Beena E S
 
PPT
Talk on Critical Theory, Part II, Philosophy of Social Sciences
Soraj Hongladarom
 
PDF
The Constitution Review Committee (CRC) has released an updated schedule for ...
nservice241
 
PDF
The-Ever-Evolving-World-of-Science (1).pdf/7TH CLASS CURIOSITY /1ST CHAPTER/B...
Sandeep Swamy
 
PPTX
STAFF DEVELOPMENT AND WELFARE: MANAGEMENT
PRADEEP ABOTHU
 
PDF
0725.WHITEPAPER-UNIQUEWAYSOFPROTOTYPINGANDUXNOW.pdf
Thomas GIRARD, MA, CDP
 
PDF
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 
PDF
community health nursing question paper 2.pdf
Prince kumar
 
PDF
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - GLOBAL SUCCESS - CẢ NĂM - NĂM 2024 (VOCABULARY, ...
Nguyen Thanh Tu Collection
 
PPTX
SPINA BIFIDA: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
PDF
Isharyanti-2025-Cross Language Communication in Indonesian Language
Neny Isharyanti
 
PDF
Generative AI: it's STILL not a robot (CIJ Summer 2025)
Paul Bradshaw
 
PPTX
Stereochemistry-Optical Isomerism in organic compoundsptx
Tarannum Nadaf-Mansuri
 
PDF
Knee Extensor Mechanism Injuries - Orthopedic Radiologic Imaging
Sean M. Fox
 
LAW OF CONTRACT ( 5 YEAR LLB & UNITARY LLB)- MODULE-3 - LEARN THROUGH PICTURE
APARNA T SHAIL KUMAR
 
A PPT on Alfred Lord Tennyson's Ulysses.
Beena E S
 
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
LAW OF CONTRACT (5 YEAR LLB & UNITARY LLB )- MODULE - 1.& 2 - LEARN THROUGH P...
APARNA T SHAIL KUMAR
 
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
How to Manage Large Scrollbar in Odoo 18 POS
Celine George
 
I AM MALALA The Girl Who Stood Up for Education and was Shot by the Taliban...
Beena E S
 
Talk on Critical Theory, Part II, Philosophy of Social Sciences
Soraj Hongladarom
 
The Constitution Review Committee (CRC) has released an updated schedule for ...
nservice241
 
The-Ever-Evolving-World-of-Science (1).pdf/7TH CLASS CURIOSITY /1ST CHAPTER/B...
Sandeep Swamy
 
STAFF DEVELOPMENT AND WELFARE: MANAGEMENT
PRADEEP ABOTHU
 
0725.WHITEPAPER-UNIQUEWAYSOFPROTOTYPINGANDUXNOW.pdf
Thomas GIRARD, MA, CDP
 
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 
community health nursing question paper 2.pdf
Prince kumar
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - GLOBAL SUCCESS - CẢ NĂM - NĂM 2024 (VOCABULARY, ...
Nguyen Thanh Tu Collection
 
SPINA BIFIDA: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
Isharyanti-2025-Cross Language Communication in Indonesian Language
Neny Isharyanti
 
Generative AI: it's STILL not a robot (CIJ Summer 2025)
Paul Bradshaw
 
Stereochemistry-Optical Isomerism in organic compoundsptx
Tarannum Nadaf-Mansuri
 
Knee Extensor Mechanism Injuries - Orthopedic Radiologic Imaging
Sean M. Fox
 
Ad

Generative AI and Large Language Models (LLMs)

  • 1. Generative AI and Large Language Models (LLMs) Prof. Roma Smart Joseph March 10, 2025)
  • 2. Introduction to Generative AI What is Generative AI? AI models that generate new, original content (text, images, audio, video, etc.). Examples: DALL-E 2 (images), GPT-3 (text), Midjourney (images), RunwayML (videos), Jukebox (music). Real-world Applications: Content creation, drug discovery, design, code generation, fraud detection. How it differs from other AI approaches Focus on creation vs. prediction or classification. Unsupervised or self-supervised learning as opposed to supervised learning. Transforms noise into data and learns underlying patterns.
  • 3. Types of Generative AI Models 1 GANs (Generative Adversarial Networks) Concept: Two neural networks (generator and discriminator) compete against each other to generate realistic data. 2 VAEs (Variational Autoencoders) Concept: Probabilistic models that learn a compressed latent space representation of data. 3 Autoregressive Models Concept: Predict the next token (word, pixel, etc.) based on previous tokens.
  • 4. Introduction to Large Language Models (LLMs) What are LLMs? Large Language Models (LLMs) are advanced AI systems that can understand and generate human-like text. They are trained on massive amounts of text data and can answer questions, write stories, summarize information, translate languages, and even generate code. Simple Example: 🔹 You type: "Tell me a joke." 🔹 LLM responds: "Why don’t robots get tired? Because they recharge!" LLMs work like super-smart chatbots that can help with research, writing, and problem-solving. Examples include ChatGPT, Google Bard, and Claude. Training Data Examples: Common Crawl (petabytes of web data), Books3 (large collection of books), Wikipedia, code repositories. Data Cleaning and Preprocessing: Critical for model performance and safety. Tokenization: Converting text into numerical tokens for model input.
  • 5. Transformer Architecture: The Engine Behind LLMs Attention Mechanism Concept: Allows the model to focus on relevant parts of the input sequence when making predictions. Encoder-Decoder Structure Encoder: Processes the input sequence and creates a contextualized representation. Key Components Positional Encoding: Adds information about the position of tokens in the sequence. Benefits of Transformers Parallelization: Attention mechanism allows for parallel processing of the input sequence.
  • 6. Capabilities and Applications of LLMs Text Generation Content creation (articles, blog posts, marketing copy). Language Translation Real-time translation of text and speech. Question Answering Extracting answers from large documents or knowledge bases. Summarization Generating concise summaries of long documents or articles.
  • 7. Challenges and Limitations of LLMs 1 Bias and Fairness Models can perpetuate and amplify biases present in the training data. 2 Factuality and Hallucination LLMs can generate incorrect or nonsensical information. 3 Computational Cost Training and deploying LLMs require significant computational resources. 4 Security and Misuse LLMs can be used to generate disinformation, spam, and malicious content. 5 Ethical Concerns Job displacement due to automation.
  • 8. The Future of Generative AI and LLMs Continued scaling and improvement of models Larger models with more parameters and better training data. Integration with other AI modalities Combining LLMs with computer vision, robotics, and other AI systems. Democratization of access Making LLMs more accessible to developers and researchers through APIs and open-source initiatives. New applications and industries Revolutionizing healthcare, education, entertainment, and other sectors. Focus on responsible AI development Addressing ethical concerns and mitigating risks associated with LLMs.