GenAI Basics · Question 14 · Hard
GenAI Basics question 14
A model has a context window of 8,000 tokens, shared by the input and the output. If the prompt uses 6,500 tokens, what is the maximum number of tokens the response can contain?
- 8,000
- 6,500
- 1,500
- 14,500
Answer and explanation
Answer: C. 1,500
Explanation: The prompt and the response must fit in the same 8,000-token window, so the response can be at most 8,000 - 6,500 = 1,500 tokens.
Previous: Which order of steps is correct for answering a user question with a typical… · Next: What is the main pre-training objective of decoder-only (GPT-style) large…
Practise genai basics
Try a fresh set of genai basics questions with an explanation after every answer, free and without signing up: GenAI Basics practice. Or sit a full placement mock test.
More genai basics questions
- A company's product price list changes every day, and its chatbot must answer…
- In a transformer model, what does the self-attention mechanism do?
- Which order of steps is correct for answering a user question with a typical…
- What is the main pre-training objective of decoder-only (GPT-style) large…
- Asking an LLM to perform a task with only an instruction and no examples in…
- What mainly distinguishes generative AI from traditional predictive…
- In the model family name GPT, what does GPT stand for?
- Further training an already pre-trained model on a smaller, task-specific…
- A model that can accept both an image and a text question about that image…
- How do diffusion models, widely used for text-to-image generation, generate an…
More technical & programming practice
Pseudo-code · C Programming · Java · Python · Data Structures · Algorithms · Object-Oriented Programming · DBMS
LogicWiz Exams home · All practice topics · Placement mock tests · Daily 10 challenge