NLP Interview Questions
120 questions on text processing, embeddings, sequence labeling, machine translation. The first 20 are free, no account needed.
Practice free βWhat this topic covers
Natural language processing interviews cover the methods that came before large language models as well as the ones that power them. Teams still rely on classical techniques for search, classification and information extraction, and interviewers use them to check that you understand what modern models improved on. This topic spans text preprocessing, embeddings, sequence labeling and language modeling.
Preprocessing questions ask about tokenization, normalization, stemming and lemmatization, stop words, and how subword tokenizers handle rare and unseen words. Representation questions start with bag-of-words and TF-IDF, then move to dense embeddings: how word2vec and GloVe are trained, what the resulting geometry captures, and why static embeddings struggle with words that have several meanings. Contextual embeddings from models such as BERT close that gap, and you should be able to say how.
Sequence labeling questions cover part-of-speech tagging and named entity recognition, the BIO tagging scheme, and models from hidden Markov models and conditional random fields to fine-tuned transformers. Language modeling questions cover n-gram models and smoothing, perplexity, and neural language models. Sequence-to-sequence questions cover machine translation and summarization, including attention, beam search and exposure bias.
Evaluation is a recurring theme. Expect to compare BLEU, ROUGE and embedding-based metrics, to explain what each misses, and to describe how you would evaluate a text classifier with imbalanced labels.
How to approach NLP questions
A useful habit is to answer along a timeline. For a question about text classification, describe the TF-IDF plus linear model baseline, then what embeddings add, then what a fine-tuned transformer adds, and finish with which one you would ship given the data size and latency budget. This shows range and judgement in a single answer.
Interviewers also like data questions. How would you handle multilingual text, noisy user input, very long documents or a label set that changes every month? There is rarely one correct answer, so explain the tradeoffs and say what you would measure first.
The sample questions below come with full explanations and are free to read. If you are preparing for a role that is mostly about large language models, pair this topic with the LLMs and Transformers page, which goes deeper on attention, fine-tuning and retrieval.
Sample NLP interview questions
- Compare Word2Vec, GloVe, and contextual embeddings (BERT). When would you use each?π‘ intermediate Β· Word Embeddings
- What are the key text preprocessing steps for NLP?π’ beginner Β· Text Preprocessing
- What is perplexity and how is it used to evaluate language models?π‘ intermediate Β· Language Modeling
- What is tokenization and why does it matter?π’ beginner Β· NLP
- Compare stemming and lemmatization.π’ beginner Β· NLP
- What is named entity recognition?π’ beginner Β· NLP
- How would you evaluate an NER model?π’ beginner Β· NLP
- What is part-of-speech tagging?π’ beginner Β· NLP
- Explain dependency parsing.π’ beginner Β· NLP
- What is semantic similarity?π’ beginner Β· NLP
- What are hard negatives in retrieval?π’ beginner Β· NLP
- What is query expansion?π’ beginner Β· NLP
- What is text classification?π’ beginner Β· NLP
- What is intent detection?π’ beginner Β· NLP
- What is slot filling?π’ beginner Β· NLP