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.

23 questions

Tokenization & Embeddings

Q1. What does tokenization entail, and why is it critical for LLMs?

Sign in to bookmark

Tokenization & Embeddings

Q2. What are the different parameters of a tokenizer?

Sign in to bookmark

Tokenization & Embeddings

Q3. What are the key considerations in designing an effective tokenization strategy for language models?

Sign in to bookmark

Tokenization & Embeddings

Q4. Can you explain the Bag-of-Words (BoW) model and discuss its limitations?

Sign in to bookmark

Tokenization & Embeddings

Q5. What are word2vec models and how are they trained?

Sign in to bookmark

Tokenization & Embeddings

Q6. What are the main limitations of the word2vec model?

Sign in to bookmark

Tokenization & Embeddings

Q7. What are different types of embeddings?

Sign in to bookmark

Tokenization & Embeddings

Q8. Which tokenizer is used in the BERT model, and what are the special tokens used in the BERT Base Uncased model?

Sign in to bookmark

Tokenization & Embeddings

Q9. What are the embeddings, and how are they initialized in LLMs?

Sign in to bookmark

Tokenization & Embeddings

Q10. How do LLMs manage out-of-vocabulary (OOV) words?

Sign in to bookmark

Tokenization & Embeddings

Q11. What is Byte‑Pair Encoding (BPE) and how does it work?

Sign in to bookmark

Tokenization & Embeddings

Q12. Illustrate with a simple example, how does BPE work?

Sign in to bookmark

Tokenization & Embeddings

Q13. Which tokenizer is used in the GPT-3/4 model, and what are the special tokens used in the GPT-3/4 model?

Sign in to bookmark

Tokenization & Embeddings

Q14. What are positional encodings, and why are they used?

Sign in to bookmark

Tokenization & Embeddings

Q15. What are different types of positional embeddings?

Sign in to bookmark

Tokenization & Embeddings

Q16. How does fine-tuning embedding models improve dense retrieval?

Sign in to bookmark

Tokenization & Embeddings

Q17. How does Adaptive Softmax optimize LLMs?

Sign in to bookmark

Tokenization & Embeddings

Q19. What makes TSDAE a suitable method for learning sentence embeddings in a completely unsupervised setting, and how does it differ from masked language modeling?

Sign in to bookmark

Tokenization & Embeddings

Q20. What is cosine-similarity loss, and how is it used to train embedding models?

Sign in to bookmark

Tokenization & Embeddings

Q21. Suppose you have a limited labeled dataset and want to train a sentence embedding model. How would you approach this effectively without compromising performance?

Sign in to bookmark

Tokenization & Embeddings

Q22. What is a few-shot classification, and why is it useful?

Sign in to bookmark

Tokenization & Embeddings

Q23. What are the three main steps of the SetFit framework for few-shot text classification?

Sign in to bookmark