I have a piece of text and two tokenizers: tokenizer A tokenizes per character, and tokenizer B tokenizes per subword. Which tokenizer produces a shorter sequence on the same text?
ACM AI Projects Week 3 Kahoot

Quiz
•
Computers
•
University
•
Hard
William Zhou
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Tokenizer A
Tokenizer B
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Vector A: [1, 2, 5]
Vector B: [0, 2, 1]
What's the dot product between vector A and vector B?
Reminder: A dot product is the sum of the products of each position: a1b1 + a2b2 + a3b3
7
4
5
9
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
In standard sinusoidal positional embeddings, how do we integrate the positional embeddings with the token (semantic) embeddings?
Addition
Dot Product
Concatenation
Subtraction
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Tensor X has shape [32, 16, 8, 4].
What's the shape of X.permute(1, 2, 0, 3)?
[32, 4, 8, 16]
[16, 32, 4, 8]
[16, 8, 32, 4]
[4, 8, 16, 32]
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the following code:
X = torch.ones((6, 4, 1))
X = X.squeeze()
X = X.unsqueeze(0)
What's the final shape of X?
Recall that unsqueeze(dim) adds a new dimension of size 1 at shape index dim. tensor.squeeze() removes dimensions of size 1.
(1, 6, 4)
(1, 4, 6)
(6, 4, 1)
(4, 6, 1)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bonus Question:
What's the standard shape we pass into a transformer?
[batch_size, model_dim, seq_len]
[model_dim, seq_len, batch_size]
[batch_size, seq_len, model_dim]
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What's the result of this operation?
torch.zeros((3)).dot(torch.ones((3)))?
[1, 1, 1]
[0, 0, 0]
0
[1, 2, 3]
1
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Intro to Deep Learning

Quiz
•
University
10 questions
DP-100 day 3

Quiz
•
University - Professi...
6 questions
Intro to ML: Neural Networks Lecture 2 Part 1

Quiz
•
University
6 questions
Intro to ML: Neural Networks Lecture 2 Part 2

Quiz
•
University
12 questions
البرمجة بلغة فيجوال بيسك

Quiz
•
University
15 questions
Cabeamento Estruturado 2

Quiz
•
University
15 questions
Round 1 (Tech Utsav)

Quiz
•
University
10 questions
Gradient Descent Method

Quiz
•
University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade