0% found this document useful (0 votes)
4K views16 pages

AI-417-IX Unit 4 Generative AI

Uploaded by

Kalpana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
4K views16 pages

AI-417-IX Unit 4 Generative AI

Uploaded by

Kalpana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
Unit 4| Generative Al 92 G@GESEnEE Introduction to Generative Al PPT yi -elcen ay '* Students will be able to define Generative Al & classify different kinds. * Students will be able to explain how Generative Al works and recognize how it learns. + Students will beable to apply Generative AI tools to create content. + Students will understand the ethical considerations ofusing Generative AI Guess the Real Image vs. the Al-Generated Al-generated Image Paneer Saree Purpose bare! sees + Tounderstand the difference between real and Al-Generated Images. + Examine the images and determine whether either of the images is a real image or an Al generated image. Also, give reasons for your answer This is where our analytical skills come into play. We can uncover crucial clues by focusing on the nuances in lighting and texture. If you zoom in, you will notice how simplistic the shuttle design is in the Al-generated image compared to the realimage, which features more complexity in the lines, divots,and shading. — Ce Supervised Learning and Discriminative Modeling in Al ‘The classification of data elements into categories or labels was initially taughtto the machine learning models by humans. ‘Three of these images are ‘Al generated and one is an Imagine a teacher is training students to identify different types of | actual photo. leaves. The teacher shows pictures of leaves, point out their features (broad, pointy, etc), and tell the student if it's a mango leaf, neem leaf, and so on. This is similar to how computers learn in supervised learning, a type of Artificial Intelligence (Al). Supervised Learning is like training a computer with examples, We provide the computer with data (pictures of leaves) and tell it the desired outcome (type of leaf). The computer analyzes the data, learns the patterns, and can then predict the outcome for new, unseen data (identifying anew leaf), Here is how ithappens: 1, Training Data: We give the computer a lot of data points, like labeled pictures of leaves. Each picture isan instance, and the label (mango leaf, neem leaf) is the target variable. 2, Learning Algorithm: The computer usesa special program to analyze the data. This program is like the student learning from the teacher. 3. Making Predictions: Once trained, the computer can predict the target variable for new, unseen data, It can analyze a new leaf picture and tell you if it's a mango or neem (or something else entirely!) Discriminative Modeling is a specific type of supervised learning where the computer learns to distinguish between different categories. In our leaf example, the computer learns the differences between mango leaves, neem leaves, and other types based on features like shape and size, Here is an image which explains the concept of these images are generating. Input Output Bike ona bike Examples of Supervised Learning and Discriminative Modeling in Action: + Spam Filtering: Your email uses supervised learning to identify spam emails. Itanalyzes emails and learns the patterns of spam messages (words, sender information) to filter them out. + Face Recognition: Social media apps use supervised learning to recognize faces in photos They are trained on millions of labeled images (person A, person B) to identify people in new pictures. + Handwritten Digit Recogni janks use supervised learning to read handwritten digits on cheques. The computer is trained on many labeled images of handwritten numbers to recognize them accurately. [Activity 2) Sort the Fruit Basket 1. Take pictures of different fruits (apple, orange, banana). 2, Label each picture with the fruit name, mel 3. Use a free, online image classification tool (available with basic ee | functionality) and upload your pictures. [Scan the QR code to use online fe image classification tool [Link] s 4, Train the tool to identify the fruits based on your pictures. 5. st the tool with new pictures - can it correctly identify the fruits? Unsupervised Learning and Generative Modeling Imagine you're at a party with a bunch of masked people. You can'tsee their faces, but by observing their conversations and interactions, you can guess who might be friends or belong to the same group. This is similar to how computers learn in unsupervised learning, another type of Artificial Intelligence (Al). Unsupervised Learning is like letting a computer explore a big pile of data on its own, without pre-defined categories or labels. The computer finds patterns, similarities, and hidden structures within the data, just like you guessed friendships at the party. This can be further simplified here: 1. Unlabeled Data: We give the computer a lot of data, but this data doesn’t have any specific labels or categories. It's like a pile of clothes without tags 2. Pattern Recognition: The computer uses special algorithms to analyze the data and find patterns or relationships between different data points. 3. Grouping and Clustering: Based on the patterns, the computer might group similar data points together. It's like figuring out who talks to whom the most at the party. Generative Modeling is a specific type of unsupervised learning where the computer uses the patterns it finds to create entirely new data. Going back to the party analogy, after observing interactions, the computer might try to predict what two people might talk about next, or even create astory about the party! Examples of Unsupervised Learning and Generative Modeling in Action: + Recommendation Systems: Apps like Netflix or Youtube use unsupervised learning to recommend movies or videos you might like. They analyze your watch history and find patterns to suggest similar content. + Image Segmentation: Medical imaging software uses unsupervised learning to identify different tissues or organs in an X-ray or MRI scan. It analyzes the image and groups pixels with similar characteristics. + Music Generation: Some Al programs can create new music pieces by learning from existing songs. They analyze the patterns in music (tempo, rhythm, melody) and generate new compositions based on those patterns. Activity | Play "I Spy - Unsupervised Edition” 1. One student describes an object in the classroom (chair, table, etc.) without saying its name 2. The other students ask yes/no questions about the object's properties (e.g, Is it made of wood? Does it have legs?) 3. Based on the questions, they try to guess the object. This is similar to unsupervised learning - they are using the object's properties (data) to identify it (like a computer finding patterns). In unsupervised or self-supervised learning, the machine learning model takes unlabeled datasets and figures out patterns and inherent structures within them — without human intervention. CSTE Watch the video by scanning the QR code and share your views: https: //[Link],com/watch?v=26f]_ADteHo ‘2 ol a ae ay Whatis Generative AI? Generative Al, short for Generative Artificial Intelligence, refers to a type of Al that can create new data, like text, images, code, or even music. Imagine itas a creative Al artist who learns froma massive collection of existing works and then uses that knowledge to produce entirely new and original content. This technology is trained with existing data and content, creating the potential for applications such as natural language processing, computer vision, the metaverse, and speech synthesis, Simply we can say Generative Al is basically a computer program that can create new things, like text, images, or even music, based on what it's learned from existing data. Think of it like a supercharged copycat that can learn styles and patterns from a massive amount of information. Whatis the foundation for Generative AI? + Foundational advancements: The rise of neural networks and deep learning laid the groundwork for the sophisticated generative models we see today. + Progressive breakthroughs: From early attempts to recent successes in areas like natural language processing and image generation, generative Al has seen a steady stream of novations. + Continuous refinement: The field is constantly evolving, with researchers improving existing techniques and exploring new applications. + Diverse applications: Generative Al's reach now extends far beyond its initial goals, npacting areas like text creation, image synthesis, and even creative content development. Let us havea lookat timeline of Generative Al The Evolution of Generative Al: A Journey from Simple to Spectacular Early Steps: Learning from Scratch Back in the day, computers were like robots who only followed orders. But then came neural networks, inspired by the human brain. These networks allowed computers to learn from examples, just like us! This was a key step for Generative Al. Training Makes Perfect: Deep Learning Takes the Wheel Think of learning a new language. The more words you learn, the better you speak it. Similarly, Generative AI needs a lot of data to improve. This is where deep learning comes in. Deep learning allows Al to process massive amounts of information, like text, pictures, and music. By analyzing these "mountains" of data, Generative Al learns patterns and recreates them in new ways From Simple to Spectacular: Creativity Takes Flight! Remember those old, rule-following computers? With advancements in neural networks and deep learning, Generative Al started getting creative. It could now generate new things based on what it had learned. Imagine feeding it a bunch of poems and then asking it to write its own - that's the power we're talking about! Today, Generative Al can do some pretty cool things: + Writing Partner: Stuck on your school project? Generative Al can help craft compelling stories based on your ideas.

You might also like