Review 01-2
CSE 10124
Submitted Questions
9.) Consider the following code that builds a word-level graph. Explain what the function does and what the output graph would look like for the input ["the", "cat", "sat"].
An Aside: Markov Models
irishQwen
Qwen3 (0.6B)
Linear output layer
Final RMSNorm
Feed forward
RMSNorm 2
Masked grouped-query
attention
RMSNorm 1
×28
Token embedding layer
Tokenized text
Sample input text
QK-Norm
RoPE
Linear layer
⊙
SiLU activation
Linear
layer
Linear layer
Vocabulary size of 151k
Hidden layer dimension of 3,072
16 query heads, 8 KV groups
Embedding dimension of 1,024
Supported context length of 32k tokens
+
+
irishQwen
Qwen3 (0.6B)
×28
Sample input text
⊙
Vocabulary size of 151k
Hidden layer dimension of 3,072
16 query heads, 8 KV groups
Embedding dimension of 1,024
Supported context length of 32k tokens
+
+