UNIT 5
Training and Fine tuning of Generative models
Examples: Generative models include GPT, GANs, Variational Autoencoders (VAEs), and Diffusion Models.
Training of Generative Models
Training enables a generative model to learn the structure and distribution of the training data.
Steps involved:
Fine-Tuning of Generative Models
Fine-tuning improves a pre-trained model's performance on a particular task or domain without training the entire model from scratch.
Steps involved:
Definition
GPT4All in Generative AI
Working of GPT4All
Transfer Learning and Pretrained Models
Transfer Learning
Definition: Transfer learning is a technique in which a generative AI model uses knowledge learned from a large dataset and adapts it to a new, related task.
Instead of training a model from the beginning, we reuse an existing model and fine-tune it for a specific purpose.
Example: A pretrained image-generation model can be fine-tuned to generate traditional Indian paintings or medical images.
Pretrained Models
Definition: A pretrained model is a model that has already been trained on a large dataset and has learned useful patterns, features, or representations.
These models can be reused directly or adapted for specific applications.
Examples include:
Types of Transfer Learning
Introduction
Training vision models in Generative AI is the process of teaching generative AI models to understand, analyze, and generate visual content such as images, paintings, and realistic scenes from training data.
Vision models learn patterns such as shapes, colors, textures, objects, and spatial relationships from images. After training, they can generate new images, modify existing images, or create images from text descriptions.
Examples: DALL·E, Stable Diffusion, Midjourney, and Vision Transformer (ViT).
Training vision models
Training process in detail
Google Copilot
Google Gemini is a Generative AI system developed by Google. It uses advanced Large Language Models (LLMs) to understand user prompts and generate human-like text, images, code, summaries, and other content.
Gemini is a multimodal AI system, meaning it can work with different types of information, such as text, images, audio, and video, depending on the model and application.
Examples: OpenAI Codex, Code Llama, and Google Gemini with code-generation capabilities.
Programming LLM
Examples of applications include AI chatbots, document question-answering systems, virtual assistants, and Retrieval-Augmented Generation (RAG) systems.
Lang Chain
Working steps: