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

PDF
Automate your Job and Business with ChatGPT #3 - Fundamentals of LLM/GPT
PDF
1721436375967hhhhhhhhhhhhhuuuuuuuuuu.pdf
PDF
Generative AI & Large Language Models Agents
PDF
Comparison of Large Language Models The Ultimate Guide.pdf
PDF
Top Comparison of Large Language ModelsLLMs Explained.pdf
PDF
solulab.com-Comparison of Large Language Models The Ultimate Guide (1).pdf
PDF
Top Comparison of Large Language ModelsLLMs Explained (2).pdf
PDF
Top Comparison of Large Language ModelsLLMs Explained.pdf
Automate your Job and Business with ChatGPT #3 - Fundamentals of LLM/GPT
1721436375967hhhhhhhhhhhhhuuuuuuuuuu.pdf
Generative AI & Large Language Models Agents
Comparison of Large Language Models The Ultimate Guide.pdf
Top Comparison of Large Language ModelsLLMs Explained.pdf
solulab.com-Comparison of Large Language Models The Ultimate Guide (1).pdf
Top Comparison of Large Language ModelsLLMs Explained (2).pdf
Top Comparison of Large Language ModelsLLMs Explained.pdf

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

PPTX
An Introduction to AI LLMs & SharePoint For Champions and Super Users Part 1
PDF
solulab.com-Top Comparison of Large Language ModelsLLMs Explained.pdf
PDF
solulab.com-Top Comparison of Large Language ModelsLLMs Explained.pdf
PPTX
GenAIGenAIGenAIGenAIGenAIGenAIGenAI.pptx
PDF
Build a Large Language Model From Scratch MEAP Sebastian Raschka
PDF
Harnessing the Power of Generative AI with Large Language Models
PPTX
Large Language Models (LLMs) part one.pptx
PDF
Overview of Artificial Intelligence - Technology
PDF
Large Language Modelsjjjhhhjjjjjjbbbbbbj.pdf
PPTX
The Beginner's Guide To Large Language Models
PDF
The Significance of Large Language Models (LLMs) in Generative AI2.pdf
PDF
Master LLMs with LangChain -the basics of LLM
PPTX
Multimodel_LLM_for_Content_Generation.pptx
PDF
Evaluating the top large language models.pdf
PDF
Generative AI - Unleashing the Power of Creativity with Machines​
PPTX
Unit 5.ppt Fundamenrtal of Artificial intelligence
PDF
Train foundation model for domain-specific language model
PPTX
[GDSC-GNIOT] Google Cloud Study Jams Day 2- Cloud AI GenAI Overview.pptx
PPTX
Gnerative AI presidency Module1_L4_LLMs_new.pptx
PPTX
Understanding Large Language Models (1).pptx
An Introduction to AI LLMs & SharePoint For Champions and Super Users Part 1
solulab.com-Top Comparison of Large Language ModelsLLMs Explained.pdf
solulab.com-Top Comparison of Large Language ModelsLLMs Explained.pdf
GenAIGenAIGenAIGenAIGenAIGenAIGenAI.pptx
Build a Large Language Model From Scratch MEAP Sebastian Raschka
Harnessing the Power of Generative AI with Large Language Models
Large Language Models (LLMs) part one.pptx
Overview of Artificial Intelligence - Technology
Large Language Modelsjjjhhhjjjjjjbbbbbbj.pdf
The Beginner's Guide To Large Language Models
The Significance of Large Language Models (LLMs) in Generative AI2.pdf
Master LLMs with LangChain -the basics of LLM
Multimodel_LLM_for_Content_Generation.pptx
Evaluating the top large language models.pdf
Generative AI - Unleashing the Power of Creativity with Machines​
Unit 5.ppt Fundamenrtal of Artificial intelligence
Train foundation model for domain-specific language model
[GDSC-GNIOT] Google Cloud Study Jams Day 2- Cloud AI GenAI Overview.pptx
Gnerative AI presidency Module1_L4_LLMs_new.pptx
Understanding Large Language Models (1).pptx
Ad

Recently uploaded (20)

PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
Sports Quiz easy sports quiz sports quiz
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
Insiders guide to clinical Medicine.pdf
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
Classroom Observation Tools for Teachers
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
Pre independence Education in Inndia.pdf
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
Basic Mud Logging Guide for educational purpose
PDF
Computing-Curriculum for Schools in Ghana
PDF
RMMM.pdf make it easy to upload and study
PDF
01-Introduction-to-Information-Management.pdf
PPTX
Institutional Correction lecture only . . .
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
O7-L3 Supply Chain Operations - ICLT Program
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Sports Quiz easy sports quiz sports quiz
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Insiders guide to clinical Medicine.pdf
TR - Agricultural Crops Production NC III.pdf
Classroom Observation Tools for Teachers
Microbial diseases, their pathogenesis and prophylaxis
Pre independence Education in Inndia.pdf
PPH.pptx obstetrics and gynecology in nursing
Anesthesia in Laparoscopic Surgery in India
Supply Chain Operations Speaking Notes -ICLT Program
Basic Mud Logging Guide for educational purpose
Computing-Curriculum for Schools in Ghana
RMMM.pdf make it easy to upload and study
01-Introduction-to-Information-Management.pdf
Institutional Correction lecture only . . .
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Microbial disease of the cardiovascular and lymphatic systems
O7-L3 Supply Chain Operations - ICLT Program
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.