{"id":999,"date":"2024-09-10T09:00:00","date_gmt":"2024-09-10T08:00:00","guid":{"rendered":"https:\/\/www.ahbtraining.co.uk\/blog\/?p=999"},"modified":"2024-10-09T15:03:03","modified_gmt":"2024-10-09T14:03:03","slug":"introduction-to-generative-ai-part-4","status":"publish","type":"post","link":"https:\/\/www.ahbtraining.co.uk\/blog\/2024\/09\/introduction-to-generative-ai-part-4\/","title":{"rendered":"Introduction to Generative AI (part 4)"},"content":{"rendered":"\n<p>Let\u2019s take a closer look at <strong>How Generative AI Works<\/strong> in a simple, step-by-step way.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"421\" src=\"https:\/\/i0.wp.com\/www.ahbtraining.co.uk\/blog\/wp-content\/uploads\/2024\/09\/2024-09-10-Leonardo_Kino_XL_A_stepbystep_visual_representation_of_how_gen_1.jpg?resize=750%2C421&#038;ssl=1\" alt=\"\" class=\"wp-image-1035\" srcset=\"https:\/\/i0.wp.com\/www.ahbtraining.co.uk\/blog\/wp-content\/uploads\/2024\/09\/2024-09-10-Leonardo_Kino_XL_A_stepbystep_visual_representation_of_how_gen_1.jpg?resize=1024%2C575&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.ahbtraining.co.uk\/blog\/wp-content\/uploads\/2024\/09\/2024-09-10-Leonardo_Kino_XL_A_stepbystep_visual_representation_of_how_gen_1.jpg?resize=300%2C168&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.ahbtraining.co.uk\/blog\/wp-content\/uploads\/2024\/09\/2024-09-10-Leonardo_Kino_XL_A_stepbystep_visual_representation_of_how_gen_1.jpg?resize=768%2C431&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.ahbtraining.co.uk\/blog\/wp-content\/uploads\/2024\/09\/2024-09-10-Leonardo_Kino_XL_A_stepbystep_visual_representation_of_how_gen_1.jpg?resize=750%2C421&amp;ssl=1 750w, https:\/\/i0.wp.com\/www.ahbtraining.co.uk\/blog\/wp-content\/uploads\/2024\/09\/2024-09-10-Leonardo_Kino_XL_A_stepbystep_visual_representation_of_how_gen_1.jpg?w=1368&amp;ssl=1 1368w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">How Generative AI Works<\/h3>\n\n\n\n<p>Generative AI is a special kind of <strong>artificial intelligence<\/strong> that can create new content, like text, images, music, or even videos, by learning from a large set of examples. It doesn\u2019t just copy what it\u2019s learned\u2014it creates something new, based on patterns it has identified.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How the Process Works Step-by-Step:<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Learning Phase (Training)<\/strong>:\n<ul class=\"wp-block-list\">\n<li><strong>Definition<\/strong>: The AI is shown lots of examples (called <strong>training data<\/strong>) to learn patterns, structures, and details.<\/li>\n\n\n\n<li><strong>Explanation<\/strong>: This is like teaching a child by showing them many pictures of different animals. Over time, the child learns the difference between a cat, a dog, and a horse.<\/li>\n\n\n\n<li>For generative AI, if it\u2019s learning to generate text, it might be fed millions of sentences to understand how language works.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Recognising Patterns<\/strong>:\n<ul class=\"wp-block-list\">\n<li><strong>Definition<\/strong>: The AI starts to find common features in the data it\u2019s trained on.<\/li>\n\n\n\n<li><strong>Explanation<\/strong>: For example, if the AI is learning to generate images of animals, it might recognise that cats have pointy ears and whiskers. If it\u2019s learning to generate text, it might recognise that sentences start with a capital letter and end with a period.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Generating New Content<\/strong>:\n<ul class=\"wp-block-list\">\n<li><strong>Definition<\/strong>: Once trained, the AI can take an input (a prompt) and create new content that follows the patterns it learned.<\/li>\n\n\n\n<li><strong>Explanation<\/strong>: If you ask a generative AI trained on art to create a painting of a sunset, it will use what it learned about sunsets (colours, shapes, etc.) to generate a new image. It\u2019s not copying one exact sunset; it\u2019s creating a new one based on what it learned about sunsets.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Breaking It Down with an Example:<\/h3>\n\n\n\n<p>Let\u2019s say you\u2019re teaching an AI model to write poems:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Learning Phase<\/strong>:\n<ul class=\"wp-block-list\">\n<li>You show the AI thousands of poems, so it starts to learn the structure of poetry\u2014things like rhyming, line breaks, and metaphors.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Pattern Recognition<\/strong>:\n<ul class=\"wp-block-list\">\n<li>The AI recognises patterns in the poems, such as which words often rhyme, how many lines are in a stanza, and common themes like love, nature, or sadness.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Generating a New Poem<\/strong>:\n<ul class=\"wp-block-list\">\n<li>After learning from all the examples, the AI can now write its own poem. You give it a prompt like, \u201cWrite a poem about the moon,\u201d and it generates an original poem based on the patterns it learned from the poems it studied.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Key Concepts:<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Training Data<\/strong>:\n<ul class=\"wp-block-list\">\n<li><strong>Definition<\/strong>: The collection of examples (text, images, etc.) used to teach the AI.<\/li>\n\n\n\n<li><strong>Explanation<\/strong>: For generative AI, the quality and size of the training data are very important. More diverse and high-quality data means the AI will generate better results.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Input<\/strong>:\n<ul class=\"wp-block-list\">\n<li><strong>Definition<\/strong>: The starting point or prompt you give the AI, such as a question or a topic.<\/li>\n\n\n\n<li><strong>Explanation<\/strong>: If you want the AI to create an image, the input might be \u201ca cat playing with a ball.\u201d For text, the input could be something like \u201cwrite a story about a pirate.\u201d<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Output<\/strong>:\n<ul class=\"wp-block-list\">\n<li><strong>Definition<\/strong>: The new content the AI creates based on the input.<\/li>\n\n\n\n<li><strong>Explanation<\/strong>: This could be a new image, a piece of text, or even music, depending on what the AI is designed to generate.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Example in Simple Terms:<\/h3>\n\n\n\n<p>Imagine you have a robot that loves drawing. You give it a bunch of pictures of animals (the <strong>training data<\/strong>) and say, \u201cLearn from these!\u201d After looking at the pictures, the robot learns that dogs have four legs and floppy ears. Now, when you ask the robot to draw a dog, it creates a new picture of a dog based on what it learned, even though it\u2019s not copying any specific picture.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Summary<\/h2>\n\n\n\n<p>Generative AI works by learning from a huge amount of data (like text or images) to recognize patterns. Once it has learned those patterns, it can generate new, original content based on the input or prompts it receives. It\u2019s like a very smart tool that creates new things based on what it has already learned!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Next up<\/h2>\n\n\n\n<p>So far it has all been about the concepts and mechanisms of Generative AI. In the next and final article in this series we consider the benefits, risks and the future of AI.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Let\u2019s take a closer look at How Generative AI Works in a simple, step-by-step way. How Generative AI Works Generative AI is a special kind of artificial intelligence that can create new content, like text, images, music, or even videos, by learning from a large set of examples. It doesn\u2019t just copy what it\u2019s learned\u2014it &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"https:\/\/www.ahbtraining.co.uk\/blog\/2024\/09\/introduction-to-generative-ai-part-4\/\">Continue reading<\/a><\/p>\n","protected":false},"author":1,"featured_media":1035,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[385],"tags":[398,396,390,395,397,378,382,399,383,377],"class_list":["post-999","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-artificial-intelligence","tag-aiandcreativity","tag-aicontentcreation","tag-aiinnovation","tag-aimadesimple","tag-aitraining","tag-futureofai","tag-generativeai","tag-howaiworks","tag-machinelearning","tag-techexplained","item-wrap"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.ahbtraining.co.uk\/blog\/wp-content\/uploads\/2024\/09\/2024-09-10-Leonardo_Kino_XL_A_stepbystep_visual_representation_of_how_gen_1.jpg?fit=1368%2C768&ssl=1","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.ahbtraining.co.uk\/blog\/wp-json\/wp\/v2\/posts\/999","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ahbtraining.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ahbtraining.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ahbtraining.co.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ahbtraining.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=999"}],"version-history":[{"count":11,"href":"https:\/\/www.ahbtraining.co.uk\/blog\/wp-json\/wp\/v2\/posts\/999\/revisions"}],"predecessor-version":[{"id":1037,"href":"https:\/\/www.ahbtraining.co.uk\/blog\/wp-json\/wp\/v2\/posts\/999\/revisions\/1037"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ahbtraining.co.uk\/blog\/wp-json\/wp\/v2\/media\/1035"}],"wp:attachment":[{"href":"https:\/\/www.ahbtraining.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=999"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ahbtraining.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=999"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ahbtraining.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=999"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}