Question: Use the pretrained BERT based sentiment classification. a ) Measure train speed when running in CPU and GPU. Measure how long does it take to

Use the pretrained BERT based sentiment classification.
a) Measure train speed when running in CPU and GPU. Measure how long does it take to train one iteration?
b) Change the classification head by using a linear transformation that transforms features to 200, use RELU, use a linear transformation that transforms features to num_labels, use Softmax, run training for 5 epochs with two different learning rates and measure the accuracy for each.

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!