Prompt Engineering Lab Midterm Exam

You might also like

Download as rtf, pdf, or txt
Download as rtf, pdf, or txt
You are on page 1of 7

AI: Prompt Engineering by Michelle M.

Esperal
MIDTERM EXAMINATION
MIDTERM LAB EXAM
Marks 40.00/40.00

Grade 100.00 out of 100.00

Question 1

What is the role of the generator network in the 3DFY.ai code snippet?

Generating 3D images from prompts

Question 2

What is the dataset used to train LLMs?

Massive datasets of text and code

Question 3

What is the function of the gan_optimizer in the 3DFY.ai code snippet?

Updating the weights of the networks

Question 4

What is the purpose of using examples in prompt engineering?

To provide context for the prompt.

Question 5

What is the purpose of the diffusion model in DALL-E 2?


To gradually transform a random image into an image that matches the features.

Question 6

What type of artificial intelligence is used in 3DFY.ai to learn to create realistic outputs?

Generative adversarial networks (GANs)

Question 7

What is the role of experimentation in prompt engineering?

To learn how to improve prompts.

Question 8

What is the goal of prompt engineering?

To create prompts that are clear, concise, and effective.

Question 9

What is the technique used by DALL-E 2 to ensure that the generated image is realistic and matches
the text description?

CLIP

Question 10

What type of learning technique is used to train the neural network in DALL-E 2?

Supervised learning

Question 11

What are prompts in the context of AI generative models?

Instructions that tell the model what to do.


Question 12

What is DALL-E 2?

A large language model developed by OpenAI.

Question 13

What is the neural network used by DALL-E 2 to generate images?

GAN

Question 14

What is the context of the prompt?

It helps the app to understand what you are asking for

Question 15

What is the effect of using negative words in a prompt?

It confuses the app

Question 16

What is the importance of writing clear and concise prompts?

To get better results from the app

Question 17

What are LLMs?

Large Language Models


Question 18

What is the pattern used by an LLM to generate a response?

Both A and B

Question 19

What is the main responsibility of prompt engineers?

To develop new and innovative techniques to improve the performance of AI generative models.

Question 20

How does the generator in 3DFY.ai learn to generate 3D images closer to the prompt description?

Through reinforcement learning

Question 21

What is the role of the discriminator in the 3DFY.ai model?

Evaluating the quality of 3D images

Question 22

What is the main focus of prompt engineering?

To create prompts that are clear, concise, and effective.

Question 23

Why are keywords important in prompt engineering?

They help the model understand the task.

Question 24
What is the purpose of the provided references and supplementary materials in the document?

To provide additional resources for further learning

Question 25

What type of machine learning model is a generative adversarial network (GAN)?

A model that can generate realistic images.

Question 26

What is the primary focus of the reference material provided for Prompt Engineering for Text-Based
Generative Art?

Techniques for writing effective prompts

Question 27

What is the best way to learn how to improve prompts?

Experiment with different types of prompts

Question 28

What are prompts?

Both A and B

Question 29

What is the first step in processing a prompt by an LLM?.

Breaking it down into individual words and phrases

Question 30

What is the potential application of DALL-E 2 mentioned in the document?


Creating educational materials

Question 31

What is the primary technique used by 3DFY.ai to generate 3D models from text descriptions?

Generative adversarial networks (GANs)

Question 32

What is the main challenge in prompt engineering?

Lack of a standard methodology.

Question 33

What does the provided code do with the text description and the diffusion model?.

Generates the image

Question 34

What is the use of negative words in prompt engineering?

They confuse the model.

Question 35

What is the purpose of the gan_train_step function in the 3DFY.ai code snippet?

Updating the weights of the networks

Question 36

What are the tips for improving prompts?


Use keywords that are relevant to the task

Question 37

What is the recommended approach for writing a good prompt for 3DFY.ai?

Being specific and using keywords

Question 38

What does the size of the GAN affect in 3DFY.ai?

The quality of the 3D images generated

Question 39

How does DALL-E 2 generate images from text descriptions?

By using a technique called diffusion modeling.

Question 40

What is the future of prompt engineering?

It will lead to reduced bias in AI generative models.

You might also like