Skip to content
ml-recall

#causal-lm

2 questions from Language Modeling

Timed test

2 questions · 2 min · score and explanations at the end

Take a test
Q 1 / 2Score 0 / 0

Question 1: Single choice

mediumAI-checkedLanguage Modeling

A causal language model has embed_tokens = Embedding(4096, 256), 8 decoder layers and lm_head = Linear(256, 4096). You run out = model(input_ids) on one sequence of 17 tokens. What is out[0] (the first output of the ...ForCausalLM model)?

Choose one option