Skip to content

This repository contains all the classwork, assignments, and project code for the Generative AI course (Quarter 4) offered by the Governor Initiative for AI and Computing (GIAIC).Ideal for learners and developers interested in mastering Generative AI with real-world applications.

Notifications You must be signed in to change notification settings

BBismaarshad/GIAIC-Generative-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Generative-AI

Introduction to Generative AI and How Artificial Intelligence (AI) Works

This document provides a brief overview of Generative AI and explains the fundamental workings of Artificial Intelligence (AI).

Generative AI: Creating New Content

Generative AI is a branch of artificial intelligence focused on creating new and original content, such as text, images, audio, video, or code. These intelligent systems leverage machine learning and deep learning techniques to understand patterns from training data and then generate novel data that shares similar characteristics.

Examples of Generative AI

  • ChatGPT: A language model capable of generating human-like text, answering questions, and engaging in conversations.
  • DALL·E: An AI system that can create realistic images and art from textual descriptions.
  • MusicLM: A model developed for generating high-fidelity music across various genres.

Applications of Generative AI

Generative AI is being utilized across a wide range of industries:

  • Content Creation: Generating articles, scripts, and marketing copy.
  • Graphic Design: Producing AI-generated artwork and design elements.
  • Coding Assistance: Automating code generation and providing programming help.
  • Education: Developing interactive and personalized learning tools.
  • Business: Creating automated reports, summaries, and data visualizations.

The core idea behind generative AI is its ability to take a prompt or input and produce a new and creative output. This "generative" nature distinguishes it from traditional AI.

Traditional AI vs. Generative AI

Aspect Traditional AI Generative AI
Purpose Makes decisions or predictions Creates new content
How it works Analyzes data to give answers or decisions Learns from data and creates similar new content
Examples Spam filters, recommendation systems, fraud detection ChatGPT, DALL·E, Bard, Midjourney
Output Fixed answers (like yes/no, numbers) Creates text, images, music, videos, or code
Data usage Only analyzes data, doesn't create new content Learns the style of data and creates something new
Flexibility Used for specific tasks only More flexible—can do many different types of tasks

How Artificial Intelligence (AI) Works

At its core, AI functions through a process of learning from data, applying algorithms, making decisions, and continuously improving over time.

1. Learning from Data (Training)

AI models are trained on vast amounts of data. This process is analogous to a student learning from books. By analyzing this data, the AI identifies patterns, relationships, and structures.

Example: If an AI is shown thousands of images of different animals (dogs, cats, lions), it learns to recognize the visual characteristics that distinguish each animal.

2. Use of Algorithms

AI employs algorithms, which are essentially sets of rules or formulas. These algorithms dictate how the AI should process input data and what actions it should take.

Example: If an AI algorithm is designed for image recognition and encounters a picture with long ears, a rule within the algorithm might suggest, "If the ears are long, it might be a rabbit." The AI then follows this rule to make a prediction.

3. Making Decisions

Once the AI has processed the input data using its learned patterns and algorithms, it makes decisions or predictions based on this analysis.

Examples:

  • "This picture is of a dog." (Image classification)
  • "This email is spam." (Spam detection)
  • "The predicted sales figure for next quarter is $X." (Forecasting)

4. Getting Better Over Time (Learning More)

A key aspect of AI, particularly machine learning, is its ability to improve its performance with more data and experience. The AI learns from its mistakes, refines its algorithms, and becomes more accurate over time. This iterative process is crucial for enhancing the AI's capabilities.

Simple Example: ChatGPT

  1. Input: You type a question into ChatGPT.
  2. Training: ChatGPT has been trained on a massive dataset of text and code.
  3. Processing: It understands your question by analyzing the words and their context, drawing upon its training data.
  4. Output: It generates a relevant and coherent answer based on its understanding.

Quick Summary of How AI Works

  • Data Input: AI receives and processes data.
  • Algorithm Application: It uses algorithms to analyze the data.
  • Training: Through training on large datasets, it learns patterns and relationships.
  • Decision/Output: Based on its learning and the algorithms, it makes decisions or generates outputs.

About

This repository contains all the classwork, assignments, and project code for the Generative AI course (Quarter 4) offered by the Governor Initiative for AI and Computing (GIAIC).Ideal for learners and developers interested in mastering Generative AI with real-world applications.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published