DecodeAI
← Question Bank

Deep Learning & Generative AI

Generative AI & Large Language Models (LLMs) Interview Questions

Interview questions on Generative AI & Large Language Models (LLMs) Interview Questions.

12 questions

Decoding Strategies & Prompt Engineering

Q1. How does beam search improve text generation compared to greedy decoding?

Sign in to bookmark

Decoding Strategies & Prompt Engineering

Q2. What role does temperature play in controlling LLM output?

Sign in to bookmark

Decoding Strategies & Prompt Engineering

Q3. How do top-k and top-p sampling differ in text generation?

Sign in to bookmark

Decoding Strategies & Prompt Engineering

Q4. Explain the decoding strategies used in LLMs?

Sign in to bookmark

Decoding Strategies & Prompt Engineering

Q5. Can we use generative models for classification tasks? If so, how?

Sign in to bookmark

Decoding Strategies & Prompt Engineering

Q6. Why is prompt engineering crucial for LLM performance?

Sign in to bookmark

Decoding Strategies & Prompt Engineering

Q7. What are some good prompting techniques one should know?

Sign in to bookmark

Decoding Strategies & Prompt Engineering

Q8. What is Chain-of-Thought (CoT) prompting, and how does it aid reasoning?

Sign in to bookmark

Decoding Strategies & Prompt Engineering

Q9. What is self-consistency in prompting, and how does it help improve the quality of generative model outputs? What are its trade-offs?

Sign in to bookmark

Decoding Strategies & Prompt Engineering

Q10. What is zero-shot learning, and how do LLMs implement it?

Sign in to bookmark

Decoding Strategies & Prompt Engineering

Q11. What is few-shot learning, and what are its benefits?

Sign in to bookmark

Decoding Strategies & Prompt Engineering

Q12. How can we control the output of a generative model?

Sign in to bookmark