NCA-GENL Question 50
Single answerYou are tasked with building a recommendation system that uses text embeddings to compare user reviews and product descriptions for similarity. Which model would be most appropriate for generating high-quality text embeddings for this task?
- A
A pre-trained transformer-based model like BERT or Sentence-BERT
- B
A generative language model like GPT-3 without fine-tuning
- C
A rule-based natural language processing (NLP) system
- D
A traditional bag-of-words model
Show answer and explanation
Correct answer: A
Explanation
To create text embeddings for a recommendation system, it is essential to use a model that can effectively capture the semantic meaning of text. Pre-trained transformer-based models like BERT or Sentence-BERT are specifically designed for this purpose and are widely used for generating embeddings for similarity comparisons. Other approaches, such as generative models, rule-based systems, or bag-of-words, are not as effective or suitable for this task.
- A. Correct.
Pre-trained transformer-based models like BERT or Sentence-BERT are specifically designed to generate high-quality text embeddings that capture semantic meaning, making them ideal for tasks like text similarity in a recommendation system.
- B. Incorrect.
Generative language models like GPT-3 are excellent for text generation tasks but are not optimized for generating embeddings that capture semantic similarity without significant fine-tuning.
- C. Incorrect.
Rule-based NLP systems rely on handcrafted rules and are not suitable for generating meaningful text embeddings, especially for complex semantic comparisons.
- D. Incorrect.
Traditional bag-of-words models only capture word frequency and lack semantic understanding, making them inadequate for tasks requiring nuanced text embeddings.