LLM Midterm Quiz 1

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/19

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 4:37 AM on 10/9/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

20 Terms

1
New cards

Which function can one use to typecast a tensor?

to

2
New cards

GPT Models are capable of translation tasks (T/F)

True

3
New cards

Which one of the following is not part of stage 1 of coding an LLM?

Model Evaluation

4
New cards

Open source models offer mort benefits than proprietary models (T/F)

True

5
New cards

Masked self attention prevents information leaking (T/F)

True

6
New cards

Tensor Library

PyTorch Implements a tensor (array) library for efficient computing

7
New cards

Deep learning library

PyTorch's deep learning utilities make use of its library and automatic differentiation engine

8
New cards

Automatic differentiation engine

PyTorch includes utilities to differentiate computations automatically

9
New cards

Pretrained LLMs (foundation model) are good at? (select choices that apply - could be multiple answers) Correct answer:

Text Completion

Translation

Classification

Few-shot capabilities

Personal Assistant

Summarization

Text Completion

Few-shot capabilities

10
New cards

Match each of the PyTorch functions below to their meanings len

return total length of the dataset

11
New cards

Match each of the PyTorch functions below to their meanings. init

set up attributes (file paths, file objects, database connectors, etc.,)

12
New cards

getitem

retrieving exactly one data record and the corresponding label

13
New cards

The ability to perform tasks that the model wasn’t explicitly trained to perform is called ____


Emergent Behavior

14
New cards

Which one of the following is not part of stage 2 of coding an LLM

Finetuning

15
New cards

Pretraining is generally less compute-intensive and requires less data. (T/F)

False

16
New cards

instruction fine-tuning

labeled dataset consists of instruction and answer pairs

17
New cards

few-shot

completes a task given a few examples of the task

18
New cards

classification fine-tuning

labeled dataset consists of texts and associated class labels

19
New cards

zero-shot

complete a task without an explicit example

20
New cards

text completion

creates plausible text given a partial input text