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

EasyNLP

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

tf-idfnlpbasicsbasic
Practice in bot
EasyNLP

Explain how the Word2Vec method works and what is the difference between CBOW and Skip-gram.

word2veccbowskip-gram
Practice in bot
EasyNLP

What is the main idea behind the BERT model and how does it differ from previous models?

bertnlpbasics
Practice in bot
MediumNLP

Explain what self-attention is and how it differs from cross-attention.

self-attentioncross-attentiontransformers
Practice in bot
MediumNLP

When should GloVe be used instead of Word2Vec?

gloveword2vecembedding
Practice in bot
MediumNLP

Compare temperature sampling and top-k sampling. In what scenarios would each be preferable?

samplingnlpgeneration
Practice in bot
MediumNLP

What is beam search, and how does it differ from greedy approach?

greedysearchseq2seqbeam search
Practice in bot
HardNLP

Explain how BERT's pre-training works, including MLM and NSP.

bertpre-trainingmlm
Practice in bot
HardNLP

When and why should fine-tuning be used for transformer models?

fine-tuningtransformersnlp
Practice in bot
HardNLP

What is the role of RLHF (Reinforcement Learning from Human Feedback) in training language models?

rlhfnlptraining
Practice in bot
EasyNLP

Explain the difference between CBOW and Skip-gram in the context of word2vec.

cbowword2vecskip-gram
Practice in bot
MediumNLP

When and why is it preferable to use GloVe over word2vec?

gloveword2vectrade-offs
Practice in bot
MediumNLP

How does the self-attention mechanism work in transformers?

self-attentionmechanismtransformer
Practice in bot
HardNLP

Explain how BERT works and how the next sentence prediction (NSP) is implemented.

bertnspadvanced
Practice in bot
HardNLP

Compare and contrast the tokenization methods BPE and WordPiece.

tokenizationbpewordpiece
Practice in bot
MediumNLP

Why are contextual embeddings used in ELMo and how do they differ from static embeddings?

elmoembeddingscontextual
Practice in bot
HardNLP

What is RLHF and how is it applicable in modern NLP models?

rlhfnlpadvanced
Practice in bot
MediumNLP

What are the main principles of how the T5 model works and what makes it unique?

t5transformerunique
Practice in bot
EasyNLP

Explain what BERT is and what it is used for in natural language processing tasks.

bertnlp
Practice in bot
EasyNLP

What is word2vec and how does the Skip-gram method work?

word2vecnlp
Practice in bot

Prepare for your next interview with Vibe Interview.

Download Vibe Interview
NLP interview questions | Vibe Interview