Decoding the Giants
Unveiling the Mysteries of Large Language Models (LLM)
Anuj Dutt
GenAI @ Adobe
Caption
AI is Everywhere
Agenda
GenerativeAI
LLM / LVM
GenAI - Models that Generate Content
Text
Video
Images
Audio
Others
LLM’s - A 10,000 ft View
Introduction to Language Models
Classic Natural Language Problems
LLM in Simple Terms
LLM Data Preprocessing Pipeline
LLM Model Pre-Training
Chunk of Internet,
~10 TB of Text
6000 GPUs for 12 days,
~$2M in Cost,
~1e24 FLOPS
~140 GB
parameters file
What is an LLM Really Learning?
Example Tasks
Roses are red,
Roses are red,
Violets are blue,
Sugar is sweet,
for(var i = 0
for(var i = 0; i <10; i++) {
Text Completion
Code Completion
ChatGPT’s Language Model
Next Word Prediction Task as Dataset Compression
LLMs let us
prototype fast
Evolution of LLM’s
Understanding Transformers
Year: 2017 - The Birth of a New Era in Language Processing
Transformer Illustration for Translation Task
Breakthrough: BERT Model
Breakthrough: GPT Model
Text Classification Task
Does a given premise
imply a hypothesis?
How similar two pieces
of text are?
Given a context, choose
The most appropriate
Answer from multiple
options.
GPT - 4
Sparks of Artificial General Intelligence…
LLama Model
Pre-training vs Fine-tuning
Applications/Demos
Understanding Self-Attention in Transformers
Next Word Prediction using Pre-trained LLM
Pre-trained LLM Fine-tuning using LoRA
Retrieval Augmented Generation using LLM’s
Key Takeaways
Questions?