Question: [ 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.
 [16] METRICS = BinaryAccuracy (name=' 'accuracy'), Precision(name=' 'precision'), Recall(name='recall'), AUC(name=' prc',

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!