Louis-udm / NER-BERT-CRF

MIT License
222 stars 53 forks source link

Running Error #9

Open malduwais opened 2 years ago

malduwais commented 2 years ago

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!

imanekhaouja commented 2 years ago

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.