Lesson 02 Getting Started With Generative AI
Lesson 02 Getting Started With Generative AI
Generative artificial intelligence (GenAI) refers to a category of AI systems that focus on generating new
content, such as images, text, music, or other forms of creative output.
These models are designed to generate content that is realistic, innovative, and coherent based
on patterns and examples learned from training data.
Generative AI
Generative AI (GenAI) is a subset of artificial intelligence that leverages machine learning and deep
learning techniques to generate data.
It forms realistic images such as artworks, designs, or even human faces. This technology proves useful in
sectors such as graphic design, gaming, and entertainment.
Generating images
Applications of Generative AI
It can craft human-like text, ranging from simple sentences to comprehensive articles, benefiting
areas like content creation, copywriting, and programming.
Generating text
Applications of Generative AI
It can compose music or generate new sound effects, finding applications in the music industry,
film scoring, and sound design.
It expedites the pharmaceutical industry by generating molecular structures for new drugs, thus
accelerating the discovery process and curbing costs.
Discovering drugs
Applications of Generative AI
It can form additional training data in machine learning, enhancing model performance when the
original dataset is small or unbalanced.
Augmenting data
Generative vs. Discriminative Models
Generative Models
Generative models are AI models that learn data patterns and generate new instances resembling the
training data.
Discriminative models, on the other hand, do not attempt to understand or replicate the data
distribution; they focus on distinguishing between different classes of data.
These models will classify data based on learned distinctions from the training data.
Generative AI vs. Discriminative Models
The differences between generative models and discriminative models are as follows:
Generative AI can generate text for articles, blogs, and social media posts.
Both of these can assist users in drafting emails by suggesting complete sentences.
Real-World Applications of GenAI in Text Generation
Prompt:
Create a meal plan for 1700 calories. Include ingredients that are easily available in the average grocery
store. Keep in mind that I am lactose intolerant.
Real-World Applications of GenAI in Text Generation
Follow-up prompt:
Give time reference for the above along with calorie information
Real-World Applications of GenAI in Text Generation
Prompt:
Go through this link https://www.simplilearn.com/ and summarize it
Real-World Applications of GenAI in Text Generation
Drafts:
You can select different drafts.
Real-World Applications of GenAI in Video Generation
Discover revolutionary platforms that transform video creation, providing an extensive range of content
possibilities and streamlining production
GitHub Copilot and Amazon CodeWhisperer are AI-powered coding assistants. As developers code, these
tools provide suggestions for lines or blocks of code directly within the editor.
Prompts:
Write the below commands with # in VSCODE
It has the capacity to generate unique, creative, and sometimes intricate images based on a text
prompt. Here are some applications:
Prompt:
Create an image capturing a child playing in a park, illuminated by natural light, and displaying
candid expressions
Real-World Applications of GenAI in Image Generation
Prompt:
Create an image of kids playing with robots in a neon-lit city
Real-World Applications of GenAI in Image Generation
DeepDream by Google
• Baidu, a search engine, known as the Google of China, has made significant
strides in artificial intelligence research.
• The company focuses on generative models, contributing to advancements in
the field.
• Baidu's research in speech synthesis, natural language processing, and image
generation has been groundbreaking and noteworthy.
Once logged into the platform, users can engage with the AI language model.
Engaging in a Conversation with ChatGPT
Feel free to pose any question to ChatGPT, and it will strive to deliver
the most accurate response.
Engaging in a Conversation with ChatGPT
It's possible to have a dialog with ChatGPT or even seek its viewpoint on various topics.
Generating Content with ChatGPT
Generating Content with ChatGPT: Steps
Content generation with ChatGPT involves providing a prompt or question and receiving a response
from the AI model.
Iterate the
Provide conversation
feedback
Request
clarification
Ask for
examples
Specify the
format
Provide a
clear prompt
Outlining a Document with ChatGPT
ChatGPT generates an outline for the given topic, which includes main points and subpoints.
The created outline can serve as a roadmap for your writing, making the process more
organized and efficient.
Outlining a Document with ChatGPT
• This approach can apply to any type of writing, such as essays or blogs.
• An outline assists in structuring one’s thoughts, leading to clear and logical writing.
Crafting an E-mail Using ChatGPT
This involves utilizing the AI model to generate and structure email content.
The above example shows the prompt for generating an email from a sales head to a
customer explaining a BI dashboard for the manufacturing process.
Crafting an E-mail Using ChatGPT
It can structure a resume by generating detailed descriptions of skills and experiences and
composing a professional summary.
Creating a Resume or CV with ChatGPT
Open Internet Explorer and enter Bing in the search bar. Click on the highlighted portion.
Creating a Bing Account
The Bing login interface will appear as shown below; log in using your personal account, as indicated in
the highlighted section.
Creating a Bing Account
Follow the registration instructions. Once completed, you'll see your username displayed at the top
right corner as highlighted below:
Creating a Bing Account
The interface for Bing chat will then be displayed; you can start chatting with it.
Accessing the Bing Interface
Note: Bing chat is powered by DALL-E, a GenAI tool that converts text to images.
Group Activity
Group Activity: Gladiator Vision Through Bing
Remember: Your aim is to see how your descriptive prompts influence the AI's
visual output.
Key Takeaways
A. An AI model that can only classify and analyze input data without creating any new content
C. A branch of AI that involves models capable of generating new content or data that is like the
input data they were trained on
D. An AI model that can only analyze and respond to natural language input without creating
any new content
Knowledge
Check
Which of the following defines Generative AI?
1
A. An AI model that can only classify and analyze input data without creating any new content
C. A branch of AI that involves models capable of generating new content or data that is like the
input data they were trained on
D. An AI model that can only analyze and respond to natural language input without creating
any new content
Generative AI is a branch of AI that involves models capable of generating new content or data that is
similar to the input data they were trained on.
Knowledge
Check
What is the difference between generative AI and discriminative AI?
2