Question Bank

NLP interview questions

Text classification and document retrieval call for different choices. Use these questions to review text representations, language-model training and evaluation. Distinguish properties of the model from the data and the way it is used.

1635
questions
16
categories
50
companies

Showing 20 of 76 questions

MediumNLP

Compare the tokenization methods BPE, WordPiece, and SentencePiece. What are their main differences?

tokenizationnlp
Practice in bot
MediumNLP

Why is positional encoding important in transformers?

transformerpositional encoding
Practice in bot
MediumNLP

Explain how the self-attention mechanism works in transformers and how it differs from cross-attention.

self-attentioncross-attentiontransformer
Practice in bot
HardNLP

What are the advantages and disadvantages of using GPT compared to BERT?

gptbertnlp
Practice in bot
HardNLP

When should the RAG (Retrieval-Augmented Generation) approach be used in text processing tasks?

ragnlp
Practice in bot
HardNLP

How does Reinforcement Learning from Human Feedback (RLHF) work and where can it be useful?

rlhfnlp
Practice in bot
MediumNLP

What is LoRA and how does it help in training large language models?

loranlp
Practice in bot
EasyNLP

What is TF-IDF and how does it work?

tf-idfinformation_retrieval
Practice in bot
EasyNLP

Explain how the context-dependent word vector representation method Word2Vec works.

word2vecword_embeddings
Practice in bot
MediumNLP

What is BERT and how do its Masked Language Modeling (MLM) and Next Sentence Prediction (NSP) mechanisms affect its performance?

berttransformers
Practice in bot
MediumNLP

Compare the tokenization approaches of BPE and WordPiece. What are their main differences?

tokenizationbpewordpiece
Practice in bot
MediumNLP

How does the attention mechanism work in transformers, and what is the difference between self-attention and cross-attention?

attentiontransformers
Practice in bot
HardNLP

When and why should one use the BM25 method over TF-IDF in search tasks?

bm25information_retrieval
Practice in bot
MediumNLP

What is FastText and what advantages does it offer compared to other word embedding models?

fasttextword_embeddings
Practice in bot
HardNLP

How do text generation methods like temperature sampling and top-k sampling work? When should each be used?

text_generationsampling
Practice in bot
MediumNLP

What is the role of positional encoding in transformers, and what are its variants?

positional_encodingtransformers
Practice in bot
HardNLP

Explain how ELMo works and how it differs from other word embedding models.

elmoword_embeddings
Practice in bot
EasyNLP

What is TF-IDF and how is it used in text processing?

tf-idftext-processing
Practice in bot
EasyNLP

What is NER and what is it used for?

nernamed-entity-recognition
Practice in bot
MediumNLP

Compare BM25 and TF-IDF. In which cases is it better to use each of them?

bm25tf-idfinformation-retrieval
Practice in bot

Prepare for your next interview with Vibe Interview.

Download Vibe Interview
NLP interview questions — page 2 | Vibe Interview