In NLP, a bigram is:
A
A sequence of two consecutive tokens
Correct answer
B
A sentence containing two clauses
C
A word with exactly two syllables
D
A pair of synonyms in a thesaurus
Correct answer
A. A sequence of two consecutive tokens
11 views
⚔️
Challenge a friend on Natural Language Processing (NLP)
Same MCQs, timed, live leaderboard. Send the link on WhatsApp – no sign-up needed.
Create challenge
Explanation
N-grams are runs of n tokens. For 'machine learning model', the bigrams are 'machine learning' and 'learning model'. Bigrams capture some word order that bag-of-words loses.
Reference
Asked in: Data Science Interviews, GATE DA
Doubts & discussionNot sure why the answer is A? Ask here and get an explanation.
Ask a doubt about this MCQ
‹ Previous MCQ Which model uses masked language modelling? Next MCQ › When evaluating a language model, a lower perplexity indicates that the model: