Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

[ 1 6 ] METRICS = BinaryAccuracy ( name = ' 'accuracy' ) , Precision ( name = ' 'precision' ) , Recall ( name

[16]
METRICS =
BinaryAccuracy (name=' 'accuracy'),
Precision(name=' 'precision'),
Recall(name='recall'),
AUC(name=' prc', curve='PR'), # precision-recall curve
(a)(3) Next, you will define the deep learning model with BERT and build the model. View the model summary as output.
Your model should include:
-an input layer
-a BERT preprocessing layer
-a BERT layer (including inputs, BERT encoder, and outputs)
-a hidden layer with 64 nodes and reLu activation function
-a hidden layer with 28 nodes and reLu activation function
-an output layer with 1 node and sigmoid activation function
[]
(b)(3) Setup the optimizer as in the BERT paper. Set the initial learning rate to 5e-5.
[]
(c)(2) Compile and fit your model.
[]
(a)(2) Evaluate the model on both the training and testing sets to evaluate both performance and goodness of fit.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Management Systems Designing And Building Business Applications

Authors: Gerald V. Post

1st Edition

0072898933, 978-0072898934

More Books

Students also viewed these Databases questions