Fix error when `bert_model` param is path or url.
Error occurs when `bert_model` param is path or url. Therefore, if it is path, specify the last path to prevent error.
Ok, looks good to me, thanks @likejazz 