Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
AWS Certified AI Practitioner · AWS
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
D. BERT-based models: BERT (Bidirectional Encoder Representations from Transformers) is a pre-trained language model that has been fine-tuned for various natural language processing tasks, including text completion. BERT-based models are particularly effective at predicting missing words or filling in gaps in text because they can understand context in both directions (left and right of the missing word). This makes them ideal for suggesting potential words to fill in missing text.
**Answer: D. BERT-based models** BERT (Bidirectional Encoder Representations from Transformers) uses a **masked language modeling** approach. It learns how to predict missing or “masked” words in a sentence based on the surrounding context. This makes a BERT-based model ideal for suggesting potential words to fill in missing text.
BERT (Bidirectional Encoder Representations from Transformers) is a language model designed to understand context in text by considering both the left and right sides of a word. BERT-based models are well-suited for filling in missing words in sentences due to their ability to predict masked words in a given text. This makes them ideal for tasks that require filling in missing information within text data.