Skip to content

sinanuozdemir/foundations-of-gen-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

oreilly-logo

Transformer Architectures for Generative AI

This repository contains code for the O'Reilly Live Online Training for "Transformer Architectures for Generative AI"

This course is designed to provide a deep understanding of transformer architectures and their revolutionary impact on both natural language processing (NLP) and vision tasks. This course is crucial for professionals looking to stay at the forefront of AI advancements, as transformers are now the cornerstone of many state-of-the-art models. By combining theory with practical exercises, participants will learn how to harness the power of transformers to tackle complex problems in text, image, and multimodal AI.

Notebooks

Introduction to LLMs

  1. BERT - the beginnings of LLMs
  2. T5 - the beginnings of instructional alignment
  3. GPT - How LLMs learned to talk
  4. Multimodal LLMs
  5. [Inspecting LLM token embeddings](notebooks/LLM Embeddings.ipynb) - Explore how different attention mechanisms lead to different token embeddings

Advanced LLMs

LLM Embedding

LLM Classification

Multimodal

SAWYER - Instructional Fine-tuning

Distillation

Agents / RAG

  • RAG Retrieval: An introduction to vector databases, embeddings, and retrieval
  • Evaluating Tool Selection - Calculating the accuracy of tool selection between different LLMs and quantifying the positional bias present in auto-regressive LLMs

Probing

Instructor

Sinan Ozdemir is founder and CTO of LoopGenius, where he uses state-of-the-art AI to help people create and run their businesses. He has lectured in data science at Johns Hopkins University and authored multiple books, videos and numerous online courses on data science, machine learning, and generative AI. He also founded the recently acquired Kylie.ai, an enterprise-grade conversational AI platform with RPA capabilities. Sinan most recently published Quick Guide to Large Language Models, and launched a podcast audio series, AI Unveiled. Ozdemir holds a master’s degree in pure mathematics from Johns Hopkins University.