ACM AI Projects Week 3 Kahoot
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
William Zhou
Used 1+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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?
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
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Clustering_Pertemuan2_Quiz_Ceria
Quiz
•
University
10 questions
Quiz 4
Quiz
•
University
15 questions
SIMKOM
Quiz
•
12th Grade - Professi...
10 questions
Predictive analytics
Quiz
•
University
10 questions
Fondos CSS3
Quiz
•
University
10 questions
Machine Learning (Introduction)
Quiz
•
University
10 questions
Planning and Implementation of Information Security
Quiz
•
University
15 questions
Soal Informatika Kelas V
Quiz
•
5th Grade - University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
9 questions
Principles of the United States Constitution
Interactive video
•
University
18 questions
Realidades 2 2A reflexivos
Quiz
•
7th Grade - University
10 questions
Dichotomous Key
Quiz
•
KG - University
25 questions
Integer Operations
Quiz
•
KG - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University
20 questions
SER vs ESTAR
Quiz
•
7th Grade - University
