listing smoot hing he plot def smooth_curve(pointsfactor= )smoothed_points [for point in pointsif smoothed_pointsprevious smoothed_points[- smoothed_points append(previous factor point ( factor)elsesmoothed_points append(pointreturn smoothed_points plt plot(epochssmooth_curve(acc)'bo'label='smoothed training acc'plt plot(epochssmooth_curve(val_acc)' 'label='smoothed validation acc'plt title('training and validation accuracy'plt legend(plt figure(plt plot(epochssmooth_curve(loss)'bo'label='smoothed training loss'plt plot(epochssmooth_curve(val_loss)' 'label='smoothed validation loss'plt title('training and validation loss'plt legend(plt show(figure smoot hed curves for raining and validation accuracy for fine-tuning licensed to