Generative AI Flashcards

1
Q

Bard

A

Googles

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Jupyter Notebooks

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Vertex AI Studio

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

LLM

A

Large Language Model

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Vertex AI

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Vertex AI Search and Conversation

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

PaLM
LaMDA

A

Pathways Language Model or LaMDA (or Language Model for Dialogue Applications) ingest very, very large data from multiple sources across the Internet and build foundation language models we can use simply by asking a question - whether typing it into a prompt or verbally talking into the prompt itself.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

MakerSuite

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Gemini

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Model Garden

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Temperature

A

https://lukesalamone.github.io/posts/what-is-temperature/

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Transformer

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Pegasus

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

NLU

A

Natural language understanding

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

NLG

A

Natural language generation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Hallucinations

A

words or phrases that are generated by the model that are often nonsensical or grammatically incorrect
Because…
The model is not trained on enough data
The model is trained on noisy or dirty data.
The model is not given enough context.

17
Q

A prompt

A

a natural language text that requests the generative AI to perform a specific task.

A prompt is a short piece of text that is given to the LLM as input, and it can be used to control the output of the model in a variety of ways. Prompt design is the process of creating a prompt that will generate the desired output from a large language model (LLM). Like I mentioned earlier, Generative AI depends a lot on the training data that you have fed into it. It analyzes the patterns and structures of the input data, and thus “learns.”

18
Q

Foundation Model

A

A foundation model is a large AI model pretrained on a vast quantity of data that was “designed to be adapted” (or fine-tuned) to a wide range of downstream tasks, such as sentiment analysis, image captioning, and object recognition.

Another model that’s larger than those I mentioned is a foundation model, which is a large AI model pre-trained on a vast quantity of data “designed to be adapted” (or fine-tuned) to a wide range of downstream tasks, such as sentiment analysis, image captioning, and object recognition. Foundation models have the potential to revolutionize many industries, including healthcare, finance, and customer service. They can even be used to detect fraud and provide personalized customer support. If you’re looking for foundation models, Vertex AI offers a Model Garden that includes Foundation Models.

19
Q

Define Generative AI

A

Generative AI is a type of artificial intelligence technology that can produce various types of content- including text, imagery, audio and synthetic data.

What is Generative AI? GenAI is a type of Artificial Intelligence 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 uses this statistical model to predict what an expected response might be–and this generates new content. It learns the underlying structure of the data and can then generate new samples that are similar to the data it was trained on.

20
Q

Explain how generative AI works

A

A generative AI model starts by efficiently encoding a representation of what you want to generate. For example, a generative AI model for text might begin by finding a way to represent the words as vectors that characterize the similarity between words often used in the same sentence or that mean similar things.

21
Q

Describe General AI model types

A

Gen AI is a subset of deep learning, which means it uses Artificial Neural Networks, can process both labeled and unlabeled data, using supervised, unsupervised, and semi-supervised methods.

LLMs are also a subset of Deep Learning.

22
Q

Describe General AI applications

A

The Generative AI process can take training code, labeled data, and unlabeled data of all data types and build a “foundation model”. The foundation model can then generate new content. It can generate text, code, images, audio, video, and more.

23
Q

What is AI?

A

AI is a branch of computer science that deals with the creation of intelligent agents, and are systems that can reason, learn, and act autonomously.

24
Q

Deep Learning

A

Deep learning is a type of machine learning that uses artificial neural networks, allowing them to process more complex patterns than machine learning. Artificial neural networks are inspired by the human brain.

25
Q

Supervised Learning

A

Two of the most common classes of machine learning models are unsupervised and supervised ML models. The key difference between the two is that with supervised models, we have labels. Labeled data is data that comes with a tag, like a name, a type, or a number. Unlabeled data is data that comes with no tag.

26
Q

Unsupervised Learning

A

Two of the most common classes of machine learning models are unsupervised and supervised ML models. The key difference between the two is that with supervised models, we have labels. Labeled data is data that comes with a tag, like a name, a type, or a number. Unlabeled data is data that comes with no tag.

27
Q

Discriminative Model

A

A discriminative model is a type of model that is used to classify or predict labels for data points. Discriminative models are typically trained on a dataset of labeled data points, and they learn the relationship between the features of the data points and the labels. Once a discriminative model is trained, it can be used to predict the label for new data points.

28
Q

Generative Model

A

A generative model generates new data instances based on a learned probability distribution of existing data. Generative models generate new content.

29
Q

Deep Learning Model Types

A

Discriminative, Generative

30
Q

Generative language model

A

Generative language models are pattern-matching systems. They learn about patterns based on the data you provide.

31
Q

Transformer

A

Transformers produced the 2018 revolution in Natural Language Processing. At a high-level, a Transformer model consists of an encoder and decoder.
Hallucinations can be a problem for Transformers because they can make the output text difficult to understand.

32
Q

Encoder

A

The encoder encodes the input sequence and passes it to the decoder, which learns how to decode the representations for a relevant task.

33
Q

Decoder

A

decode the representations for a relevant task.

34
Q
A
35
Q

Gemini

A

In this example, I’ve input a code file conversion problem - converting from Python to JSON. I use Gemini and insert into the prompt box “I have a Pandas DataFrame with two columns – one with the filename and one with the hour in which it is generated. I am trying to convert it into a JSON file in the format shown on screen. Gemini returns the steps I need to do this – and the code snippet! And here my output is in a JSON format. Pretty cool huh? Well get ready, it gets even better. It gets better. I happen to be using Google’s free-browser based Jupyter Notebook and can simple export the Python code to Google’s Colab. So to summarize - Gemini Code Generation Can Help You…. Debug your lines of source code. Explain your code to you line by line. Craft SQL queries for your database. Translate code from one language to another. Generate documentation and tutorials for source code. I