{"id":606,"date":"2023-01-14T11:10:54","date_gmt":"2023-01-14T11:10:54","guid":{"rendered":"https:\/\/exampracticetests.com\/aws\/Machine_Learning-Specialty_MLS-C01\/aws-certified-machine-learning-specialty-mls-c01-question207\/"},"modified":"2023-01-14T11:10:54","modified_gmt":"2023-01-14T11:10:54","slug":"aws-certified-machine-learning-specialty-mls-c01-question207","status":"publish","type":"post","link":"https:\/\/exampracticetests.com\/aws\/Machine_Learning-Specialty_MLS-C01\/aws-certified-machine-learning-specialty-mls-c01-question207\/","title":{"rendered":"AWS Certified Machine Learning &#8211; Specialty MLS-C01 &#8211; Question207"},"content":{"rendered":"<div class=\"question\">A company is building an application that can predict spam email messages based on email text. The company can generate a few thousand human-labeled datasets that contain a list of email messages and a label of &quot;spam&quot; or &quot;not spam&quot; for each email message. A machine learning (ML) specialist wants to use transfer learning with a Bidirectional Encoder Representations from Transformers (BERT) model that is trained on English Wikipedia text data.<br \/>\nWhat should the ML specialist do to initialize the model to fine-tune the model with the custom data?<br \/><strong><br \/>A.<\/strong> Initialize the model with pretrained weights in all layers except the last fully connected layer.<br \/><strong>B.<\/strong> Initialize the model with pretrained weights in all layers. Stack a classifier on top of the first output position. Train the classifier with the labeled data.<br \/><strong>C.<\/strong> Initialize the model with random weights in all layers. Replace the last fully connected layer with a classifier. Train the classifier with the labeled data.<br \/><strong>D.<\/strong> Initialize the model with pretrained weights in all layers. Replace the last fully connected layer with a classifier. Train the classifier with the labeled data.<\/div>\n<p><\/p>\n<style> .hidden-div{ display:none } <\/style>\n<p>\t\t\t\t\t\t\t<button onclick=\"getElementById('hidden-div').style.display = 'block'\"> Show Answer <\/button> <button onclick=\"getElementById('hidden-div').style.display = 'none'\">Hide Answer<\/button><\/p>\n<div class=\"hidden-div\" id=\"hidden-div\"><span style=\"\"><\/p>\n<div class=\"answer\">Correct Answer: <strong>D<\/strong><\/div>\n<p><\/strong><\/span> <\/div>\n","protected":false},"excerpt":{"rendered":"<p>A company is building an application that can predict spam email messages based on email text. The company can generate a few thousand human-labeled datasets that contain a list of email messages and a label of &quot;spam&quot; or &quot;not spam&quot; for each email message. A machine learning (ML) specialist wants to use transfer learning with [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[3,216],"class_list":["post-606","post","type-post","status-publish","format-standard","hentry","category-aws-certified-machine-learning-specialty-mls-c01","tag-aws-certified-machine-learning-specialty-mls-c01","tag-question-207"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/exampracticetests.com\/aws\/Machine_Learning-Specialty_MLS-C01\/wp-json\/wp\/v2\/posts\/606","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/exampracticetests.com\/aws\/Machine_Learning-Specialty_MLS-C01\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/exampracticetests.com\/aws\/Machine_Learning-Specialty_MLS-C01\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/exampracticetests.com\/aws\/Machine_Learning-Specialty_MLS-C01\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/exampracticetests.com\/aws\/Machine_Learning-Specialty_MLS-C01\/wp-json\/wp\/v2\/comments?post=606"}],"version-history":[{"count":0,"href":"https:\/\/exampracticetests.com\/aws\/Machine_Learning-Specialty_MLS-C01\/wp-json\/wp\/v2\/posts\/606\/revisions"}],"wp:attachment":[{"href":"https:\/\/exampracticetests.com\/aws\/Machine_Learning-Specialty_MLS-C01\/wp-json\/wp\/v2\/media?parent=606"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/exampracticetests.com\/aws\/Machine_Learning-Specialty_MLS-C01\/wp-json\/wp\/v2\/categories?post=606"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/exampracticetests.com\/aws\/Machine_Learning-Specialty_MLS-C01\/wp-json\/wp\/v2\/tags?post=606"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}