Intro Flashcards
What is Artificial Intelligence
AI is the theory and development of computer systems able to perform tasks normally requiring human intelligence. AI is a discipline, like how Physics is a discipline of science.
What is Machine Learning
A sub-field of AI, It is a program or system that trains a model from input data. The trained model can make useful predictions from new (never-before-seen) data drawn from the same one used to train the model.
This means that Machine Learning gives the computer the ability to learn without explicit programming.
Supervised ML models
Supervised models have labelled data a.k.a data with a tag that identifies that data.
Unsupervised ML models
Unsupervised models have unlabelled data which is harder to work with vs labelled data
Supervised learning implies..
that the data is already labeled. In supervised learning we are learning from past examples to predict future values.
Unsupervised learning implies..
that the data is not labelled. Unsupervised problems are all about looking at the raw data, and seeing if it naturally falls into groups.
What is the unsupervised learning system flow?
Input data -> Model -> Generated Example
What is the supervised learning system flow?
Input data -> Model -> Predict Output -> Compare to expected output from training data -> Error -> update model
What is Deep Learning?
A sub-set of machine learning. Deep learning uses Artificial Neural Networks - allowing them to process more complex patterns than traditional machine learning.
What is Generative AI?
Generative AI is a subset of Deep Learning, & a type of AI that creates new content based on what it has learned from existing content. the process of learning from existing content is called training and results in the creation of a statistical model. When given a prompt, GenAI used this statistical model to predict what an expected response might be - and this generates new content.
What are Large Language Models?
LLMs are also a subset of Deep Learning
What 2 types can Deep Learning Models be divided into?
Discriminative & Generative
What is Discriminative AI?
Used to classify or predict, it’s typically trained on a dataset of labeled data, and learns the relationship between the features of the data points and the labels. E.g classifies a dog from a photo
What is Generative AI as a model?
Generates new data that is similar to data it was trained on, Understands distribution of data and jow likely a given example is, and predicts next words in a sequence. E.g generates a picture of a dog
What outputs are not Gen AI outputs?
Numbers, Discrete, Class, & Probability
What outputs are Gen AI outputs?
Natural Language, Images, Audio
Generative Language Models
Generative language models learn about patterns in language through training data. Then, given some text, they predict what comes next.
Generative image models
Generative image models produce new images using techniques like diffusion. Then, given a prompt or related imagery, they transform random noise into images or generate images from prompts.
What are Hallucinations?
Hallucinations are words or phrases that are generated by the model that are often nonsensical or grammatically incorrect.
What causes Hallucinations?
The model is:
- not trained on enough data
- trained on noisy or dirty data
- not given enough context
- not given enough constraints
What is a Prompt & Prompt Design?
A prompt is a short piece of text used to control the output of the LLM by inputting it into the LLM to “prompt” the model. Prompt Design just means that the quality of the input determines the quality of the output.
What different model types are there?
text-to-text
What is the text-to-text model type?
Text-to-text models take a natural language input and produce text output. These models are trained to learn the mapping between a pair of texts.
Uses include:
- text generation
- text classificiation
- text summarization
- text translation
- text (re)Search
- text extraction
- text clustering
- Content editing / rewriting
What is the text-to-image model type?
Text-to-image models are relatively new and are trained on a large set of images, each captioned with a short text description. Diffusion is one method used to achieve this.
Uses include:
- Image generation
- Image editing