NER-BERT-CRF icon indicating copy to clipboard operation
NER-BERT-CRF copied to clipboard

Running Error

Open malduwais opened this issue 3 years ago • 1 comments

Hello,

I am trying to run the code and got this error! can you help please

Better speed can be achieved with apex installed from https://www.github.com/nvidia/apex. Python version 3.7.12 (default, Jan 15 2022, 18:48:18) [GCC 7.5.0] PyTorch version 1.10.0+cu111 Traceback (most recent call last): File "NER_BERT_CRF.py", line 65, in set_work_dir() File "NER_BERT_CRF.py", line 50, in set_work_dir raise Exception('Set work path error!') Exception: Set work path error!

malduwais avatar Feb 20 '22 10:02 malduwais

You should set the path where you have the training dataset. I am running the code in colab, so my path is '\content' whrere I uploaded files in the runtime.

imanekhaouja avatar Mar 30 '22 14:03 imanekhaouja